Hello! I'm a new member to the forums and I mainly joined in order to ask about something that's been troubling me for a few days now ;
I'm interested in knowing how to add NEW units into RON and RON T&P ? I'm not looking to make anything fancy for the first time but I've been fiddling around with the basic .xml files for some while now. The first time I tried to create a new unit (basically just clone the CATAPULT unit, change the stats for it and make it constructable from villages and/or towns at an early stage of the game) the game would start with an error of some sorts.
Apparently the number of units defined in unitrules.xml does not comply with NUM_UNITTYPES (don't remember if this was the EXACT value), and thus the game would not start without an error and would eventually crash in-game. I then tried to search EVERY file contained in the RON folders, searching for the NUM_UNITTYPES string within them. The search yielded 0 results.
Is there a way to ADD new unit entries into the .xml files and make things work? I just want to make a new catapult CLONE. It uses all the same old graphic files and help strings than the basic catapult but it just acts differently and doesn't belong to the normal tech-tree.
Can I add new units?
How?
If I can't, why not and is there a way to go round this?
Thanks in advance, and please note that I still am, a 100% newbie
I'm interested in knowing how to add NEW units into RON and RON T&P ? I'm not looking to make anything fancy for the first time but I've been fiddling around with the basic .xml files for some while now. The first time I tried to create a new unit (basically just clone the CATAPULT unit, change the stats for it and make it constructable from villages and/or towns at an early stage of the game) the game would start with an error of some sorts.
Apparently the number of units defined in unitrules.xml does not comply with NUM_UNITTYPES (don't remember if this was the EXACT value), and thus the game would not start without an error and would eventually crash in-game. I then tried to search EVERY file contained in the RON folders, searching for the NUM_UNITTYPES string within them. The search yielded 0 results.
Is there a way to ADD new unit entries into the .xml files and make things work? I just want to make a new catapult CLONE. It uses all the same old graphic files and help strings than the basic catapult but it just acts differently and doesn't belong to the normal tech-tree.
Can I add new units?
How?
If I can't, why not and is there a way to go round this?
Thanks in advance, and please note that I still am, a 100% newbie
Comment