Multi-Building Unit Requirement Mod

This mod adds the ability to specify multiple required and optional buildings needed to building units. Any buildings added in between the...

Download

Uploading...
Do not refresh or leave this page!

File 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.

Note: For Warlords only

Read More

Readme
Multi-Building Unit Requirement Mod v0.1w
By: TheLopez

Patch Compatibility: Warlords v2.0.0.0
MP Compatible: ?

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:
			<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.1w------

- 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.

Read More

Comments on this File

There are no comments yet. Be the first!

TheLopez


50 XP


Registered 6th March 2006

69 Files Uploaded

Share This File
Embed File