Galacticat42
Drifting through space, lost
i don't see how or why people hadnt thought of it before... looking through all the threads i saw that no one was able to create a unit able to traverse both land and see without making it buggy... then i found this.
and then set your unit to what you don't want it to be able to traverse
Code:
<bCanMoveAllTerrain>1</bCanMoveAllTerrain>
Code:
<TerrainImpassables>
<TerrainImpassable>
<TerrainType>TERRAIN_OCEAN</TerrainType>
<bTerrainImpassable>1</bTerrainImpassable>
</TerrainImpassable>
<TerrainImpassable>
<TerrainType>TERRAIN_PEAK</TerrainType>
<bTerrainImpassable>1</bTerrainImpassable>
</TerrainImpassable>
</TerrainImpassables>
<FeatureImpassables>
<FeatureImpassable>
<FeatureType>FEATURE_JUNGLE</FeatureType>
<bFeatureImpassable>1</bFeatureImpassable>
</FeatureImpassable>
<FeatureImpassable>
<FeatureType>FEATURE_FOREST</FeatureType>
<bFeatureImpassable>1</bFeatureImpassable>
</FeatureImpassable>
</FeatureImpassables>