1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Change exp gained

Discussion in 'Mod Creation Help' started by manarod, Mar 7, 2018.

  1. manarod

    manarod Chieftain

    Joined:
    Oct 8, 2007
    Messages:
    90
    Location:
    italy
    I'm creating my first mod and i want to ask how i can change the exp gained by units. Thanks :)
     
  2. isau

    isau Warlord

    Joined:
    Jan 15, 2007
    Messages:
    2,751
    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).
     
  3. manarod

    manarod Chieftain

    Joined:
    Oct 8, 2007
    Messages:
    90
    Location:
    italy
    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
     

Share This Page