This mod changes the behavior of the <PrereqBonuses> tag and adds the
<PrereqOrBonuses> tag that retains the original behavior of the <PrereqBonuses>
tag. Any bonuses added in between the <PrereqBonuses> tag will now be required
to build the unit. One of the bonuses added in between the <PrereqOrBonuses>
tag will now be required to build the unit. An <iBonusAmout> tag has also been
added to allow the specification of how many number of bonuses are required of
a specific type to build the unit.
For instance the updated warrior definition using the new tag and updated tag
looks like:
-----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
<!-- Multi-Bonus Unit Requirement Start --> and
<!-- Multi-Bonus Unit Requirement End --> in all of the places where changes
were made. In the SDK files I have added
// < Multi-Bonus Unit Requirement Start > and
// < Multi-Bonus Unit Requirement 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.
- Changed the PrereqOrBonuses and PreqBonuses tags so they will now take in a
value instead of acting like a boolean flag. This requires updating all the
units in the Civ4UnitInfos.xml file to use the new structure. It might be a
pain but it provides a lot more flexability.
-----===Credits & Thanks===-----
- Exavier - Composite Mod - readme.txt format
- Keldath - for suggesting changing the structure to allow specification of
number of bonuses required.
<PrereqOrBonuses> tag that retains the original behavior of the <PrereqBonuses>
tag. Any bonuses added in between the <PrereqBonuses> tag will now be required
to build the unit. One of the bonuses added in between the <PrereqOrBonuses>
tag will now be required to build the unit. An <iBonusAmout> tag has also been
added to allow the specification of how many number of bonuses are required of
a specific type to build the unit.
For instance the updated warrior definition using the new tag and updated tag
looks like:
Spoiler :
-----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
<!-- Multi-Bonus Unit Requirement Start --> and
<!-- Multi-Bonus Unit Requirement End --> in all of the places where changes
were made. In the SDK files I have added
// < Multi-Bonus Unit Requirement Start > and
// < Multi-Bonus Unit Requirement 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.
- Changed the PrereqOrBonuses and PreqBonuses tags so they will now take in a
value instead of acting like a boolean flag. This requires updating all the
units in the Civ4UnitInfos.xml file to use the new structure. It might be a
pain but it provides a lot more flexability.
Spoiler :
-----===Credits & Thanks===-----
- Exavier - Composite Mod - readme.txt format
- Keldath - for suggesting changing the structure to allow specification of
number of bonuses required.