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

What TerrainType are SEA tiles ?

Discussion in 'Mod Creation Help' started by Roman Caletka, Apr 2, 2017.

  1. Roman Caletka

    Roman Caletka Chieftain

    Joined:
    Feb 24, 2017
    Messages:
    3
    Gender:
    Male
    Location:
    Czech Republic
    Hello, im trying to create custom improvement for my civilisation that should be possible to create only on SEA tiles, but when i searched the game files for Terrain types, i just couldnt find Sea terrain, any idea how can i make my improvement Sea only ?
     
  2. Roman Caletka

    Roman Caletka Chieftain

    Joined:
    Feb 24, 2017
    Messages:
    3
    Gender:
    Male
    Location:
    Czech Republic
    ok nvm already found it, Coast and Ocean, should have just checked in game :D in case someone search for this :D its Coast and Ocean.
     
  3. kantorr

    kantorr Chieftain

    Joined:
    Mar 1, 2017
    Messages:
    51
    In XML they are referred to as TERRAIN_COAST and TERRAIN_OCEAN. All TerrainType values can be found in Terrains.xml.
    In Lua they (and all other terrain) are referred to as g_TERRAIN_TYPE_COAST and g_TERRAIN_TYPE_OCEAN, iirc.
     

Share This Page