Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Civilization III > Re: Civ4 - reso...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 11 Topic 1714 of 1821
Post > Topic >>

Re: Civ4 - resources

by Wintermute <Wintermute@[EMAIL PROTECTED] > Oct 31, 2007 at 11:39 PM

On Wed, 31 Oct 2007 18:51:43 GMT, Paul Hyett
<pah@[EMAIL PROTECTED]
> wrote:

>In alt.games.civ3 on Wed, 31 Oct 2007, Wintermute wrote :
>>On Wed, 31 Oct 2007 10:29:37 GMT, Paul Hyett
>><pah@[EMAIL PROTECTED]
> wrote:
>>
>>>Does anyone know which data file controls the occurrence frequency of
>>>the special resources - specifically Marble, as it seems to be very
rare
>>>normally?

After looking at this further, it seems there are some controls for
resource placement in the XML.  Some of the mapscripts override these
settings, but others, like the Fractal map you mentioned, do use them.
Check out this file:

C:\Program Files\Firaxis Games\Sid Meier's Civilization
4\Assets\XML\Terrain\Civ4BonusInfos.xml

Each resource type has an entry.  Here's the entry for marble:

<BonusInfo>
	<Type>BONUS_MARBLE</Type>
	<Description>TXT_KEY_BONUS_MARBLE</Description>
	<Civilopedia>TXT_KEY_BONUS_MARBLE_PEDIA</Civilopedia>
	<BonusClassType>BONUSCLASS_WONDER</BonusClassType>
	<ArtDefineTag>ART_DEF_BONUS_MARBLE</ArtDefineTag>
	<TechReveal>NONE</TechReveal>
	<TechCityTrade>TECH_MASONRY</TechCityTrade>
	<TechObsolete>NONE</TechObsolete>
	<YieldChanges>
		<iYieldChange>0</iYieldChange>
		<iYieldChange>1</iYieldChange>
		<iYieldChange>0</iYieldChange>
	</YieldChanges>
	<iAITradeModifier>0</iAITradeModifier>
	<iHealth>0</iHealth>
	<iHappiness>0</iHappiness>
	<iPlacementOrder>3</iPlacementOrder>
	<iConstAppearance>100</iConstAppearance>
	<iMinAreaSize>3</iMinAreaSize>
	<iMinLatitude>0</iMinLatitude>
	<iMaxLatitude>90</iMaxLatitude>
	<Rands>
		<iRandApp1>10</iRandApp1>
		<iRandApp2>10</iRandApp2>
		<iRandApp3>0</iRandApp3>
		<iRandApp4>0</iRandApp4>
	</Rands>
	<iPlayer>50</iPlayer>
	<iTilesPer>0</iTilesPer>
	<iMinLandPercent>0</iMinLandPercent>
	<iUnique>0</iUnique>
	<iGroupRange>0</iGroupRange>
	<iGroupRand>0</iGroupRand>
	<bArea>0</bArea>
	<bHills>1</bHills>
	<bFlatlands>1</bFlatlands>
	<bNoRiverSide>1</bNoRiverSide>
	<bNormalize>1</bNormalize>
	<TerrainBooleans>
		<TerrainBoolean>
			<TerrainType>TERRAIN_PLAINS</TerrainType>
			<bTerrain>1</bTerrain>
		</TerrainBoolean>
		<TerrainBoolean>
			<TerrainType>TERRAIN_TUNDRA</TerrainType>
			<bTerrain>1</bTerrain>
		</TerrainBoolean>
		<TerrainBoolean>
			<TerrainType>TERRAIN_SNOW</TerrainType>
			<bTerrain>1</bTerrain>
		</TerrainBoolean>
	</TerrainBooleans>
	<FeatureBooleans/>
	<FeatureTerrainBooleans/>
</BonusInfo>


I think the setting that limits marble is this:

<iPlayer>50</iPlayer>

The 50 means 50%, so there will only be half as many marble resources
on the map as there are players.  So if you wanted to double the
number of marbles, for example, change it to this:

<iPlayer>100</iPlayer>

There should then be as many marbles on the map as there are players.
You can use any integer you want there.  

There are other settings here which affect resource placement.  I'm
not sure what they all do, but here's my best guess:

iTilesPer - the number of map tiles per resource (0 means no limit, so
it's not used to limit marble)

iConstAppearance - higher number means more abundant ?

iUnique - the number of unique instances of a resource?  ie: if you
want 5 marbles every time put a 5 there.

iMinLatitude, iMaxLatitude - the min and max latitudes where a
resource can appear.

iMinAreaSize, iMinLandPercent - ???

I think the Rands (iRandApp1, iRandApp2, ...) are involved, too, but
no clue as to how.

Hope this helps.
 




 11 Posts in Topic:
Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-10-31 10:29:37 
Re: Civ4 - resources
Wintermute <Wintermute  2007-10-31 11:33:55 
Re: Civ4 - resources
Wintermute <Wintermute  2007-10-31 11:51:23 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-10-31 18:51:43 
Re: Civ4 - resources
Wintermute <Wintermute  2007-10-31 23:39:33 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-11-01 09:30:08 
Re: Civ4 - resources
Wintermute <Wintermute  2007-11-01 17:29:30 
Re: Civ4 - resources
David Littlewood <davi  2007-11-01 16:16:16 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-11-01 17:39:22 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-11-02 09:30:06 
Re: Civ4 - resources
David Littlewood <davi  2007-11-02 00:08:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:49:47 CDT 2008.