unit promotion thresholds

dudzcom

Chieftain
Joined
Jan 28, 2004
Messages
5
Where would I find the file to modify the exp. pts. at which units can be promoted (2,5,10,17?,26?, etc...) - I've looked all over the place, and I can't find it for the life of me.

?

many thanks.
 
I think its hard coded, I can't find it either.
 
People are right - it is hardcoded.

However, there is a way to get around it with python. Basically - when a unit wins a combat, you can set them not to be able to get a promotion (you had to do the same on the unitCreated, and beginPlayerTurn events too). Then you check to see if they can get a promotion using your values, and if they can, re-enable the promotions.

If you have any trouble with that, just ask and I can bodge you up a quick script to sort it out.
 
The Great Apple said:
If you have any trouble with that, just ask and I can bodge you up a quick script to sort it out.

I'd welcome any code suggestions. Thanks.
 
Back
Top Bottom