Resource icon

Yield From Combat Mod v1.41 (BTS 3.19) 2016-10-05

Yield From Combat Mod v1.4

When an enemy unit is defeated, a specified amount of :food:, :espionage:, :gold:, :science:, :hammers:, or :culture: is deposited in your nearest city. One commerce is chosen at random from the different commerces a particular unit can give.

  1. :food: deposited to a nearby city if an animal is defeated.
  2. :hammers: are deposited if a unit is defeated.
  3. Gives the killer's owner an amount of :gold:.
  4. Gives the killer's owner :science: towards one of the prerequisite techs of the killed unit.Example: If your forces kill a Tank, but you can't currently build Tanks, you'll get :science: towards either Industrialism or Rifling.
  5. Deposits an amount of :culture: in your nearest city.
  6. Gives the killer's owner an amount of :espionage: units against the killed unit's owner.

The modification was only to a 7 C++ files. The Mod includes the Changed C++ files plus a working mod. Enjoy.

-----Game Play-----

-:food:, :espionage:, :gold:, :science:, :hammers:, or :culture: Yields are given to cities after an enemy unit (including air units) is killed.
-An alert message & landmark notification appear if a Yield is gained.

-----Note to Modmakers-----

-In the SDK files I have added Yield From Combat Mod START and Yield From Combat Mod END in all of the places that changes to the original files were made.
-New XML tags:
CIV4UnitInfos.xml
Spoiler :
<YieldsFromKill>
<CommercesFromKill>

CIV4TraitInfos.xml
Spoiler :
<BaseYieldFromUnits> - gives at least this much yield from ALL killed units.
<YieldFromUnitModifiers> - modifies how much yield you get from a particular
unit based on the unit's default yields from kill.
<BaseCommerceFromUnits> - gives at least this much commerce from ALL killed
units.
<CommerceFromUnitModifiers> - modifies how much commerce you get from a
particular unit based on the unit's default commerces from kill.


-----Version History-----
Version 1.41
-Fixed yield/commerce messages

Version 1.3
-Added Missing TraitInfos.xml file
-Added Concept Text
-Added Readme & Changelog Texts

Version 1.2
-Add a Checkbox
-Debug
-Merge Test of Time Changes
-Commerce/Yield Change for Traits Gametext fixed
-Base Commerce/Yield for Traits Gametext fixed

Version 1.1
Spoiler :
Updated to BTS 3.19

Version 1.0
Spoiler :
Original Dom Pedro II Mod
Original Food From Animals Download


Thread
  • yieldfromcombat_10i.jpeg
    yieldfromcombat_10i.jpeg
    744.7 KB · Views: 158
Author
stolenrays
Downloads
317
Views
317
First release
Last update
Rating
0.00 star(s) 0 ratings
Top Bottom