Doubling Starting Units

tchristensen

Emperor
Joined
Jul 21, 2010
Messages
1,241
Location
Grand Rapids, Mi
In my new mod I noticed it is doubling in most cases, and sometimes just adding units, to the starting set of units.

I know you can control the "free" starting units from CIV4CivilizationInfos.xml but there must be another location that it is pulling the information from because I am getting odd results.

Perhaps their is some sort of modification to the starting FreeUnitClasses based on map or handicap (but I cannot find any reference to this).

Help!

PHP:
			<FreeUnitClasses>
				<FreeUnitClass>
					<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
					<iFreeUnits>1</iFreeUnits>
				</FreeUnitClass>
				<FreeUnitClass>
					<UnitClassType>UNITCLASS_WORKER</UnitClassType>
					<iFreeUnits>1</iFreeUnits>
				</FreeUnitClass>
				<FreeUnitClass>
					<UnitClassType>UNITCLASS_EXPLORER</UnitClassType>
					<iFreeUnits>1</iFreeUnits>
				</FreeUnitClass>
			</FreeUnitClasses>
 
GameInfo\HandicapInfo

PHP:
			<iStartingDefenseUnits>0</iStartingDefenseUnits>
			<iStartingWorkerUnits>0</iStartingWorkerUnits>
			<iStartingExploreUnits>0</iStartingExploreUnits>
			<iAIStartingUnitMultiplier>0</iAIStartingUnitMultiplier>
			<iAIStartingDefenseUnits>0</iAIStartingDefenseUnits>
			<iAIStartingWorkerUnits>0</iAIStartingWorkerUnits>
			<iAIStartingExploreUnits>0</iAIStartingExploreUnits>
 
GameInfo\HandicapInfo

PHP:
			<iStartingDefenseUnits>0</iStartingDefenseUnits>
			<iStartingWorkerUnits>0</iStartingWorkerUnits>
			<iStartingExploreUnits>0</iStartingExploreUnits>
			<iAIStartingUnitMultiplier>0</iAIStartingUnitMultiplier>
			<iAIStartingDefenseUnits>0</iAIStartingDefenseUnits>
			<iAIStartingWorkerUnits>0</iAIStartingWorkerUnits>
			<iAIStartingExploreUnits>0</iAIStartingExploreUnits>

thanks. I also found this in the CIV4EraInfos.XML:
PHP:
			<iStartingUnitMultiplier>2</iStartingUnitMultiplier>
			<iStartingDefenseUnits>2</iStartingDefenseUnits>
			<iStartingWorkerUnits>2</iStartingWorkerUnits>
			<iStartingExploreUnits>2</iStartingExploreUnits>

This game has a penchant to have three or more controls doing the same thing. Jeesh!
 
Back
Top Bottom