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

Roman617

Private
14 Badges
Sep 20, 2018
21
0
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings II: Charlemagne
I'm somewhat new to coding but I've so far achieved the ability to change who owns what city(ex. giving Rome an extra city). I'm still in the idea process of what I want to do for a mod, but for right now, just for learning I want to make a new nation(probably in Italia) with a new ruler that I created, but what my problems are 1. I looked at character setup(I think this is where you make characters but I can't figure it out) 2. I know how to give cities to nation but not how to create a brand new nation. Any help would be awesome.

I'm kind of a noob on the forums so if I did anything wrong pls tell me so I know for the future, Also I can be kind of confusing with my writing, so if any clarification is needed just ask.

edit:
through trial and error I was able to figure it out and if anyone wants to know how to do it I'd be happy to tell you.
 
Last edited:
I assume from other paradox games and poking around a little in the files, that you first add an entry in [Imperator_Install_Folder]/common/countries.txt like so:

Code:
LVA = "countries/germania/lemovia.txt"

where the left hand side is the countries three letter tag, you can have it be whatever as long as it's unique and the right hand side is a countries file further describing your new nation. The 'countries' folder is underneath the folder [Imperator_Install_Folder]/common - the convention appears to be that underneath the countries folder then there is a folder per super region (germania, italia) and then your nation's individual file but you can put the file where-ever I assume.

The basic form of the per-country file is like this:

Code:
color = rgb { 101 190 119 }

ship_names = {
}

where the color is the color of the nation on the map, in RGB presumably.

then you can change what provinces are owned by what country and other details like the government form etc in the file [Imperator_Install_Folder]/common/setup.txt at line 11049 currently. It's fairly self explanatory:

Code:
country = {
    countries = {
        LVA = {
            government = tribal_chiefdom
            ....
            own_control_core = {
                 34 56 98

The 'own_control_core' section is relevant, it's a list of what provinces are owned by the country with that tag at game start. You can find the province ids and corresponding names in [Imperator_Install_Folder]/common/province_setup.csv - obviously make sure you don't assign one province to two nations.