• 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.
Are you attempting to load a country given a null province as it's territory? That should crash the game because those provinces can't hold player nation qualities like depot or capital required by the engine. Off map nations are meant to be non-player until they've revolted onto the map.
 
Hello. I have a question.

Imagine i create a new country. This is a fasciste country and he become communist with a new flag and a new name. How to do this?
You could try using "similar" tags just as GER turns into DDR if a Communist country coups it. I forgot how is that characteristic called but you can check revolt.txt file.

But easy way to do so is by creating an event, right now I'm on my phone so can't properly write an example. But you could place being Communist as a trigger and if it's met it can change both flag and name through that way.

As soon as possible I can upload an example for you if you'd like, or you can check around some mods.

EDIT: Okay, I'll try to be brief on this. First of all, imagine you already have all the files modded to create the nation of yours, for this example I'll simply use the Japanese TAG; JAP. Let's assume you already have both flag_JAP and shield_JAP thingies on the respective foldiers. However, in this case you want to add an extension to both of these, so let's say they are called flag_JAP_red and shield_JAP_red.

event = {
id = 959345 #pressed random numbers, yay
country = JAP
style = 0 #though you can use as well 1 or 2 if you actually have a picture, here I'm going simple

trigger = {
government = communist #Since you only want it to trigger when the not-usually-commie nation goes commie
}

date = { day = 1 month= january year = 1930 } #going random I guess
offset = 30
deathdate = { day = 29 month = december year = 1963 }

name = "Japanese People's Republic" #if you go to the mods.txt (well, if the text is there of course) you could use EVT_959345_NAME instead.
desc = "Insert description here" #just as above, you can also do EVT_959345_DESC instead, in fact it gives you more text to add :p

action = {
name = "Yay, going commie"
command = { type = flag_ext where = JAP which = "_red" } #You are going to use the termination you gave the flag and shield here
command = { type = name where = JAP which = "Japanese People's Republic" } #once more, you can also do something like; JAP_RED_NAME
}
}

And here you have it, I think it should work properly if you kinda want to take it as it is. Hope it works for you and helps you a bit.​
 
Last edited: