Dasann
May 09, 2006, 11:52 PM
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.
|
View Full Version : Desert terrain Dasann May 09, 2006, 11:52 PM 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. surt May 10, 2006, 12:25 PM It's a straightforward xml mod. Go into the Civ4ImprovementInfos.xml and add desert to the list of TerrainMakesValids for farm. Dasann May 16, 2006, 04:47 PM 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> surt May 17, 2006, 08:55 AM that should be all. Dasann Jun 02, 2006, 04:43 AM 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? Sto Jun 02, 2006, 05:49 AM 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! Dasann Jun 03, 2006, 08:29 AM Thanks that did it! |
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.