Modding Tribal Villages?

Verkinix

Chieftain
Joined
Oct 30, 2005
Messages
32
There doesnt seem to be any reference toward modding tribal villages or huts as I like to call them. Is there a way to modify their "drop rates" or how often they occur? I cant seem to find anything in the xml files so perhaps I am simply missing something.

Any help would be appreciated.

Thanks
 
In Civ4HandicapInfos.xml, there's a reference to the tribal villiages towards the end of each difficulty entry. How many entries a particular event has determines how likely it is to happen. Here's the entry for Settler difficulty level:

Code:
			<Goodies>
				<GoodyType>GOODY_HIGH_GOLD</GoodyType>
				<GoodyType>GOODY_HIGH_GOLD</GoodyType>
				<GoodyType>GOODY_HIGH_GOLD</GoodyType>
				<GoodyType>GOODY_HIGH_GOLD</GoodyType>
				<GoodyType>GOODY_LOW_GOLD</GoodyType>
				<GoodyType>GOODY_LOW_GOLD</GoodyType>
				<GoodyType>GOODY_MAP</GoodyType>
				<GoodyType>GOODY_SETTLER</GoodyType>
				<GoodyType>GOODY_SETTLER</GoodyType>
				<GoodyType>GOODY_WARRIOR</GoodyType>
				<GoodyType>GOODY_WARRIOR</GoodyType>
				<GoodyType>GOODY_SCOUT</GoodyType>
				<GoodyType>GOODY_WORKER</GoodyType>
				<GoodyType>GOODY_WORKER</GoodyType>
				<GoodyType>GOODY_EXPERIENCE</GoodyType>
				<GoodyType>GOODY_HEALING</GoodyType>
				<GoodyType>GOODY_TECH</GoodyType>
				<GoodyType>GOODY_TECH</GoodyType>
				<GoodyType>GOODY_TECH</GoodyType>
				<GoodyType>GOODY_TECH</GoodyType>
			</Goodies>

Here, it looks like the probability of getting a Settler from a goody hut is 2/20. If you wanted to remove the possibility of getting Settlers, just delete the entries for Settlers, but keep in mind it would throw off all the other probabilities somewhat (for example, getting a worker would then be 2/18 rather than 2/20).

I'm not 100% sure that's how it works, but I'm pretty sure that's it. (Also, be sure to change the probs for each difficulty you want to change).
 
I guess you didn't see this line then:

<iTilesPerGoody>40</iTilesPerGoody>

It's in the CIV4ImprovementInfos.xml file.
 
Top Bottom