Aye it seems the leave_alliance event command is fubar (not working).
Here's the modified event I created that does the job:
This added to the bottom of germany.txt events:
Code:
event = {
id = 5015
random = no
country = GER
trigger = {
event = 2022
puppet = { country = VIC country = GER }
NOT = ( event = 5015 }
}
name = "Will Vichy Support the Axis?"
desc = "Will Vichy Support the Axis?"
style = 0
date = { day = 1 month = january year = 1936 }
offset = 3
deathdate = { day = 30 month = december year = 1947 }
action_a = {
name = "OK" # Let us see what they decide
command = { type = trigger which = 4004 } # VIC
}
}
That just notifies Germany that Vichy may stay neutral and triggers the Vichy event. (Note the timer offset=3, this will ensure that it happens sometime within 3 days of the original puppeting)
This is added to vichy_france.txt in events:
Code:
event = {
id = 4004
random = no
country = VIC
# triggered by 5015
name = "EVT_4004_NAME"
desc = "EVT_4004_DESC"
style = 0
action_a = {
name = "ACTIONNAME4004B" # Stay mostly Neutral - peace
command = { type = end_puppet }
command = { type = peace which = ENG value = 1 }
command = { type = dissent value = 3 }
}
action_b = {
name = "ACTIONNAME4004A" # Side with the Axis - war
command = { type = dissent value = 6 }
}
}
On the peace event with ENG the value should be set to 1, this will result in an automatic withdrawl from the AXIS by making a seperate peace.
The AI seems to choose option "action_a" about 95% of the time so if you want the state of war for Vichy to be the most common outcome just switch them around.
There is a bug in the game that shows "Is a member of the Axis" when examing the country even after a country has left an alliance. I verified though that this is just a display bug and they are not actualy still part of the Axis.
The only thing that remains is that Germany will still be able to move units thru Vichy (military access) I felt that was appropriate. But you could remove that with a trigger to I imagine if you felt like it.
Let me know if you have any questions or make any interesting changes to this

(oh the event number 4003 I used in the 1st example cant be used as it is used already, so changed it to 4004)
Myros