• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

invertigo2004

Captain
90 Badges
Jan 28, 2005
429
3
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Victoria 2
I've searched event_commands.txt about 4 times now, and don't see anything relevant, but I'm sure I saw something about it somewhere. Is there an event command that will change the leader of an alliance from one country to another? Essentially I'm trying to make the USA leader of the Allies.

Thanx in advance!

InVert
 

Gen. Skobelev

Werewolf therapist
81 Badges
May 9, 2005
3.387
251
  • Victoria: Revolutions
I don't think there's any such command. Perhaps it could be achieved by forcing enough countries to leave the alliance (all those who had tags before USA tag in alliance) so that USA would end up being the first one, then having those countries to rejoin the alliance.
 

invertigo2004

Captain
90 Badges
Jan 28, 2005
429
3
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Victoria 2
Gen. Skobelev said:
I don't think there's any such command. Perhaps it could be achieved by forcing enough countries to leave the alliance (all those who had tags before USA tag in alliance) so that USA would end up being the first one, then having those countries to rejoin the alliance.

that's what i was afraid of :(
 

clanjay1989

Chinese Army 1st Class General
2 Badges
May 15, 2006
407
0
  • Hearts of Iron III
  • 500k Club
invertigo2004 said:
that's what i was afraid of :(

It's doable if you know how to edit a savegame. Find alliance = { and the first tag appears is your alliance leader. Exactly what alliance leader are you trying to change?
 

invertigo2004

Captain
90 Badges
Jan 28, 2005
429
3
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Victoria 2
clanjay1989 said:
It's doable if you know how to edit a savegame. Find alliance = { and the first tag appears is your alliance leader. Exactly what alliance leader are you trying to change?

I'm trying to make the USA leader of the Allies instead of the UK, but I'd like to make the change event based if possible.
 

Gormadoc

Darkest Hour Developer (Semi-Retired)
19 Badges
Sep 1, 2004
3.765
4
  • Hearts of Iron II: Beta
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron II: Armageddon
  • 500k Club
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III Complete
  • Deus Vult
dont know if it would work, but what about making a event where UK leave the allies alliance and then joins the US alliance. then make another events where the rest of the allies enter into the alliance with US as leader.

OK it works, keep your pants on then i will post the events.

EDIT: OK, dead easy to get USA to be leader of alliance. Problem is to get USA to be leader of the Allies alliance, it takes some events.

This works will get you USA as leader of the allies. If no other country has joined the allies and still are alive. Ofcourse then one either has to form the allies again by getting the other countries back into the allies. or make another chain of events where they join again. Tried to get them to join in this event chain but a country cannot leave and then join the same alliance in one event sadly.
Code:
event = { 
	id = 89898989
	random = no
	country = ENG

	trigger = { alliance = { country = ENG country = uSA } }

	date = { day = 1 month = january year = 1936 }
	offset = 1
	deathdate = { day = 29 month = december year = 1999 }

	name = "Screw you guys"
	desc = "Seriously...screw you guys, we're going home"
	
	action_a = {
		name = "ah screw you..home"
		command = { type = leave_alliance }
		command = { type = trigger which = 12121212 } #fra
		command = { type = trigger which = 13131313 } #can
		command = { type = trigger which = 14141414 } #ast
		command = { type = trigger which = 15151515 } #saf
		command = { type = trigger which = 16161616 } #nzl
		}
	}

event = { 
	id = 12121212
	random = no
	country = FRA

	trigger = { alliance = { country = FRA country = uSA } } 

	name = "What the h...."
	desc = "hmm did not se this coming"
	action_a = {
		name = "We have no choice"
		command = { type = leave_alliance }
		}
	}

event = { 
	id = 13131313
	random = no
	country = CAN

	trigger = { alliance = { country = CAN country = uSA } }
	
	name = "What the h...."
	desc = "hmm did not se this coming"

	action_a = {
		name = "We have no choice"
		command = { type = leave_alliance }
		}
	}

event = { 
	id = 14141414
	random = no
	country = AST

	trigger = { alliance = { country = AST country = uSA } }

	name = "What the h...."
	desc = "hmm did not se this coming"
	
	action_a = {
		name = "We have no choice"
		command = { type = leave_alliance }
		}
	}

event = { 
	id = 15151515
	random = no
	country = SAF

	trigger = { alliance = { country = SAF country = uSA } }

	name = "What the h...."
	desc = "hmm did not se this coming"
	
	action_a = {
		name = "We have no choice"
		command = { type = leave_alliance }
		}
	}

event = { 
	id = 16161616
	random = no
	country = NZL

	trigger = { alliance = { country = NZL country = uSA } }

	name = "What the h...."
	desc = "hmm did not se this coming"
	
	action_a = {
		name = "We have no choice"
		command = { type = leave_alliance }
		}
	}
 
Last edited: