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

9Kbits

Major
43 Badges
Sep 8, 2016
632
561
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Jade Dragon
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings III
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV
  • Rome Gold
So, I want to give the country of Zygia (on the north coast of the Black Sea) a Jewish ruler and change its state religion to Jewish. However, I cannot for the life of me figure out how either add a new character or change a country's state religion. Please help.

EDIT: Also, how would I go about adding a new formable country to the game?
 
Last edited:
I dont know how much experience you have with modding PDOX games (edit note: im not smart enough to read signatures) but I assume there will be some people lurking here for whom this is the first time modding so im gonna try to keep it hand-holdy and step-by-step :)

Major rule one: make sure to be case sensitive!
Major rule two:
DO NOT edit your base files in your game folder, create a mod from your launcher and copy the structure of your folders and create copies of the respective files you want to edit to your mod!



1. Changing State Religion!
Required files: setup.txt and province_setup.csv ([installation path]/ImperatorRome/game/common/)
  1. Open setup.txt and search for the tag (in your case: ZGY) of the country you want to edit, lets take Zygia as an example.
  2. If you have found your country under the "countries =" list it should look somewhat like this:
    Code:
    country = {
        countries = {
           
           
            ZGY = {
                government = tribal_federation
                primary_culture = sindi
                religion = roman_pantheon
               
                capital = 4565 
               
                own_control_core = {
                    4565 4566 4567
                }
            }
     }
  3. Here you can change all sorts of details of a country: capital, government, culture, religion, cities etc. we want to change Zygias religion so we are specifically looking for this part:
    Code:
    religion = roman_pantheon
  4. You can now replace "roman_pantheon" (the code for the "Hellenistic" religion) with any other religion for example Judaism:
    Code:
    religion = judaism
  5. Done! Zygia is now Jewish. :p However this alone does not change the religion of our POPs...
  6. ..for that we need to open province_setup.csv and find the provinces controlled by Zygia (4565, 4566 and 4567)
    Code:
    4565,bosporan,roman_pantheon,wild_game,0,0,0,1,25,0,Gorgippia,Maeotia
    4566,sindi,indo_iranian_religion,steppe_horses,0,0,0,1,25,0,Bata,Maeotia
    4567,sindi,indo_iranian_religion,cattle,0,0,0,1,25,0,Torikos,Abasgoi
    (Every province is associated with its own unique id, when modding provinces you should always refer to those IDs)
  • Here we only need to change the religion from roman_pantheon and indo_iranian_religion to judaism and voila, Zygia and its people now adhere to the Jewish faith.
2. Adding a new Character!
Required files: character_setup.csv ([installation path]/ImperatorRome/game/common/)
  1. Open character_setup.csv dont be scared, at first it might look a little convoluted and overwhelming but take a look at the first line:
    Code:
    #Country,ID,Name,Family,Gender,Culture,Religion,Martial,Charisma,Finesse,Zeal,Wealth,Loyalty,Popularity,Birthday,Father,Mother,Spouse,Vanity,Traits,Party,Offices,ruler,DNA,
    (Just like provinces, every unique character has its own unique ID that should always be refered to when trying to mod characters)
  2. It should be very self-explanatory for the most part and you dont need to fill out every category but here are some things to consider: "Birthday" refers to the year of birth from the ingame AUC (Ab urbe condita) calender so a character born 430 will be roughly 20 years old and one born 400 will be about 50. "DNA" is a value needed if you want your character to have *specifc* looks, else the game will just generate random visuals.
  3. Now, lets add a new character to the country of Zygia (ZGY) named Bob, of the Johnson family, who is 30 years old, who is of Saxonian culture and Jewish religion, and has the ambitious and cruel traits. Voila:
    Code:
    ZGY,207,Bob,Johnson,M,saxonian,judaism,3,1,2,3,100,50,0,420,,,,yes,Ambitious|Cruel,,,,,
  4. Notes: if you want your character to be the ruler make sure to leave "ruler" in, your character ID should always be one that isnt occupied yet, starting at the bottom that would be ID 207 and upwards

3. Useful Resources
Country Tags can be found in: common/countries.txt
Character Traits can be found in: common/traits/
Religions can be found in: common/religions/00_default.txt
Cultures can be found in: common/cultures/
 
I've been having a difficult time with assigning spouses. The game seems to assign random spouses to unmarried characters who are of age. How do I set a character to be single to start the game?
 
It also seems that you can not refer to an ID that appears later in the file, or an ID that is higher than the character ID you are writing.

For instance:
Code:
TAG,ID,NAME, ... ,FATHER,MOTHER,SPOUSE, ...
ROM,1,Bigus Minor, ... , 2,3, , ...
ROM,2,Bigus Major, ... , , ,3, ...
ROM,3,Bigia, ... , , , , ...

In the above example Bigus Minor will not have any parents because those entries are referring to ID 2 and 3 that come after his own ID 1. Similarly the SPOUSE entry for Bigus Major wont work because 3 comes after 2.

However...
Code:
TAG,ID,NAME, ... ,FATHER,MOTHER,SPOUSE, ...
ROM,1,Bigus Major, ... , , , , ...
ROM,2,Bigia ... , , ,2, ...
ROM,3,Bigus Minor, ... 1,2, , ...

seems to work, as now each ID referred to already exists upon referral. Also shifting the order so that 2 comes before 1 does not appear to work either.

I hope I am wrong in this because it quickly becomes very cumbersome. It was simpler in eg. EU:Rome and CK2 where the order does not matter.

I tried to add some historical characters the game left out by adding them at the end and some of them work but none get their "connections" to existing characters correctly.
Code:
TRE,900,Nicaea,Antipatrid,F,macedonian,roman_pantheon,4,5,4,8,100,70,30,401,,,41,yes,antipatrid|loving,,,,,
PRY,901,Phila,Antipatrid,F,macedonian,roman_pantheon,5,7,8,7,400,70,40,404,,,38,yes,antipatrid|intelligent|good_natured,,,,,
MAC,902,Iollas,Antipatrid,M,macedonian,roman_pantheon,6,4,7,3,200,70,30,406,,,,yes,antipatrid|abrasive,,,,,
EGY,906,Eurydice,Antipatrid,F,macedonian,roman_pantheon,5,7,7,4,100,70,30,408,,,,yes,antipatrid|crafty,,,,,
MAC,907,Pleistarchus,Antipatrid,M,macedonian,roman_pantheon,8,2,1,4,200,70,30,409,,,,yes,antipatrid|proud,,,,,
MAC,908,Philip,Antipatrid,M,macedonian,roman_pantheon,3,6,4,6,300,70,30,411,,,,yes,antipatrid|shrewd,,,,,
EGY,909,Ptolemais,Lagid,F,macedonian,roman_pantheon,3,5,6,2,150,70,60,433,42,906,,yes,lagids|cautious,,,,,

Also, it would be nice if the developers could add a "death_date" entry in addition to the birth_date so that we can link siblings through dead parents.
 
Last edited:
For changing culture, you can do that directly in the map editor, so that should be quick. (guess you need to copy some file to the modde folder, not sure which, but probably easy to find somewhere here)
 
Here is something I've noticed about Character ID it doesn't matter what ID number you give. What ever line they're on on the list of characters determines their ID. I set a character as 300 and they were still 207 in game. This only really an issue when dealing with character relationships. I could be wrong, but having spaces on the list seems to keep further characters from spawning. For example I left a line on the list empty and the character on the next line wouldn't spawn.