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

(CIV V modding) having trouble modding social policies.

Discussion in 'Civ5 - Project & Mod Development' started by Pepijn, Apr 1, 2021.

  1. Pepijn

    Pepijn Chieftain

    Apr 1, 2021
    Hey, I am trying to rebalance the social policies. I have managed to get the UI/text working. When you look at the policy screen all the changes are visible but when you actually play the game and unlock the policies non of the changes work. I have looked at other mods to try and see how they work but I can't find major differences (maybe I am overlooking something). If anyone could help me troubleshoot this that would be awesome!

    The changes I would like to make to Liberty are the following:
    +1 culture in your capital, this stacks with the previous benefit to a total of 2 culture.
    +2 production in every city, -10% building gold maintenance,
    -40% city modifier for policies from (from 10% cost increase per city to 6% cost increase).

    +1 science per city and +1 happiness per city connection to the capital
    +5% production in every city.

    This is my code (I haven't included the UI/text code because that already works)

    <Where Type="POLICY_REPUBLIC"/>
    <Set BuildingGoldMaintenanceMod="-10"/>
    <Where Type="POLICY_CITIZENSHIP"/>
    <Set ExtraHappinessPerLuxury="1"/>
    <Where Type="POLICY_CITIZENSHIP"/>
    <Set NumCitiesPolicyCostDiscount="-40"/>

    <Where Type="POLICY_CITIZENSHIP"/>
    <Add ProductionModifier="+5"/>

    <Set CultureChange="2"/>
    Last edited: Apr 2, 2021

Share This Page