Hi all,
After searching for a while, I didn't find any answer about multiple upgrades for units, like in Civ IV. Personnally, I prefer few troop trees than several troop lines, so I would like to implement this kind of feature. Anybody already worked on that here ?
It seems that I need to :
- modify sql tables to reflect multiple choices for unit evolution, Unit_ClassUpgrades, at the moment when several rows have the same UnitType, all seem ignored except the last one.
- modify UnitPanel/small.XML and UnitPanel.lua, to allow players to choose when units get enough XP, by adding items in the secondarybutton area, or adding a third section.
- modify AI files to allow the same for AIs ... later.
Any other ideas ?
After searching for a while, I didn't find any answer about multiple upgrades for units, like in Civ IV. Personnally, I prefer few troop trees than several troop lines, so I would like to implement this kind of feature. Anybody already worked on that here ?
It seems that I need to :
- modify sql tables to reflect multiple choices for unit evolution, Unit_ClassUpgrades, at the moment when several rows have the same UnitType, all seem ignored except the last one.
- modify UnitPanel/small.XML and UnitPanel.lua, to allow players to choose when units get enough XP, by adding items in the secondarybutton area, or adding a third section.
- modify AI files to allow the same for AIs ... later.
Any other ideas ?