CIV4BuildingClassInfos
This page is incomplete and is missing information.
Do not remove this notice until this page is complete. Thank-you.
Summary
Defines basic properties for Buildings.
Single-Line Tags
Text Tags
- Type = Object Name
- Description = Text key that the building goes with (Defined in Civ4GameText_Objects.xml)
- DefaultBuilding = Sets the default building of the class, used if no alternative is specified in the setup of the Civilization.
Boolean
- bNoLimit = Allows someone to build it as much as they want, or not
Integer
- iMaxGlobalInstances = Defines the global maximum number of occurences of this BuildingClass.
- iMaxTeamInstances = Defines the team maximum number of occurences of this BuildingClass.
- iMaxPlayerInstances = Defines the player maximum number of occurences per city of this BuildingClass.
- iExtraPlayerInstances = Defines the number of extra occurences of this BuildingClass that each player can have in production, if the maximum set in iMaxPlayerInstances is reached.
Comment: Need something here to indicate what you need for a project, ordinary building, national wonder or global wonder
Multi-Line Tags
- VictoryThresholds =
Example
Ordinary building format:
<BuildingClassInfo>
<Type>BUILDINGCLASS_BANK</Type>
<Description>TXT_KEY_BUILDING_BANK</Description>
<iMaxGlobalInstances>-1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances>
<iExtraPlayerInstances>0</iExtraPlayerInstances>
<bNoLimit>0</bNoLimit>
<bMonument>0</bMonument>
<DefaultBuilding>BUILDING_BANK</DefaultBuilding>
<VictoryThresholds/>
</BuildingClassInfo>
----
Global Wonder building format:
<BuildingClassInfo>
<Type>BUILDINGCLASS_GREAT_WALL</Type>
<Description>TXT_KEY_BUILDING_GREAT_WALL</Description>
<iMaxGlobalInstances>1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances>
<iExtraPlayerInstances>0</iExtraPlayerInstances>
<bNoLimit>0</bNoLimit>
<bMonument>0</bMonument>
<DefaultBuilding>BUILDING_GREAT_WALL</DefaultBuilding>
<VictoryThresholds/>
</BuildingClassInfo>
----
National Wonder format:
<BuildingClassInfo>
<Type>BUILDINGCLASS_HEROIC_EPIC</Type>
<Description>TXT_KEY_BUILDING_HEROIC_EPIC</Description>
<iMaxGlobalInstances>-1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>1</iMaxPlayerInstances>
<iExtraPlayerInstances>0</iExtraPlayerInstances>
<bNoLimit>0</bNoLimit>
<bMonument>1</bMonument>
<DefaultBuilding>BUILDING_HEROIC_EPIC</DefaultBuilding>
<VictoryThresholds/>
</BuildingClassInfo>
page revision: 3, last edited: 06 Aug 2008 07:05