Log in

View Full Version : Adding ethnicities to a faction



Kralizec
03-25-2013, 12:37
I'm playing as Hayasdan and I've just conquered Persepolis. It kind of bothers me that there isn't a Persian ethnicity for my faction so I tried to edit the relevant text files, with no success so far.

I've searched the forum for helpful topics, and I came across this one for instance:
https://forums.totalwar.org/vb/showthread.php?105006-Ethnicity-related-question&p=1954618&viewfull=1#post1954618

I still can't get it to work, though. The game simply crashes upon loading a saved game or even when starting a new campaign. I've added Jirisys' mod pack, not sure if that makes a difference. I made extensive modifications to that as well, but only to the EDU file.

Following Konny's method in the thread I linked to, I tried to add the Pontic Kappadokos ethnicity to the Hayasdan faction. Pontos happens to be extinct at this point so I picked that one specifically for the sake of trying this method out.

I inserted the text below at the top of Hayasdan's adoption section in export_descr_character_traits. (I made the chance absurdly high so I could quickly test wether it worked or not)


Trigger Hayasdan_Kappadokos_OfferedForAdoption
WhenToTest OfferedForAdoption

Condition FactionType romans_scipii
and Trait EthnoDetermined < 1

Affects PonticKappadokos 1 Chance 70

Does anybody have an idea what I'm doing wrong? Thanks in advance.

Kralizec
03-25-2013, 15:30
Nevermind; I figured out what the problem was. I've always used plain simple notepad for editing EDU stats but as bovi pointed out in a FAQ thread that won't work for some of the other files.

Another question then: is it actually necessary to make the other available ethnicities "antitraits"? I did so because I thought that would prevent adopted characters and suitors from getting double ethnicities, but it doesn't do so - only adding a "ethnodetermined" trigger will do that.