Damn terrain...

the100thballoon

Emperor
Joined
Aug 13, 2003
Messages
1,239
Anyone know how to make "peaks", etc not impassable? I looked at the terrain xml files but found nothing... Is it in the units' xml? Seems like a silly thing to type all that code instead of having an element in the terrain xml. Anyone know?
 
I'm not sure about the actual making the terrain impassable, but you can allow units to use the impassable by changing the <bCanMoveImpassable>0</bCanMoveImpassable>
in the CIV4UnitInfos.xml... for each unit
 
the100thballoon said:
Anyone know how to make "peaks", etc not impassable? I looked at the terrain xml files but found nothing... Is it in the units' xml? Seems like a silly thing to type all that code instead of having an element in the terrain xml. Anyone know?


Here's what I found in the terraininfos XLM:

<TerrainInfo>
<Type>TERRAIN_PEAK</Type>
<Description>TXT_KEY_TERRAIN_PEAK</Description>
<Civilopedia>TXT_KEY_TERRAIN_PEAK_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_TERRAIN_PEAK</ArtDefineTag>
<Yields/>
<RiverYieldChange/>
<HillsYieldChange/>
<bWater>1</bWater>
<bImpassable>0</bImpassable>


As you can see there's a value to turn on or off the impassable switch... But the Peak terrain is no different from all the others - they're all set to "0" - which means, presumably, that they're all passable. So another file must be involved (if not more). But good luck getting answers from this crowd; they seem to regard the inability to mod the game blindly as a proof of one's stupidity and thus as one's unworthiness to play this 'godsent' game... Fanboys you know... So tweak around and you might get it one day :lol:



G.
 
Back
Top Bottom