Sand Material question

Discussion in 'Content Creation' started by Airlobster, Apr 3, 2016.

  1. Airlobster

    Airlobster
    Expand Collapse

    Joined:
    Jun 8, 2015
    Messages:
    4
    Hey,

    I can't figure out how to let sand behave like the sand in the GridMap.
    When I paint sand material (copied from GridMap) it only shows the sand but the car doesn't drive like on sand. This also applies to dirt.
    Is there a way to change this?

    Thanks,
    Luuk


    These two screenshots show the difference:



    The materials:
     
    #1 Airlobster, Apr 3, 2016
    Last edited: Apr 3, 2016
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    It's the 'ground-depth'.
    If you look in the gridmap folder, there is a file named 'GridMap.ter.depth.png'
    It sets the depth of a the terrain, and it's created manually.

    White = 0% Depth
    Black = 100% Depth

    I recall 100% depth is equal to 20cm.
     
  3. Airlobster

    Airlobster
    Expand Collapse

    Joined:
    Jun 8, 2015
    Messages:
    4
    Thanks!
    I added a black grayscale png and now it works.
     
  4. dragcartv

    dragcartv
    Expand Collapse

    Joined:
    Jun 2, 2015
    Messages:
    144
    Have the same problem but can't figured it out.

    I exported a heightmap of my map edited it and named it dctv.ter.depth.png and copied it into my level folder, but the depth of the sand doesn't change.
    The size is also the size of the terrain, so what i am doing wrong?
     

    Attached Files:

    • dctv.ter.depth.png
  5. Airlobster

    Airlobster
    Expand Collapse

    Joined:
    Jun 8, 2015
    Messages:
    4
    Hey,

    Check if it's the same name as the .ter file and that the image is a 8bit grayscale.

    Edit: I just checked and if I use any other color than 100% black or white it doesn't work.
     
    #5 Airlobster, Apr 4, 2016
    Last edited: Apr 4, 2016
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    You must have at least a piece where you use 100% black/white in the map. If your 'lowest' point is 70% black I assume the game will have problems with that.
    In the picture above, there is no full black or white point.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice