Multi-Building Unit Requirement
By: TheLopez
Last Update: 08/27/10
Version: v0.3BtS
Patch Compatibility: Beyond the Sword v3.19
MP Compatible: ?
Download Mod v0.3BtS
Version: v0.2w
Patch Compatibility: Warlords v2.0.8.0
MP Compatible: ?
Download Mod v0.2w
Version: v0.1
Patch Compatibility: v1.61
MP Compatible: ?
Download Mod v0.1
Description:
This mod adds the ability to specify multiple required and optional buildings
needed to building units. Any buildings added in between the <PrereqBuildings>
tag will now be required to build the unit. One of the buildings added in
between the <PrereqOrBuildinges> tag will now be required to build the unit.
For instance the updated battleship definition using the new tags 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-Building Unit Requirement Start --> and
<!-- Multi-Building Unit Requirement End --> in all of the places where
changes were made. In the SDK files I have added
// < Multi-Building Unit Requirement Start > and
// < Multi-Building 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.
-----v0.2w------
- Updated to be compatible with Warlords v2.0.8.0 patch.
-----v0.1------
- Setup the Multi-Building Unit Requirement Mod infrastructure
- Added the new <PrereqBuildinges> tag that allows for multiple buildings to be
required for building units.
- Added the new <PrereqOrBuildinges> tag that allows for one or more buildings
to be optionally required for building units.
- As an example of how to use the new tags the battleship unit has been updated in
the CIV4UnitInfos.xml file so it requires drydock and factory and one of the
following: barracks or lighthouse.
-----===Credits & Thanks===-----
- Exavier
Composite Mod - readme.txt format
- Doronron
For proposing this mod.
By: TheLopez
Last Update: 08/27/10
Version: v0.3BtS
Patch Compatibility: Beyond the Sword v3.19
MP Compatible: ?
Download Mod v0.3BtS
Version: v0.2w
Patch Compatibility: Warlords v2.0.8.0
MP Compatible: ?
Download Mod v0.2w
Version: v0.1
Patch Compatibility: v1.61
MP Compatible: ?
Download Mod v0.1
Description:
This mod adds the ability to specify multiple required and optional buildings
needed to building units. Any buildings added in between the <PrereqBuildings>
tag will now be required to build the unit. One of the buildings added in
between the <PrereqOrBuildinges> tag will now be required to build the unit.
For instance the updated battleship definition using the new tags looks like:
Code:
<PrereqBuilding>BUILDING_DRYDOCK</PrereqBuilding>
<PrereqBuildings>
<BuildingType>BUILDING_FACTORY</BuildingType>
</PrereqBuildings>
<PrereqOrBuildings>
<BuildingType>BUILDING_BARRACKS</BuildingType>
<BuildingType>BUILDING_LIGHTHOUSE</BuildingType>
</PrereqOrBuildings>
-----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-Building Unit Requirement Start --> and
<!-- Multi-Building Unit Requirement End --> in all of the places where
changes were made. In the SDK files I have added
// < Multi-Building Unit Requirement Start > and
// < Multi-Building 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.
Spoiler :
-----v0.2w------
- Updated to be compatible with Warlords v2.0.8.0 patch.
-----v0.1------
- Setup the Multi-Building Unit Requirement Mod infrastructure
- Added the new <PrereqBuildinges> tag that allows for multiple buildings to be
required for building units.
- Added the new <PrereqOrBuildinges> tag that allows for one or more buildings
to be optionally required for building units.
- As an example of how to use the new tags the battleship unit has been updated in
the CIV4UnitInfos.xml file so it requires drydock and factory and one of the
following: barracks or lighthouse.
-----===Credits & Thanks===-----
- Exavier
Composite Mod - readme.txt format
- Doronron
For proposing this mod.