Mechs - how to change limit of this unit?

In the file CIV4UnitClassInfos.xml, search for this block of code:

Code:
		<UnitClassInfo>
			<Type>UNITCLASS_ASSAULT_MECH</Type>
			<Description>TXT_KEY_UNIT_ASSAULT_MECH</Description>
			<iMaxGlobalInstances>-1</iMaxGlobalInstances>
			<iMaxTeamInstances>-1</iMaxTeamInstances>
			<iMaxPlayerInstances>4</iMaxPlayerInstances>
			<iInstanceCostModifier>0</iInstanceCostModifier>
			<DefaultUnit>UNIT_ASSAULT_MECH</DefaultUnit>
		</UnitClassInfo>

Change <iMaxPlayerInstances> from "4" to "-1" if you want there to be no limit on the number of Assault Mechs.
 
Back
Top Bottom