• 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.

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
well, i have 2 question right now.
one is about this event:

Code:
	trigger = {
		NOT = {
			OR = {
				event = 9001
				exists = UKR
				}
			}
				
		OR = {
			control = { province = 775 data = GER } # Germany controls Kiev
			control = { province = 775 data = HUN } # Hungary controls Kiev
			control = { province = 775 data = ROM } # Romania controls Kiev
		}
		
		war = { country = GER country = SOV }

	}
this code is the trigger of an event that i made.
like you can see, it will not trigger if event 9001 has already trigger (that is what I understand that line does :rolleyes: ) and also if Ukraine exists.
Then starts an OR to know if Germany OR Hungary OR Romania controls Kiev.
Then if there is war between Germany and the Soviets.
Well, i want the event to:
Trigger if Ukraine don't exists and the event has not happened AND if Germany or Hungary or Romania owns Kiev AND there is a war between Germany and the Soviets.
So i think that the TRIGGER condition is good right?
but if i want to add that if Germany own Kiev or Hungary own kiev AND it is allied with Germay or Romania owns Kiev AND it is allied with Germany, how do I do that?
i thought this:

Code:
	trigger = {
		NOT = {
			OR = {
				event = 9001
				exists = UKR
				}
			}
				
		OR = {
			control = { province = 775 data = GER } # Germany controls Kiev
			
			AND = {
				control = { province = 775 data = HUN } # Hungary controls Kiev
				alliance = { country = GER country = HUN } # Hungary allied with Germany
				}
			AND = {
				control = { province = 775 data = ROM } # Romania controls Kiev
				alliance = { country = GER country = ROM } # Romania allied with Germany
				}
		}
		
		war = { country = GER country = SOV }

	}
what do you think?


another question, how do you create a division for a country through an event?
i do not have a clue.

Thanks. :D
 

Ktarn

Ideological Crusader
84 Badges
Apr 15, 2001
1.116
0
  • Europa Universalis III: Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris: Nemesis
  • Europa Universalis IV
  • 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
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Originally posted by DarthMaur
You could simply create three events, one for Germany, Romania and Hungary:)
Probably a good idea, and if you want to use the independence UKR command, be sure to define UKR in revolt.txt. It might be a good idea then to have a further trigger condition that none of those provinces should be SOV controled.
 

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
yes, i already done that (adding ukraine to the revolt.txt, see the "Mod: adding Ukraine to the game" thread)

i thought it was simpler to put the three conditions to an event.

it will be good to add a condition that none of the ukrainian provinces are controlled by the soviets
 

Ktarn

Ideological Crusader
84 Badges
Apr 15, 2001
1.116
0
  • Europa Universalis III: Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris: Nemesis
  • Europa Universalis IV
  • 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
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
UKR gets access through GER.

Note that masters always can pass through their puppets territory, cant remember how it is the other way.

Btw. just ignore all the naysayers in the other thread, saying that these events shouldnt be made.
Keep it up :)
 

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
Originally posted by Ktarn
UKR gets access through GER.

Note that masters always can pass through their puppets territory, cant remember how it is the other way.

Btw. just ignore all the naysayers in the other thread, saying that these events shouldnt be made.
Keep it up :)
ok, thanks :D
 

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
this :

country = GER
...
command = { type = make_puppet which = UKR }
...

this is supposed to make UKR a puppet of Germany, right?
well, it makes Ukraine a puppet of Ukraine.
and if i change

country = UKR
...
command = { type = make_puppet which = GER }
...

it makes Germany a puppet of Germany

so it is not working right, i am making something wrong, can anyone explain me?

thanks
 

Ktarn

Ideological Crusader
84 Badges
Apr 15, 2001
1.116
0
  • Europa Universalis III: Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris: Nemesis
  • Europa Universalis IV
  • 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
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
The first example will make UKR a GER puppet. The second example will make GER a UKR puppet...
Here is an example of a puppet making event from Kmod:
Code:
event = {
	id = 9915
	random = no
	country = JAP

		#triggered by SIA 9914

	name = "Siam joins the co-prosperity sphere"
	desc = "Bowing to Japanese pressure Siam joined the war in 1942"
	style = 0

	action_a = {
		name = "Excellent"
		command = { type = make_puppet  which = SIA }
	}
}
This event makes SIA a JAP puppet.
 

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
Originally posted by Ktarn
The first example will make UKR a GER puppet. The second example will make GER a UKR puppet...
Here is an example of a puppet making event from Kmod:
Code:
event = {
	id = 9915
	random = no
	country = JAP

		#triggered by SIA 9914

	name = "Siam joins the co-prosperity sphere"
	desc = "Bowing to Japanese pressure Siam joined the war in 1942"
	style = 0

	action_a = {
		name = "Excellent"
		command = { type = make_puppet  which = SIA }
	}
}
This event makes SIA a JAP puppet.

