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:
[TAB][TAB][TAB]<DomainHealRateChanges>
[TAB][TAB][TAB][TAB]<DomainHealRateChange>
[TAB][TAB][TAB][TAB][TAB]<DomainType>DOMAIN_SEA</DomainType>
[TAB][TAB][TAB][TAB][TAB]<iHealRateChange>10</iHealRateChange>
[TAB][TAB][TAB][TAB]</DomainHealRateChange>
[TAB][TAB][TAB]</DomainHealRateChanges>
[TAB][TAB][TAB]<UnitClassHealRateChanges>
[TAB][TAB][TAB][TAB]<UnitClassHealRateChange>
[TAB][TAB][TAB][TAB][TAB]<UnitClassType>UNITCLASS_BATTLESHIP</UnitClassType>
[TAB][TAB][TAB][TAB][TAB]<iHealRateChange>10</iHealRateChange>
[TAB][TAB][TAB][TAB]</UnitClassHealRateChange>
[TAB][TAB][TAB]</UnitClassHealRateChanges>
[TAB][TAB][TAB]<UnitCombatHealRateChanges>
[TAB][TAB][TAB][TAB]<UnitCombatHealRateChange>
[TAB][TAB][TAB][TAB][TAB]<UnitCombatType>UNITCOMBAT_NAVAL</UnitCombatType>
[TAB][TAB][TAB][TAB][TAB]<iHealRateChange>10</iHealRateChange>
[TAB][TAB][TAB][TAB]</UnitCombatHealRateChange>
[TAB][TAB][TAB]</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.1------
- 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
[TAB]Composite Mod - readme.txt format
[TAB]
- Dom Pedro II
[TAB]For the idea for this mod[TAB]
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:
[TAB][TAB][TAB]<DomainHealRateChanges>
[TAB][TAB][TAB][TAB]<DomainHealRateChange>
[TAB][TAB][TAB][TAB][TAB]<DomainType>DOMAIN_SEA</DomainType>
[TAB][TAB][TAB][TAB][TAB]<iHealRateChange>10</iHealRateChange>
[TAB][TAB][TAB][TAB]</DomainHealRateChange>
[TAB][TAB][TAB]</DomainHealRateChanges>
[TAB][TAB][TAB]<UnitClassHealRateChanges>
[TAB][TAB][TAB][TAB]<UnitClassHealRateChange>
[TAB][TAB][TAB][TAB][TAB]<UnitClassType>UNITCLASS_BATTLESHIP</UnitClassType>
[TAB][TAB][TAB][TAB][TAB]<iHealRateChange>10</iHealRateChange>
[TAB][TAB][TAB][TAB]</UnitClassHealRateChange>
[TAB][TAB][TAB]</UnitClassHealRateChanges>
[TAB][TAB][TAB]<UnitCombatHealRateChanges>
[TAB][TAB][TAB][TAB]<UnitCombatHealRateChange>
[TAB][TAB][TAB][TAB][TAB]<UnitCombatType>UNITCOMBAT_NAVAL</UnitCombatType>
[TAB][TAB][TAB][TAB][TAB]<iHealRateChange>10</iHealRateChange>
[TAB][TAB][TAB][TAB]</UnitCombatHealRateChange>
[TAB][TAB][TAB]</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.1------
- 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
[TAB]Composite Mod - readme.txt format
[TAB]
- Dom Pedro II
[TAB]For the idea for this mod[TAB]