1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Limiting Early Submarines to the coast

Discussion in 'Civ4 - Creation & Customization' started by kiwitt, Sep 10, 2009.

  1. kiwitt

    kiwitt Road to War Modder

    Joined:
    Jan 11, 2006
    Messages:
    5,548
    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 ?
     
  2. GeoModder

    GeoModder Chieftain

    Joined:
    Nov 29, 2005
    Messages:
    7,512
    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.
     
  3. kiwitt

    kiwitt Road to War Modder

    Joined:
    Jan 11, 2006
    Messages:
    5,548
    Location:
    Auckland, NZ (GMT+12)
    Thanks for that. Yes it is.
     

Share This Page