Resource icon

Extra Pillage Mod v1.6 (BTS 3.19) 2016-10-05

Extra Pillage Mod v1.6 (BTS 3.19)

This mod was created by isolating the source code of Extra Pillage Code from Dom Pedro II's Conquerer's Delight Mod. This mod only includes Extra Pillage Snippets and none of the other features in that mod. I have updated the code so it is now compatible with BTS 3.19.

From the Old Thread:
This mod adds several new features to pillaging improvements:
  1. Pillaged gold is now modified by the bonus underneath it if the pillaged improvement connected that bonus.
  2. Yields from a pillaged improvement are now sent to the nearest friendly city.
  3. Pillaged improvements now have a commerce value that is given to the pillaging player.
  4. Some pillaged improvements (such as Forts) have a chance of giving a map of some surrounding enemy territory.

Details:
Spoiler :

  1. Pillaged improvements with a yield amount (excluding Commerce) give the total amount of yield from the tile if the improvement gives any bonus to that yield.
  2. Pillaged yields do not vary, and they are not modified by any other factors.
  3. Pillaged gold is factored separately from the other commerces.
  4. pillaged commerces are randomly selected.
  5. If you set a positive value for gold in the PillageCommerces you will have a random chance of getting additional gold.
  6. Improvements that can give research will give research points towards a random tech owned by the pillaged player. If there are no available techs, you will be prompted that there was nothing of value to be pillaged from the tile.
  7. Culture is determined by the friendly city and enemy city closest to the pillaged plot. Example: a Roman unit pillages a Village around Paris. The culture goes back to Ravenna. Paris has a high culture level while Ravenna a very low culture level, so Ravenna will get more than the base culture. If, on the other hand, a French unit pillaged a Village around Ravenna, they'd get less than the base culture.
  8. Espionage acquired goes immediately toward the owner of the tile that you have just pillaged.
  9. pillaging will be more profitable for the weaker player than the stronger player to avoid a situation where the rich get richer and the poor get poorer.
XML Additions:
Spoiler :

CIV4TraitInfos.xml
PillageCommerceModifiers - This increases the total amount of commerce a player could get from an improvement.

CIV4BonusInfos.xml
iPillageGoldModifier - This modifies the amount of pillaged gold. Note: This does not affect potential extra gold

CIV4CultureLevelInfos.xml
iPillageCultureModifier - This modifier helps determine the total amount of culture a city can get from a pillaged tile. The higher the culture level of the receiving city, the less culture the city gets from the improvement.

CIV4HandicapInfos.xml
iPillageCommercePercent - Modifies the amount of commerce an improvement can give.
iAIPillageCommercePercent - Modifies the amount of commerce an AI civ will get.

CIV4WorldInfos.xml
iPillageCommercePercent - Modifies the amount of commerce an improvement can give.

CIV4GameSpeedInfo.xml
iPillageCommercePercent - Modifies the amount of commerce an improvement can give.

CIV4EraInfos.xml
iPillageCommercePercent - Modifies the amount of commerce an improvement can give in the current (not based on the STARTING ERA of the game as some values in this file are).

CIV4ImprovementInfos.xml
iPillageMapProb - probability of getting a map from the improvement. A value of 100 gives 100% chance.
iPillageMapRange - range of the revealed map.
PillageCommerces - Base amount of commerce given by the improvement.


Conquerer's Bonuses:
PIllaging improvements now gives you :espionage: pts, :gold:, :food:, :science:, and/or :hammers: instantly.

Version 1.6
-Added PillageYieldModifier & PillageYieldPercent variable to traits, Handicap, Worldsize, Era, etc.
-Added Changelog & Readme Texts

Version History
Spoiler :

Version 1.5
-bulleted civic effects
-player option texts
-gametext for bonus/improvement effects
Version 1.4
-Added missing TXT_KEY_CAPITAL_NO_REWARD entry in text
Version 1.3
-Extra Pillaging gametext effects onlydisplay with the playeroption (traits, etc.)
-Removed Worker Code from the SDK/XML
-Added in Text for Civic Modifier for Capital Receives Pillage (Thanks Lib Spi't)
-Fixed Goody Hut text error
-Checked against Test of Time for any updates
-Added missing GlobalDefines Entries
-Removed uneeded GlobalDefines Entries
-Removed uneeded Text entries
-Removed uneeded xml/sdk files
Version 1.2
-Removed Partisans Code from the SDK/XML
-Added a playeroption
Version 1.1
-Re-release for BTS 3.19
Version 1.0
-DPII"s original version


Extra Pillage Mod Original Thread

Extra Pillage Mod (BTS 3.19) Thread
  • civ4screenshot0006_fCJ.jpg
    civ4screenshot0006_fCJ.jpg
    171.4 KB · Views: 66
  • civ4screenshot0008_ucP.jpg
    civ4screenshot0008_ucP.jpg
    182.8 KB · Views: 67
Author
stolenrays
Downloads
234
Views
288
First release
Last update
Rating
0.00 star(s) 0 ratings
Top Bottom