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

Gaining Exp from Barbs!?!

Discussion in 'Strategy Forum' started by SgtCiv, Jan 29, 2013.

  1. SgtCiv

    SgtCiv Warlord

    Joined:
    Apr 19, 2011
    Messages:
    229
    Location:
    TEXAS
    I have been away for awhile. I am completely updated with CivUP and GEM. When I played before after every update the first thing I would do was change the Exp level that could be reached from killing Barbs. I am not able to find this anymore in order to do this though. So, my question is, can anyone tell me where I need to go in order to make this change. Thanks.
     
  2. mystikx21

    mystikx21 Deity

    Joined:
    Feb 18, 2006
    Messages:
    3,229
    Location:
    ohio
    It was moved to the GEMoptions.sql file. In the main mod directory.

    Look for this in the file.

    Code:
    UPDATE Defines SET Value = 60 WHERE Name = 'BARBARIAN_MAX_XP_VALUE';
     
  3. SgtCiv

    SgtCiv Warlord

    Joined:
    Apr 19, 2011
    Messages:
    229
    Location:
    TEXAS
    Thanks for the reply, but your answer has created another question though. Where it was located before was in an XML file, which I could use notepad to edit. So, is there some special program that is needed to edit a sql file?
     
  4. mystikx21

    mystikx21 Deity

    Joined:
    Feb 18, 2006
    Messages:
    3,229
    Location:
    ohio
    Should be able to open it with notepad yes.

    I use notepad++ most of the time when editing mod files, if you want a recommendation on something else.
     
  5. SgtCiv

    SgtCiv Warlord

    Joined:
    Apr 19, 2011
    Messages:
    229
    Location:
    TEXAS
    Thanks for information.
     
  6. SgtCiv

    SgtCiv Warlord

    Joined:
    Apr 19, 2011
    Messages:
    229
    Location:
    TEXAS
    Thanks a lot for the information you provided. Last night I was able to make the change and it worked.
     
  7. ExpiredReign

    ExpiredReign Deity

    Joined:
    Jan 3, 2013
    Messages:
    2,450
    Gender:
    Male
    Location:
    Tasmania
    Does it matter what values are assigned?

    By that I mean does the value have to correspond to the next Promotion level?

    Are they at 20 point steps?
     
  8. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    You can set it to any number. Each promotion cost 10 * level :c5war:XP.

    1 promo = 10
    2 promos = 10+20
    3 promos = 10+20+30
    4 promos = 10+20+30+40
    etc...

    So if you set it to 70 experience, units could get 3 promotions plus 10 experience towards the next promotion.
     
  9. ExpiredReign

    ExpiredReign Deity

    Joined:
    Jan 3, 2013
    Messages:
    2,450
    Gender:
    Male
    Location:
    Tasmania
    Thanks Thalassicus.

    One other thing, slightly off topic but related to the 'options'. I assume the 'GEM_Options.sql' would supercede the 'Civup_Options.sql'?
    Curious why 'GEM_Options.sql' has options for CSD and 'Good for' when these are also in the 'Civup_Options.sql.

    You can't play GEM without Civup.
     
  10. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    Gem's options file overrides the one for Civup. For example, showing "good for" stuff in the base game is useless because Firaxis' numbers follow no organized pattern. I therefore hide it for people using only Civup, but show it for users of Gem, since I organized the data in Gem.
     
  11. picklehead

    picklehead Chieftain

    Joined:
    Jan 14, 2013
    Messages:
    3
    If you don't want to limit the number of promotions you can get from barbarians, you can set the value to -1.
     

Share This Page