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

Adding promotions to buildings via events?

Discussion in 'Civ4 - Creation & Customization' started by civcivv, Jan 8, 2010.

  1. civcivv

    civcivv Warlord

    Joined:
    Dec 1, 2009
    Messages:
    126
    Location:
    London
    Some events in BtS have a conclusion of "provide all current and future naval units with Combat I" and then only give your current units Combat I.

    How could I change my files so that a building (e.g. Harbor) actually gives a certain promotion after an event fires?

    I can see how to give commerce and yield bonuses to buildings from events, but not promotions. Is it even possible? Maybe via python if not XML?

    I guess I could code it so that an event create a special building which has this ability, but that is quite a bit of hassle and would only work for existing cities, not all new cities as well...

    Thanks for any pointers!
     
  2. zyphyr

    zyphyr Prince

    Joined:
    Oct 30, 2005
    Messages:
    461
    Have the event provide a free building in one city that does nothing but provide the free building with the promo to all cities.
     
  3. civcivv

    civcivv Warlord

    Joined:
    Dec 1, 2009
    Messages:
    126
    Location:
    London
    Thats the alternative, yes, but it won't apply to future cities and captured cities I believe.
     
  4. zyphyr

    zyphyr Prince

    Joined:
    Oct 30, 2005
    Messages:
    461
    It will apply to future citites, just like the free Monument from Stonehenge.

    Event puts Building1 in one city (probably capital, but any will do)

    Building1 provides a free copy of Building2 in each city.

    Building2 provides a free promotion to units built in the city.
     

Share This Page