Do not understand Belligerency and Alignment coding
Posted: Sun Oct 04, 2026 4:15 pm
So I have set YUG at 100% Allied but not belligerent with any Axis nation (in the editor).
I have the following two events that should be firing on the first turn and should be essentially having Germany DoW Yugoslavia. I would think it would allow GER to attack YUG (or vice versa, on the Allied turn). And yet, that does not happen.
Under Belligerence.txt:
{
#NAME= Germany: DOW Yugoslavia
#POPUP= Yugoslavia is now an active Allied ally!
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 45
#BELLIGERENCE_ID= 120
#DATE= 1939/09/01
#FAILSAFE_DATE= 1948/01/01
#VARIABLE_CONDITION= 120 [2] [100] [0]
#VARIABLE_CONDITION= 45 [1] [100] [0]
#BELLIGERENCE_CONDITION= [112,45]
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
Under War Entry.txt:
{
#NAME= Yugoslavia is 100% Allied, but not belligerent
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 120
#TRIGGER= 100
#ALIGNMENT= 2
#DATE= 1939/09/01
#VARIABLE_CONDITION= 120 [2] [100] [0]
}
It's interesting, because I set Italy to 100% Axis in the editor, but not belligerent with any Allied major. And sure enough, on the first Axis turn Italy declared war on France and both nations could attack one another.
So I have zero idea why this (belligerency.txt scripting) would work for them, but not for YUG/GER.
The only restriction in Belligerence.txt is that the Country_ID be that of a major (and it is - Germany).
Theoretically this doesn't make sense to me.
EDIT: I have run the game through 3 full turns and still no change in capacity to attack either nation.
I have the following two events that should be firing on the first turn and should be essentially having Germany DoW Yugoslavia. I would think it would allow GER to attack YUG (or vice versa, on the Allied turn). And yet, that does not happen.
Under Belligerence.txt:
{
#NAME= Germany: DOW Yugoslavia
#POPUP= Yugoslavia is now an active Allied ally!
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 45
#BELLIGERENCE_ID= 120
#DATE= 1939/09/01
#FAILSAFE_DATE= 1948/01/01
#VARIABLE_CONDITION= 120 [2] [100] [0]
#VARIABLE_CONDITION= 45 [1] [100] [0]
#BELLIGERENCE_CONDITION= [112,45]
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
Under War Entry.txt:
{
#NAME= Yugoslavia is 100% Allied, but not belligerent
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 120
#TRIGGER= 100
#ALIGNMENT= 2
#DATE= 1939/09/01
#VARIABLE_CONDITION= 120 [2] [100] [0]
}
It's interesting, because I set Italy to 100% Axis in the editor, but not belligerent with any Allied major. And sure enough, on the first Axis turn Italy declared war on France and both nations could attack one another.
So I have zero idea why this (belligerency.txt scripting) would work for them, but not for YUG/GER.
The only restriction in Belligerence.txt is that the Country_ID be that of a major (and it is - Germany).
Theoretically this doesn't make sense to me.
EDIT: I have run the game through 3 full turns and still no change in capacity to attack either nation.