Nucleotyde
Chieftain
- Joined
- Aug 16, 2012
- Messages
- 7
I've been working on a custom civilization mod, and I'm having trouble adding a unique unit. I'm trying to replace the swordsman for my civ with a swordsman that ignores terrain costs, so I made my unit's XML file match the stuff for the swordsman, added the promotion, changed the unit type, and left everything else the same. Then, I set my civilization to use that unit instead of the swordsman.
When I try to play my mod in the game, they lack my unique unit and are unable to build the regular swordsman. I swapped my civ's unique unit for the Legion to see if there was a problem with that code, and I could load the Legion just fine. I'm also able to load the swordsman with my mod active as long as I pick a different civ. I've looked over the code for my unit several times, but I can't find any noticeable problems. What am I missing?
By the way, I don't have G&K, so everything I'm doing right now is in vanilla.
When I try to play my mod in the game, they lack my unique unit and are unable to build the regular swordsman. I swapped my civ's unique unit for the Legion to see if there was a problem with that code, and I could load the Legion just fine. I'm also able to load the swordsman with my mod active as long as I pick a different civ. I've looked over the code for my unit several times, but I can't find any noticeable problems. What am I missing?
By the way, I don't have G&K, so everything I'm doing right now is in vanilla.