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

[MODCOMP] Europe Price Recovery

Discussion in 'Civ4Col - Mods and Files' started by Androrc the Orc, Nov 27, 2012.

  1. Androrc the Orc

    Androrc the Orc Chieftain

    Joined:
    Apr 19, 2004
    Messages:
    1,620
    Location:
    Vienna, Austria
    Going through the original Colonization's files, I noticed something: it's yield types had an "attrition" number assigned to them, which essentially meant that some yields (sugar, furs, coats, etc.) would slowly increase in price, and others (tools, muskets and trade goods) would slowly decrease in price, if left alone. In practice, this provided a certain recovery to original price levels, countering to a small degree the price changes caused by the continuous selling of goods such as sugar and rum by the colonies and their continuous buying of tools, muskets and trade goods. Think of it this way: each turn, colonial goods would accumulate a small amount of demand in European markets, while tools, muskets and trade goods would accumulate a small amount of supply in those same European markets.

    This modcomp brings that functionality to Colonization II. To apply this to your mod, use the code under "//Androrc Price Recovery" in the C++ files, and add the necessary changes to the relevant XML files (in essence, add the "<iEuropeVolumeAttrition>" field to the yield schema, and add that field to each cargo yield (default value is 0). In the CIV4YieldInfos.xml included in this modcomp the iEuropeVolumeAttrition field is set in each yield to the same as it was for that yield in the original Colonization.

    Download the Europe Price Recovery Modcomp
     
  2. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    4,446
    Location:
    Stuttgart, Germany
    Sounds great. :thumbsup:

    Edit:
    Would like to integrate it into Religion and Revolution, if you don't mind. :)
     
  3. Commander Bello

    Commander Bello Say No 2 Net Validations

    Joined:
    Sep 3, 2003
    Messages:
    3,794
    Location:
    near Koblenz, Germany
    Sounds nice, as by your description it seems to fit an idea which I once described in the German Civ-Forum.

    I will have a look and may rob it. :)
     
  4. Androrc the Orc

    Androrc the Orc Chieftain

    Joined:
    Apr 19, 2004
    Messages:
    1,620
    Location:
    Vienna, Austria
    Thanks for the kind words :)
     
  5. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    4,446
    Location:
    Stuttgart, Germany
    @Androrc:
    The feature is now included in Religion and Revolution. :thumbsup:
     
  6. Androrc the Orc

    Androrc the Orc Chieftain

    Joined:
    Apr 19, 2004
    Messages:
    1,620
    Location:
    Vienna, Austria
    Nice :)
     

Share This Page