Change exp gained

manarod

Chieftain
Joined
Oct 8, 2007
Messages
92
Location
italy
I'm creating my first mod and i want to ask how i can change the exp gained by units. Thanks :)
 
For all units? Or just for one civ?

The Mapuche civ does this in Rise and Fall. It's achieved by using a combo of MODIFIER_PLAYER_CITIES_ATTACH_MODIFIER to broadcast from the Civilization to all owned cities, then an instance of MODIFIER_CITY_TRAINED_UNITS_ADJUST_XP_BONUS to adjust the XP units get. There's also a RequirementSet thrown in there to control which cities get this bonus (in cities with Governors).
 
For all units, i need that all units need more exp to gain levels. In the expansion in marathon the exp required is three time
 
Back
Top Bottom