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

JScott991

General
50 Badges
Feb 16, 2001
2.425
420
  • Magicka
  • Crusader Kings II: Reapers Due
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Hearts of Iron Anthology
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • For the Motherland
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome - Magna Graecia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis III: Collection
  • 500k Club
  • Victoria 2
  • Supreme Ruler 2020
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
Darkest Hour seems to have new event commands that Kaiserreich doesn't take advantage of.

For example, in all the events I've seen fire when Austria and Russia are allied, Russia will leave its alliance with Austria instead of the alliance merging. This happens if Russia joins China against Japan, joins Mitteleuropa, joins the Entente, etc.

I noticed in a text file that this doesn't have to be the case. There is apparently a setting that will cause Russia's alliance to merge with China's, the Entente, Mitteleuropa, etc.

However, I don't quite understand it.

This is the text I found. What does "when" mean in this case:

type = alliance which = [tag/-1] [where = 1/2/3] [when = 0/1/2] # This country enters in an alliance with country = [tag], [-1] for random country,
where = 1 – Axis/ 2 – Allies / 3 – Comintern,
when = 0 (default, pre DH 1.03 behavior) - Leave old alliance before joining the new one.
Notes:
Only puppets will follow into the new alliance.
This setting can create unwanted in-game situations and using it should be avoided!
when = 1 - Bring old allies into the new alliance and merge all wars. Recommended setting
when = 2 - Leave old alliance before joining the new one.
Notes:
Only puppets will follow into the new alliance.
Leaves old alliance wars (white separate peace) together with leaving the old alliance!


Would this syntax work (I think not):

event = {
id = 771006
random = no
country = JAP
style = 2

trigger = {
}

name = "The Russians offer an alliance"
desc = "The Russians have attacked China and are offering to cooperate with us militarily as long as we acknowledge their rights over Chinese Central Asia."

picture = "japaninvasionchi"




action_a = {
ai_chance = 40
name = "We accept, Russia shall be a fine addition to our alliance!"
command = { type = relation which = RUS value = 200 }
command = { type = alliance which = RUS when = 1}
}


action_b = {
ai_chance = 60
name = "No, we cannot trust the Russians!"
command = { type = relation which = RUS value = -200 }

}

}
 
Actually that did work.

All Kaiserreich events, frankly, should receive the WHEN = 1 syntax.