noto2
Emperor
- Joined
- Jul 11, 2008
- Messages
- 1,715
I decided to start modding on my own, to make a civ balancing mod, but I have no idea how to get anything to work.
I've looked into the game's XML files and also the XML files of various mods, and I still don't understand what I'm doing wrong.
First question - if I'm making a mod to tweak civ traits, should I copy the trait XML file and change that? Or should I make a new XML file with the <update> commands?
Second question - maybe if someone could give me an example of how to do something I'm trying to do, I could figure out where I went wrong. Let's say I want to make Rome's trait the same as the Meritocracy bonus with city connections (+1 happiness for city connected to the capital). How would I do that? I tried taking the code from Meritocracy and copying/pasting into Rome's trait, while adding the column definition into the table, but it didn't work.
I've looked into the game's XML files and also the XML files of various mods, and I still don't understand what I'm doing wrong.
First question - if I'm making a mod to tweak civ traits, should I copy the trait XML file and change that? Or should I make a new XML file with the <update> commands?
Second question - maybe if someone could give me an example of how to do something I'm trying to do, I could figure out where I went wrong. Let's say I want to make Rome's trait the same as the Meritocracy bonus with city connections (+1 happiness for city connected to the capital). How would I do that? I tried taking the code from Meritocracy and copying/pasting into Rome's trait, while adding the column definition into the table, but it didn't work.