Desert terrain

Dasann

Chieftain
Joined
Oct 30, 2005
Messages
5
Is there a way I can make it so I can make farms, towns, mills, and such on desert terrains? I just wanna be able to make it so they can have more than just roads. Any help will be greatly appreciated.
 
Is this thew way it should look? I added my change here in bold. This is from the file CIV4ImprovementInfos.xml, is this the only file I need to change?


- <ImprovementInfo>
<Type>IMPROVEMENT_FARM</Type>
<Description>TXT_KEY_IMPROVEMENT_FARM</Description>
<Civilopedia>TXT_KEY_IMPROVEMENT_FARM_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_IMPROVEMENT_FARM</ArtDefineTag>
- <PrereqNatureYields>
<iYield>1</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</PrereqNatureYields>
- <IrrigatedYieldChange>
<iYield>1</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</IrrigatedYieldChange>
<bHillsMakesValid>0</bHillsMakesValid>
<bFreshWaterMakesValid>1</bFreshWaterMakesValid>
<bRiverSideMakesValid>0</bRiverSideMakesValid>
<bNoFreshWater>0</bNoFreshWater>
<bRequiresFlatlands>1</bRequiresFlatlands>
<bRequiresRiverSide>0</bRequiresRiverSide>
<bRequiresIrrigation>1</bRequiresIrrigation>
<bCarriesIrrigation>1</bCarriesIrrigation>
<bRequiresFeature>0</bRequiresFeature>
<bWater>0</bWater>
<bGoody>0</bGoody>
<bPermanent>0</bPermanent>
<bUseLSystem>1</bUseLSystem>
<iTilesPerGoody>0</iTilesPerGoody>
<iGoodyRange>0</iGoodyRange>
<iUpgradeTime>0</iUpgradeTime>
<iAirBombDefense>5</iAirBombDefense>
<iDefenseModifier>0</iDefenseModifier>
<iPillageGold>5</iPillageGold>
- <TerrainMakesValids>
- <TerrainMakesValid>
<TerrainType>TERRAIN_GRASS</TerrainType>
<bMakesValid>1</bMakesValid>
</TerrainMakesValid>
- <TerrainMakesValid>
<TerrainType>TERRAIN_PLAINS</TerrainType>
<bMakesValid>1</bMakesValid>
</TerrainMakesValid>
- <TerrainMakesValid>
<TerrainType>TERRAIN_DESERT</TerrainType>
<bMakesValid>1</bMakesValid>
</TerrainMakesValid>

</TerrainMakesValids>
<FeatureMakesValids />
- <BonusTypeStructs>
- <BonusTypeStruct>
<BonusType>BONUS_CORN</BonusType>
<bBonusMakesValid>1</bBonusMakesValid>
<bBonusTrade>1</bBonusTrade>
<iDiscoverRand>0</iDiscoverRand>
- <YieldChanges>
<iYieldChange>2</iYieldChange>
<iYieldChange>0</iYieldChange>
<iYieldChange>0</iYieldChange>
</YieldChanges>
</BonusTypeStruct>
- <BonusTypeStruct>
<BonusType>BONUS_RICE</BonusType>
<bBonusMakesValid>1</bBonusMakesValid>
<bBonusTrade>1</bBonusTrade>
<iDiscoverRand>0</iDiscoverRand>
- <YieldChanges>
<iYieldChange>1</iYieldChange>
<iYieldChange>0</iYieldChange>
<iYieldChange>0</iYieldChange>
</YieldChanges>
</BonusTypeStruct>
- <BonusTypeStruct>
<BonusType>BONUS_WHEAT</BonusType>
<bBonusMakesValid>1</bBonusMakesValid>
<bBonusTrade>1</bBonusTrade>
<iDiscoverRand>0</iDiscoverRand>
- <YieldChanges>
<iYieldChange>2</iYieldChange>
<iYieldChange>0</iYieldChange>
<iYieldChange>0</iYieldChange>
</YieldChanges>
</BonusTypeStruct>
</BonusTypeStructs>
<ImprovementPillage />
<ImprovementUpgrade />
- <TechYieldChanges>
- <TechYieldChange>
<PrereqTech>TECH_BIOLOGY</PrereqTech>
- <TechYields>
<iYield>1</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</TechYields>
</TechYieldChange>
</TechYieldChanges>
<RouteYieldChanges />
<bGraphicalOnly>0</bGraphicalOnly>
</ImprovementInfo>
- <ImprovementInfo>
 
I cant seem to get it to work, is this the only file I need to change? Is there anything Ineed to do to get the game to do this feature?
 
You need to change also :

- <PrereqNatureYields>
<iYield>1</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</PrereqNatureYields>

that actually require a minimum of 1 yield of food to be improved .
change to :

- <PrereqNatureYields>
<iYield>0</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</PrereqNatureYields>

you can try that , i don't know if it's enough .

tcho!
 
Back
Top Bottom