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

Changing xml attributes by python

Discussion in 'Civ4 - Creation & Customization' started by Paolo80, Feb 3, 2020.

  1. Paolo80

    Paolo80 Chieftain

    Joined:
    Dec 20, 2019
    Messages:
    41
    Gender:
    Male
    Hi guys,

    I would want to create a new technology called "napalm". This technology increase iAirCombatLimit for the air units. e.g. it increases bomber iAirCombatLimit from 50 to 60. I searched in CIV4PromotionInfos.xml the attribute to change iAirCombatLimit but I didn't found. Is there a python function to set iAirCombatLimit when a player acquires a tech? In general is it possible change xml attributes by python?
     
  2. Dancing Hoskuld

    Dancing Hoskuld Deity

    Joined:
    Jul 5, 2004
    Messages:
    23,519
    Gender:
    Male
    Location:
    Canberra, Australia

Share This Page