Building Civic Prereqs

This mod adds new tags allowing for the specification of one or more civics as prerequisites for constructing a building. As an example al...

Download

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

File Description

This mod adds new tags allowing for the specification of one or more civics as prerequisites for constructing a building. As an example all "cathedrals" now require the "Organized Religion" and "Hereditary Rule" civics to be constructed.

Read More

Readme
Building Civic Prereqs v0.3w
By: TheLopez

Patch Compatibility: Warlords v2.0.8.0
MP Compatible: ?

Description:
This mod adds new tags allowing for the specification of one or more civics as 
prerequisites for constructing a building. As an example all "cathedrals" now 
require the "Organized Religion" and "Hereditary Rule" civics to be 
constructed. To achieve this the following has been added after the 
<PrereqReligion> tag:
			<PrereqCivics>
				<PrereqCivic>CIVIC_ORGANIZED_RELIGION</PrereqCivic>
				<PrereqCivic>CIVIC_HEREDITARY_RULE</PrereqCivic>
			</PrereqCivics>
			
Also, a tag has been added to indicate that a building should be automatically 
obsoleted if the civics required to construct the building are no longer set.


-----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 Civic Prereqs Start --> and 
<!-- Building Civic Prereqs End   --> in all of the places where changes were 
made, in the SDK files I have added // < Building Civic Prereqs Start > and 
// < Building Civic Prereqs End   > in all of the places where changes were 
made and in the Python files I have added # < Building Civic Prereqs Start > 
and # < Building Civic Prereqs End   > in all of the places where changes were 
made. 

-----Version Information-----

-----v0.3w------

- Updated to be compatible with Warlords v2.0.8.0 patch.


-----v0.2w------

- Changed the <PrereqCivic> tag to <PrereqCivics> to allow requiring more than 
  one civic to construct a building.

- Added the <bInactiveWithoutCivicPrereqs> tag to indicate that a building 
  should be automatically obsoleted if the civics required to construct the 
  building are no longer set.

- Updated the &quot;cathedra&quot; definitions so they require the &quot;Hereditary Rule&quot; and 
  &quot;Organized Religion&quot; civics and are obsoleted when those civics are no longer 
  set.

-----v0.1w------

- Setup the Building Civic Prereqs infrastructure

- Added the new <PrereqCivic> tag that allows the specification of a civic as a 
  prerequisite for construction of a building.

- As an example of how to use the new tag all &quot;cathedral&quot; definitions have been 
  updated in the CIV4BuildingInfos.xml to require the &quot;Organized Religion&quot; civic.
  
  
-----===Credits & Thanks===-----

- Exavier 
	Composite Mod - readme.txt format
	
- Peuri
	For the idea for 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