Limiting Early Submarines to the coast

kiwitt

Road to War Modder
Joined
Jan 11, 2006
Messages
5,621
Location
Auckland, NZ (GMT+12)
I found this XML parameter
Code:
			<TerrainImpassables>
				<TerrainImpassable>
					<TerrainType>TERRAIN_OCEAN</TerrainType>
					<bTerrainImpassable>1</bTerrainImpassable>
				</TerrainImpassable>
			</TerrainImpassables>

That way I can limit the early submarines to only the coasts in my mod.

Would that work ?
 
I found this XML parameter
Code:
			<TerrainImpassables>
				<TerrainImpassable>
					<TerrainType>TERRAIN_OCEAN</TerrainType>
					<bTerrainImpassable>1</bTerrainImpassable>
				</TerrainImpassable>
			</TerrainImpassables>

That way I can limit the early submarines to only the coasts in my mod.

Would that work ?

Well, you can compare it with the the galley/trireme xml entries. Those shipclasses can only sail on coastal plots and everywhere within territorial waters.
 
Back
Top Bottom