View Full Version : How to modify leader name and traits


Soundwαvє ▼
Jan 19, 2012, 12:35 PM
Just a quick question. Where do I need to modify in the xml files to change the name of leader and it's traits? Seems simple, I just want that. (It's a leader included in a mod, it makes harder to modify?(

Thanks in Advance

Radio Noer
Jan 19, 2012, 02:13 PM
Just open up the LeaderHeadInfos, to change the name, find the <Description> tag and change whatever is in there to what you'd like it to be, traits are a bit farther down, but just change the name of those (remember Caps and proper spelling)

dacubz145
Jan 22, 2012, 12:41 AM
Just a quick question. Where do I need to modify in the xml files to change the name of leader and it's traits? Seems simple, I just want that. (It's a leader included in a mod, it makes harder to modify?(

Thanks in Advance

Which mod is it in? Most mods should be just as easy as regular civ. Just go to assets/xml/civilizations in that mods folder, click on cvi4leaderheadinfos.xml open it with notepad or another xml editor, press control+f (the search command) then type in the leaders name (just first or last name, dont use spaces) then there will be a tag called description, it should read something like TXT_KEY_LEADER_GANDHI (obviously varrying with a different lh) erase that, and replace it with the name you want. do not worry about TXT_KEY stuff just type it normal,

As for traits, press control+f again and look for "trait_" and it will bring you to the trait section, it will say something like TRAIT_HAPPY, if you want it to be a trait called said rename it TRAIT_SAD, if its a mod with custom traits it should still probably work but depending on the creator it might bring up an xml error

Soundwαvє ▼
Jan 23, 2012, 07:27 AM
Thanks a lot guys, it worked ^^

dacubz145
Jan 23, 2012, 03:21 PM
Thanks a lot guys, it worked ^^

No prob:goodjob: