Problem on huge map only

kamandi

Chieftain
Joined
Jan 3, 2006
Messages
31
The following code works correctly on all maps except huge:

<PrereqBuildingClasses>
<PrereqBuildingClass>
<BuildingClassType>BUILDINGCLASS_TEXAS</BuildingClassType>
<iNumBuildingNeeded>1</iNumBuildingNeeded>
</PrereqBuildingClass>
</PrereqBuildingClasses>


This code requires the civ specific building I gave my new civ when it built it's first city in order to build my civ specific replacements for heroic epic and national epic. The problem is when I play using a huge map, the civolopedia shows that instead of one instance of this building as a prerequisite, I now need 2. This only happens on the huge map and I have no idea why. Works perfectly on all other size maps.

Thanks
 
Bumping...So It looks like Huge maps automatically double the number of buildings required for anything requiring multiple buildings, like red cross, forbidden palace etc....Does anyone know how to disable this code. I believe this is the problem with my mod and also It doesn't make any sense to me that you would need twice as many of something just because of an increase in land mass.
 
I think it's because, they're expecting you to build more cities on a larger map.
 
The map size interacts with the
Code:
<iNumBuildingNeeded>1</iNumBuildingNeeded>

In CIV4WorldInfo.xml there are seperate WorldInfo tags you use to control the various ways map size figures into a lot. For a huge map you have

Code:
		<WorldInfo>
			<Type>WORLDSIZE_HUGE</Type>
			<Description>TXT_KEY_WORLD_HUGE</Description>
			<Help>TXT_KEY_WORLD_HUGE_HELP</Help>
			<iDefaultPlayers>11</iDefaultPlayers>
			<iUnitNameModifier>0</iUnitNameModifier>
			<iTargetNumCities>6</iTargetNumCities>
			<iNumFreeBuildingBonuses>7</iNumFreeBuildingBonuses>
			<iBuildingClassPrereqModifier>100</iBuildingClassPrereqModifier>
			<iMaxConscriptModifier>75</iMaxConscriptModifier>
			<iWarWearinessModifier>-50</iWarWearinessModifier>
			<iGridWidth>32</iGridWidth>
			<iGridHeight>20</iGridHeight>
			<iTerrainGrainChange>1</iTerrainGrainChange>
			<iFeatureGrainChange>1</iFeatureGrainChange>
			<iResearchPercent>150</iResearchPercent>
			<iTradeProfitPercent>30</iTradeProfitPercent>
			<iDistanceMaintenancePercent>50</iDistanceMaintenancePercent>
			<iNumCitiesMaintenancePercent>20</iNumCitiesMaintenancePercent>
			<iNumCitiesAnarchyPercent>5</iNumCitiesAnarchyPercent>
		</WorldInfo>
	</WorldInfos>

The <iBuildingClassPrereqModifier>100</iBuildingClassPrereqModifier> seems to require 100% additional instances to the number set in the building infos.
 
Back
Top Bottom