Resource icon

[BtS] Building Heal Rate 2016-10-05

This mod adds three new tags allowing buildings to heal units from a specific
domain, unit combat or unit class. By doing this buildings that provide healing
can target their healing powers instead of just being able to heal any unit.
For instance drydocks can now heal any ship while a specialized building like
tank factory could heal just armor units.

For instance the updated part of the drydock definition using the new tags
looks like:
               <DomainHealRateChanges>
                    <DomainHealRateChange>
                         <DomainType>DOMAIN_SEA</DomainType>
                         <iHealRateChange>10</iHealRateChange>
                    </DomainHealRateChange>
               </DomainHealRateChanges>
               <UnitClassHealRateChanges>
                    <UnitClassHealRateChange>
                         <UnitClassType>UNITCLASS_BATTLESHIP</UnitClassType>
                         <iHealRateChange>10</iHealRateChange>
                    </UnitClassHealRateChange>
               </UnitClassHealRateChanges>
               <UnitCombatHealRateChanges>
                    <UnitCombatHealRateChange>
                         <UnitCombatType>UNITCOMBAT_NAVAL</UnitCombatType>
                         <iHealRateChange>10</iHealRateChange>
                    </UnitCombatHealRateChange>
               </UnitCombatHealRateChanges>

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

If you want to use this mod component in your mod I have tried to make things
as easy as possible for you. In the XML files I have added
<!-- Building Heal Rate Start --> and
<!-- Building Heal Rate End --> in all of the places where changes
were made. In the SDK files I have added
// < Building Heal Rate Start > and
// < Building Heal Rate End > in all of the places where changes
were made.

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

-----v0.3BtS------

- Updated to be compatible with Beyond the Sword v3.19 patch.

Spoiler :

-----v0.2w------

- Updated to be compatible with Warlords v2.0.8.0 patch.
-----v0.1w------

- Setup the Building Heal Rate infrastructure

- Added the new <DomainHealRateChanges> tag that allows the specification that
a building can heal units from a specific domain.

- Added the new <UnitClassHealRateChanges> tag that allows the specification
that a building can heal specific unit classes.

- Added the new <UnitCombatHealRateChanges> tag that allows the specification
that a building can heal units with a specific unit combat.

- As an example of how to use the new tags drydocks has been updated in the
CIV4BuildingInfos.xml file to provide a 10% healing bonus to sea units, 10%
healing bonus to naval units and 10% healing bonus to battleships.


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

- Exavier
     Composite Mod - readme.txt format
     
- Dom Pedro II
     For the idea for this mod     
Author
TheLopez
Downloads
278
Views
278
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from TheLopez

Top Bottom