• 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.
To create a new country by revolts involves editing the revolt.txt file in addition to having the tag for the new country.
 
Robinlord said:
Thnk you, for help. How may I add events to my country?

You need to make an event file and place it in the db/events directory, look at how the other event files in that directory are written, then add the name of your event file to the list of event files in the file events.txt located in the db/ directory. Keep in mind that each event needs to have a unique id-number.
 
I wanted to add a new country.

I changed something in the country.csv (name, techgroup), deleated or disabled (# ...) everything of the old contry in the scenario file and added a leader and monarch file.

The new one appears through renaming of another vountry.
---> command = { type = country which = SWA }


When i tried to start the game, i got a CTD. What have i done wrong? I thought first it's an ownership/control problem but I delated all the provinces of the original country in the scenario file and let them unowned.
 
Last edited:
There is a country, Tidore, with the tag 'SWA'. I want to create a country named Swabia and give them the tag 'SWA'. Tidore was included in the scenario file and so i delated or disabled everything i could found for Tidore. Swabia should be established by renaming of other countries. The problem is, the game doesn't start.
 
You will need to add Swabia to the revolt.txt for the command = { type = country which = SWA } to work. But that won't be why it crashes. It probably crashes because you haven't deleted/disabled everything properly so the game thinks Tidore doesn't exist but yet it still owns something. Check to see if they start with any merchants in any CoTs, make sure the country is not still listed in the 'selectable' section. And also you might need to delete all the other nations diplomatic relations with them, search for "SWA" and delete all entries.

Adding a new country is easier than deleting one :p
 
It runs now but it's weird. Tidore had no merchants. I delated all lines that i only disabled (with "#...") and i put something in revolt.txt and it was fine. For none of my additional countries i had wrote something in revolt.txt. Must be the thing with the #. Weird.