Okay, so I understand giving an offmap province to a country would allow it to exist without a province, but how would I "kill" the country? Secedeprovince to REB?
Also, is there a way to "independence" a country from an off-map province?
What I'm looking for is:
-CHC secede all units/land to CHI on overrun
-CHC recreated offmap so partisan events keyed to CHC remain
-CHI secede all units/land to JAP on overrun
-CHI recreated offmap as GiE
Also, if anyone could help me in getting the below events to work as I intended, that would be awesome. I want CHC to be released with off-map province 2760 (modified revolt.txt to accept it as an extra and removed minimum)
Also, is there a way to "independence" a country from an off-map province?
What I'm looking for is:
-CHC secede all units/land to CHI on overrun
-CHC recreated offmap so partisan events keyed to CHC remain
-CHI secede all units/land to JAP on overrun
-CHI recreated offmap as GiE
Also, if anyone could help me in getting the below events to work as I intended, that would be awesome. I want CHC to be released with off-map province 2760 (modified revolt.txt to accept it as an extra and removed minimum)
Code:
event = {
id = 4649
random = no
country = CHI
trigger = {
war = { country = CHI country = JAP }
lost_national = { country = CHC value = 60 }
war = { country = CHC country = JAP }
}
name = "Communist China Falls"
desc = "Faced with the prospect of being overrun, the Red Army has ceded control over their lands while going underground to continue the resistance."
picture = "ccip_mukden"
style = 2
date = { day = 0 month = january year = 1936 }
offset = 3
deathdate = { day = 30 month = december year = 1954 }
action = {
name = "OK"
ai_chance = 100
command = { type = inherit which = CHC value = 1 }
command = { type = trigger which = 4650 }
}
}
event = {
id = 4650
random = no
country = SOV
# Triggered
name = "Communist China Falls"
desc = "Japan has overrun our comrades in China. Communist leaders have fled into the USSR and formed a Government in Exile."
picture = "ccip_ccpsov"
style = 2
action = {
name = "This shall not go unpunished!"
command = { type = relation which = JAP value = -50 }
command = { type = secedeprovince which = SOV value = 2760 when = 2 }
command = { type = trigger which = 4651 }
}
}
event = {
id = 4651
random = no
country = SOV
# Triggered
name = "Communist GiE Formed"
desc = "Communist leaders in the resistance have successfully fled to the USSR and are now directing resistance cells behind enemy lines"
picture = "ccip_peace"
style = 2
action = {
name = "Excellent"
command = { type = independence which = CHC }
}
}
Last edited: