Help: How does terrain.ecf work?

Discussion in 'Planets & Playfields' started by Frostwood, May 30, 2020.

  1. Frostwood

    Frostwood Lieutenant

    Joined:
    Sep 8, 2015
    Messages:
    19
    Likes Received:
    25
    It looks likes if I'm not mistaken that terrain.ecf is used to recolour some terrains/blocks?? for each individual planet, but I'm not entirely sure how it works.

    For instance:

    Name: "AlienGreen"
    Name2: "AlienGreen04" >uses a dummy name from BlocksConfig.ecf?
    Brightness: "0.58"
    Saturation: "0.5366603"
    RGB: "(0.6, 1, 0.74)" seems to follow a diffent scale then playfield.yaml?
    AddCol: "0.3" ??
    Smoothness: "0" ??
    ReliefStrength: "0" ??
    NormalStrength: "2.6" ??
    Interpolation: "0" ??
    GeoStrength: "0" ??
    DistanceResample: "1" ??
    NearScale: "0.2" ??
    DistantScale: "0.015" ??
    HeightOffset: "1" ??
    HeightContrast: "1" ??
    TerrainId: "8" ??
    TerrainId2: "11" ??
    UnderTerrainId: "72" ??

    It would be nice to know how this all works without guessing.
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,471
    Likes Received:
    13,567
    Use the in game terrain editor. Type "te" (without quotes) into the console and you can edit all the terrain textures on a planet.
     
    #2
    Needleship likes this.
  3. Frostwood

    Frostwood Lieutenant

    Joined:
    Sep 8, 2015
    Messages:
    19
    Likes Received:
    25
    How handy! Thanks!

    Can you recolour plants and rocks(deco objects)?
     
    #3
  4. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,471
    Likes Received:
    13,567
    No it's just for the terrain.
     
    #4
    Needleship likes this.

Share This Page