Question about Civics

just a note rather than having to log which units you gave the march promo and forcing all that extra checking why not just make another promo in your promo xml file and give that to all your units, if this promo can only be gained via the civic then it should always be taken away. It also has the bonus of allowing a player to promote an armored unit to get march permantly while in the civics option.
 
zulu9812 said:
Why is it important for python to know how many players are left in the game?
That bit holds the units which have been given the promotion. Each player can change their civics, so it needs to hold it individuall for each player... although I think I overcomplicated it a bit.

I would do as saltbush suggests and add a new promotion... it'll probably be best to use Gunner's code as well.
 
Perhaps this is something that should be done in the SDK, adding a tag in Civics <FreePromotions> structured much like the one under Traits. The promotion is given/taken away with Civic changes and the Promotion should not be atainable by other means as Saltbush says. Then people could design their own promotions and easily add them in the Civics XML, that would give a lot of flexability for future mods.
 
Back
Top Bottom