this is the code of the event:
Code:
event = {
	id = 9002
	random = no
	country = GER
	trigger = {
		# Creation of ukraine 9007
		}
	name = "Ukraine have agree to form a government loyal to Germany"
	desc = "The people of Ukraine is full of joy"
	style = 0

	action_a = {
		name = "Ukraine have declared their independence!!!" # Ok
		command = { type = make_puppet which = UKR }
		command = { type = access which = UKR }
		command = { type = trigger which = 9003 }# UKR
	}
}
and it makes Ukraine a puppet of Ukraine :eek: :confused:
i do not get why, i will keep testing it.... :(
it gives access, but not doesn't make it a puppet. :(
 

Ktarn

Ideological Crusader
84 Badges
Apr 15, 2001
1.116
0
  • Europa Universalis III: Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris: Nemesis
  • Europa Universalis IV
  • 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
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Originally posted by Generalisimo
and it makes Ukraine a puppet of Ukraine :eek: :confused:
i do not get why, i will keep testing it.... :(
it gives access, but not doesn't make it a puppet. :(
hmm...strange. I`m pretty sure i`ve seen this command work properly, I also used it for some other events.
Note that the access command will give UKR access through GER, not sure if thats what you intended. Masters can move units through their puppets.
Are you using HoI 1.02? Can you try the event I posted and see if that works properly? just trigger it from the prompt. If it works try substituting GER for JAP, and UKR for SIA, trigger it and see if it works.
 

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
Originally posted by Ktarn
hmm...strange. I`m pretty sure i`ve seen this command work properly, I also used it for some other events.
Note that the access command will give UKR access through GER, not sure if thats what you intended. Masters can move units through their puppets.
Are you using HoI 1.02? Can you try the event I posted and see if that works properly? just trigger it from the prompt. If it works try substituting GER for JAP, and UKR for SIA, trigger it and see if it works.
yes i am using 1.02

yes, i am trying to give Germany access to Ukraine (through puppet) and Ukraine to Germany through the event.

i will try your event

thanks for your time.

:D
 

Generalisimo

Field Marshal
112 Badges
Jul 22, 2002
11.213
3
www.ageod-forum.com
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Cities in Motion
  • Age of Wonders: Planetfall
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Imperator: Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Pride of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
i have tested this code:

Code:
event = {
	id = 9002
	random = no
	country = GER
	trigger = {
		# Creation of ukraine 9007
		}
	name = "Ukraine have agree to form a government loyal to Germany"
	desc = "The people of Ukraine is full of joy"
	style = 0

	action_a = {
		name = "Ukraine have declared their independence!!!" # Ok
		command = { type = make_puppet which = UKR }
		command = { type = access which = UKR }
		command = { type = trigger which = 9003 }# UKR
	}
}

and:

Code:
event = {
	id = 9915
	random = no
	country = JAP

		#triggered by SIA 9914

	name = "Siam joins the co-prosperity sphere"
	desc = "Bowing to Japanese pressure Siam joined the war in 1942"
	style = 0

	action_a = {
		name = "Excellent"
		command = { type = make_puppet  which = SIA }
	}
}

Well, the problem is that the first event makes Ukraine a puppet of Ukraine, and the second one makes Siam a puppet of Siam. :confused: :(
What is the problem with the command "make_puppet"? have anyone try it?
 
Dec 18, 2002
535
0
Visit site
Originally posted by Generalisimo
i have tested this code:

Code:
event = {
	id = 9002
	random = no
	country = GER
	trigger = {
		# Creation of ukraine 9007
		}
	name = "Ukraine have agree to form a government loyal to Germany"
	desc = "The people of Ukraine is full of joy"
	style = 0

	action_a = {
		name = "Ukraine have declared their independence!!!" # Ok
		command = { type = make_puppet which = UKR }
		command = { type = access which = UKR }
		command = { type = trigger which = 9003 }# UKR
	}
}

and:

Code:
event = {
	id = 9915
	random = no
	country = JAP

		#triggered by SIA 9914

	name = "Siam joins the co-prosperity sphere"
	desc = "Bowing to Japanese pressure Siam joined the war in 1942"
	style = 0

	action_a = {
		name = "Excellent"
		command = { type = make_puppet  which = SIA }
	}
}

Well, the problem is that the first event makes Ukraine a puppet of Ukraine, and the second one makes Siam a puppet of Siam. :confused: :(
What is the problem with the command "make_puppet"? have anyone try it?

Got the same problem with Vichy puppeting Vichy. posted to bug forum...