stolenrays
Deity
- Joined
- Aug 2, 2009
- Messages
- 2,061
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 old thread:
This mod adds several new features to pillaging improvements:
- Pillaged gold is now modified by the bonus underneath it if the pillaged improvement connected that bonus.
- Yields from a pillaged improvement are now sent to the nearest friendly city.
- Pillaged improvements now have a commerce value that is given to the pillaging player.
- Some pillaged improvements (such as Forts) have a chance of giving a map of some surrounding enemy territory.
----Details----
Spoiler :
- 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.
- Pillaged yields do not vary, and they are not modified by any other factors.
- Pillaged gold is factored separately from the other commerces.
- pillaged commerces are randomly selected.
- If you set a positive value for gold in the PillageCommerces you will have a random chance of getting additional gold.
- 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.
- 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.
- Espionage acquired goes immediately toward the owner of the tile that you have just pillaged.
- 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.
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.
--Pillaging Bonuses--
PIllaging improvements now gives you





-----Note to Modmakers-----
Changed SDK files are included in the download.
In the SDK files DPII has added// < EXTRAPILLAGE DPII > and
in all of the places tha the have made changes to the original files.
Thanks to: DPII, & Lib Spi't for fixes.
-----Version History-----
Spoiler :
Version 1.6
-Added PillageYieldModifier & PillageYieldPercent variable to traits, Handicap, Worldsize, Era, etc.
-Added Concept Info
-Added Changelog & Readme Texts
Version 1.5
-bulleted civic effects
-player option texts
-gametext for bonus/improvement effects
Version 1.4
-adds missing TXT_KEY_CIVIC_NO_PILLAGE_REWARD
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
-Added PillageYieldModifier & PillageYieldPercent variable to traits, Handicap, Worldsize, Era, etc.
-Added Concept Info
-Added Changelog & Readme Texts
Version 1.5
-bulleted civic effects
-player option texts
-gametext for bonus/improvement effects
Version 1.4
-adds missing TXT_KEY_CIVIC_NO_PILLAGE_REWARD
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
Download