Increasing collateral damage limit with a promotion?

Discussion in 'Civ4 - SDK/Python' started by Phristen, Oct 11, 2007.

  1. Phristen

    Phristen Chieftain

    Joined:
    Aug 5, 2007
    Messages:
    29
    Ok, lets say I create a new promotion in CIV4PromotionInfos.xml....
    But how can I make it change the unit's collateral damage limit?
    Do I add a new tag to the CIV4UnitSchema.xml (lets call it iCollateralDamageLimitChange)?

    And then?

    I've searched the forums, but there's very little documentation on promotions :(
     
  2. Phristen

    Phristen Chieftain

    Joined:
    Aug 5, 2007
    Messages:
    29
    Ok, figured it.
    Thank you to all those who've replied :)


    I have another question now. How do make it so that the increase in combat limit gets mentioned in the civilopedia?

    For example, if I increase strength by 10, then civilopedia entry will say "+10% strength", but my new modified are not displayed.
     
  3. PeteT

    PeteT Warlord

    Joined:
    Jan 2, 2002
    Messages:
    273
    Location:
    Winterpeg
    I *think* what you're asking about is the mouseovers that are done in CvGameTextMgr:: parsePromotionHelp
     
  4. Phristen

    Phristen Chieftain

    Joined:
    Aug 5, 2007
    Messages:
    29
    That's exactly it, thank you!
     

Share This Page