Logo Platform
logo amplifiers simplified

Does anyone know which XML contains faction starting unit information, if any?

Reply
Copied to clipboard!
10 years ago
May 2, 2015, 1:56:03 AM
So I'm trying make a mod that changes a faction's starting unit, specifically the two that you're placed on the map with along with your hero/settler, and I cannot for the life of my figure out how.



I already figured out how to switch the unit tech order via UnitBodyDefinitions, but that seems to be completely independent from your starting army. I don't even know if the starting army is defined in a specific place or if a script simply pulls the unit information from a certain XML.



Can anyone offer some insight on this?
0Send private message
10 years ago
May 2, 2015, 11:08:46 AM
It is in the FactionTraits[Affinity].xml file from what I can tell. If you see the attached file (a personal mod of mine) you can see that I have added a custom faction, with Drakken starting units. Best of luck in you modding attempts!

KIN0025's Traits and Clarity.zip
0Send private message
10 years ago
May 2, 2015, 11:43:20 AM
That's exactly it, thank you! I'm not sure how I missed it, could have sworn I've looked at that XML several times. Maybe the lists were collapsed and I didn't realize it or something.
0Send private message
?

Click here to login

Reply
Comment