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

ModsNewbie

Sergeant
14 Badges
Jun 13, 2019
64
2
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
I see that in ck2 vanilla game, we have decisions to recruit a marshal (promote commander), a steward (invite a noble), a court chaplain (invite a holy man)

and even a wife material (present debutante).

However, I am not seeing anything for a chancellor or a spymaster so I thought I will just make decision to hire them too.

But so far, my attempt has been failed horribly. I will describe what I did and the end result

First I created a decision file: employ_agent_decisions.txt

1591850458789.png

1591850484118.png

1591850500366.png


I created this by just borrowing the steward section from original employment_decisions.txt and changed the traits to better suit the spymaster position

then: I went to gfx/interface and created the dds file for the decisions I made;
1591850668834.png


I created these dds.file by copy and pasting the original steward and stewardess dds. file and then renaming them to agent.dds files

then I went to localisation folder to create the csv file

1591850788190.png


So now I got everything a decision needs; a structure, an image and localisation for the decision. However, when I tested this as Charlemagne, this happened.

1591851043555.png


1591851058098.png


So as you can see for some reason, my decision that was supposed to create characters suited for spymaster position is instead making myself appear in my own court.

I had another decision for creating characters for chancellor position in exactly same way, but that one worked.

This one is for the diplomat

1591851267184.png


1591851296897.png


1591851313758.png


I got the dds. file to gfx/interface folder just like the above:
1591851383557.png


again I got those by just copy and pasting steward and stewardess dds. file and renaming them accordingly

next is the localisation

1591851439378.png

1591851471063.png


and the end result was this:
1591851622027.png


As you can see, this decision to create diplomat characters for the chancellor position worked. All the traits and attributes are as I specified.

so I have two decisions created in exactly same way and yet one of them works, while other one is miserable failure.

Can anyone tell me what has caused this error?

P.S just found out that the diplomat decision is also failure because as you can see in the decision, it is supposed to charge 25 golds, but it is charging 16.3 golds when I tested in game. Also, still no pictures for both decisions, even though I am using the same dds. pictures, just in different name, as the Invite Noble decision.
What is really going on? I am at the end of my wit's.

I am also attaching the actual decision txt files and localisation csv files too just in case.

Please help!!
 

Attachments

  • 1591850863317.png
    1591850863317.png
    3,1 MB · Views: 0
  • employ_agent_decisions.txt
    2,1 KB · Views: 0
  • employ_diplomat_decisions.txt
    2,1 KB · Views: 0
  • employ_agent.csv
    216 bytes · Views: 0
  • employ_diplomat.csv
    248 bytes · Views: 0
Last edited:
Your icons needs an entry in the interface folder. See vanilla's decision_icons.gfx file as example.
What your the event "NE.1" does ?
 
Your icons needs an entry in the interface folder. See vanilla's decision_icons.gfx file as example.
What your the event "NE.1" does ?
Not sure. I did not do anything to that event.

so after I substituted the "create_random_diplomat" and "create_random_spy" with "create_character" the mod actually worked.

The decisions generate the characters with the stats and traits that I specified.

but now when I hover my mouse over the decisions: invite a noble, invite a holy man and the two new decisions that I created,

they all display the same name. Pretty sure that is not normal.

Anyway to fix this name glitch?