1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    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,750
    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

Ebates: Get Paid to Shop