The Great Apple
Big Cheese
Righto, here is my situation.
I'm working on idea, where once a unit recieved a promotion, he would be able to upgrade to another unit, having gone back to a city to upgrade (you still have to do that, right?). This would to represent the unit getting new kit to use with it's new found skill. Now, the trickier part, is working out how to do it.
Poking around in the promotions and units xml files, I notice that they both run off the same schema. Now, does that mean that I can add tags in the promotions file, which are in the units file. Specifically, if I were to add:
to a specific promotion, would it allow me to upgrade a unit with that promotion to NEWUNIT, or do I need a phython script to do this?
EDIT: Oh, and does anybody know what <bUnitClassUpgrade>1</bUnitClassUpgrade> does? Does it just enable the promotion? Maybe I could do something using this?
On a similar vein, if I wanted to get rid of the amphibious promotion, but still wanted amphibious guys, could I just stick
into the unit file, rather than mucking around creating a promotion nobody could get?
I would test it myself, but I can't run Civ on this PC...
I'm working on idea, where once a unit recieved a promotion, he would be able to upgrade to another unit, having gone back to a city to upgrade (you still have to do that, right?). This would to represent the unit getting new kit to use with it's new found skill. Now, the trickier part, is working out how to do it.
Poking around in the promotions and units xml files, I notice that they both run off the same schema. Now, does that mean that I can add tags in the promotions file, which are in the units file. Specifically, if I were to add:
Code:
<UnitClassUpgrades>
<UnitClassUpgrade>
<UnitClassUpgradeType>UNITCLASS_NEW UNIT</UnitClassUpgradeType>
<bUnitClassUpgrade>1</bUnitClassUpgrade>
</UnitClassUpgrade>
</UnitClassUpgrades>
EDIT: Oh, and does anybody know what <bUnitClassUpgrade>1</bUnitClassUpgrade> does? Does it just enable the promotion? Maybe I could do something using this?
On a similar vein, if I wanted to get rid of the amphibious promotion, but still wanted amphibious guys, could I just stick
Code:
<bAmphib>1</bAmphib>
I would test it myself, but I can't run Civ on this PC...