Resource icon

[BtS] Extra Trade Commerce Modifiers 2016-10-05

Description:
This mod adds a new tag <TradeCommerceModifiers> allowing modders to specify
commerce modifiers for when a city gets trade routes with another city. For
instance the philosophical trait has been changed so every trade route also
gives 50% culture and food for each base profit point:
Code:
      <TradeYieldModifiers>
        <iYield>50</iYield>
        <iYield>0</iYield>
        <iYield>0</iYield>
      </TradeYieldModifiers>
      <TradeCommerceModifiers>
        <iCommerce>0</iCommerce>
        <iCommerce>0</iCommerce>
        <iCommerce>50</iCommerce>
      </TradeCommerceModifiers>
Meaning, a trade route that provides 2 gold will also provide 1 extra food
yield and 1 extra culture per turn.

Installation Instructions:

1) Unzip this into the "bts_install_folder\Mods\" folder.
2) Open the CivilizationIV.ini configuration file
3) Change the Mod line to read: Mod = Mods\Extra Trade Commerce Modifiers
4) Load the game.
5) Then play as normal.

-----Notes to Modmakers-----

If you want to use the Extra Trade Commerce Modifiers in your mod I have tried to make
things as easy as possible for you. In the XML files modified sections are
enclosed by:
<!-- -->
<!-- Extra Trade Commerce Modifiers Start -->
<!-- -->
and
<!-- -->
<!-- Extra Trade Commerce Modifiers End -->
<!-- -->

In the SDK files I have added // < Extra Trade Commerce Modifiers Start > and
// < Extra Trade Commerce Modifiers End > in all of the places that I have
made changes to the original files.

In the python files I have added # < Extra Trade Commerce Modifiers Start > and
# < Extra Trade Commerce Modifiers End > in all of the places that I have
made changes to the original files.

-----Version Information-----

-----v0.2BtS------

- Changed the <TradeCommerceModifiers> tag to act like the
<TradeYieldModifiers>. This means that the values are specified as % values
instead of absolute values. In addition the interface has been reworked to
display decimal values for both TradeCommerceModifiers and
TradeYieldModifiers.

- Mousing over trade routes in the city screen provide detailed information on
what extra yields and commerces are available from the trade route.

- Modified the city screen itself has been modified to display only the trade
profit since all of the yield/commerce information does not fit on one line
when using numbers with decimals.
Spoiler :

-----v0.1BtS------

- Extra Trade Commerce Modifiers infrastructure

- Added the <TradeCommerceModifiers> tag to the trait infos structure and added
example usage of the new tag to the philosophical trait.

- Discovered that the <TradeYieldModifiers> tag does not work as advertised but
I won't provide a fix unless someone actually reads this note and sends me a
message :)

-----===Credits & Thanks===-----

- Exavier - Composite Mod - readme.txt format

- ripple01 - for the idea for this mod

- Valkrionn - for ideas on how to improve this mod comp.
Author
TheLopez
Downloads
322
Views
322
First release
Last update
Rating
4.00 star(s) 1 ratings

More resources from TheLopez

Top Bottom