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:
[TAB][TAB][TAB]<PrereqBuilding>BUILDING_DRYDOCK</PrereqBuilding>
[TAB][TAB][TAB]<PrereqBuildings>
[TAB][TAB][TAB][TAB]<BuildingType>BUILDING_FACTORY</BuildingType>
[TAB][TAB][TAB]</PrereqBuildings>
[TAB][TAB][TAB]<PrereqOrBuildings>
[TAB][TAB][TAB][TAB]<BuildingType>BUILDING_BARRACKS</BuildingType>
[TAB][TAB][TAB][TAB]<BuildingType>BUILDING_LIGHTHOUSE</BuildingType>
[TAB][TAB][TAB]</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.2w------
- Updated to be compatible with Warlords v2.0.8.0 patch.
-----===Credits & Thanks===-----
- Exavier
[TAB]Composite Mod - readme.txt format
- Doronron
[TAB]For proposing this mod.
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:
[TAB][TAB][TAB]<PrereqBuilding>BUILDING_DRYDOCK</PrereqBuilding>
[TAB][TAB][TAB]<PrereqBuildings>
[TAB][TAB][TAB][TAB]<BuildingType>BUILDING_FACTORY</BuildingType>
[TAB][TAB][TAB]</PrereqBuildings>
[TAB][TAB][TAB]<PrereqOrBuildings>
[TAB][TAB][TAB][TAB]<BuildingType>BUILDING_BARRACKS</BuildingType>
[TAB][TAB][TAB][TAB]<BuildingType>BUILDING_LIGHTHOUSE</BuildingType>
[TAB][TAB][TAB]</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.2w------
- Updated to be compatible with Warlords v2.0.8.0 patch.
Spoiler :
-----===Credits & Thanks===-----
- Exavier
[TAB]Composite Mod - readme.txt format
- Doronron
[TAB]For proposing this mod.