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

Limith

Modding for Myself
18 Badges
Apr 7, 2010
3.746
369
  • Darkest Hour
  • Deus Vult
  • East India Company
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Heir to the Throne
  • Rome: Vae Victis
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
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)

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:
The only proper way to remove the country is someone to annex it. Rebels cannot annex countries.

So I guess secedeprovince to rebels won't work then, I know force secedeprovince commands for every province a country owns/controls will kill a country. Wouldn't annexing an offmap province give control of that province to a country? I kind of want a way to avoid having a legitimate country (other than specifically scripted GiE/Alliance) own an off-map province.

Do you have any idea why my three events in the first post don't work? I was trying to:

-Have CHI annex CHC
-Have offmap province get assigned to SOV
-Have SOV release CHC with the 1 offmap province

Either the offmap province is not getting assigned to SOV or the independence command isn't working properly (even though I modified revolt.txt....)

Is there a proper way to assign an offmap province to a country via event?
 
So I guess secedeprovince to rebels won't work then, I know force secedeprovince commands for every province a country owns/controls will kill a country. Wouldn't annexing an offmap province give control of that province to a country? I kind of want a way to avoid having a legitimate country (other than specifically scripted GiE/Alliance) own an off-map province.
What "kills" the country is most probably that the country that gets those provinces just annex it. As I said rebels won't do that.
On annexation all provinces, including off-map provinces which are a provinces like any other, just not shown on the map, goes to the annexing country.
It is not possible to have a land province (no matter off-map or not) without owner and controller.
You should be able to give that province's control to REB via event after the annexation.

Is there a proper way to assign an offmap province to a country via event?
Do it just as you do for any other province