Importing textures into maps

Discussion in 'Content Creation' started by MissingGoatHead, Oct 28, 2020.

  1. MissingGoatHead

    MissingGoatHead
    Expand Collapse

    Joined:
    Jan 7, 2017
    Messages:
    18
    Hi, I'm wanting to import a terrain texture that's not available in the map I'm building, in this case, importing mud into Utah. I was wondering if there was a way I could do this? Thanks in advance.
     
  2. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Mud from the East Coast:

    Open (D:\SteamLibrary\steamapps\common\BeamNG.drive\content\levels\) east_coast_usa.zip\levels\east_coast_usa\art_v2\terrains\main.materials.json

    Copy mud codes to .json of your level's art/terrains folder. Change all east_coast_usa/art_v2 paths to yourmapname/art.

    "Mud-02f839d3-c911-44c9-8d3d-5ebd1e3bd9cc" : {
    "internalName" : "Mud",
    "class" : "TerrainMaterial",
    "persistentId" : "02f839d3-c911-44c9-8d3d-5ebd1e3bd9cc",
    "detailDistance" : 20,
    "detailMap" : "levels/east_coast_usa/art_v2/terrains/mud_1_d",
    "detailStrength" : 0.5,
    "diffuseMap" : "levels/east_coast_usa/art_v2/terrains/Overlay_02",
    "diffuseSize" : 1024,
    "macroMap" : "levels/east_coast_usa/art_v2/terrains/Macro_mud_1",
    "macroSize" : 30,
    "macroStrength" : 0.4000000059604645,
    "normalMap" : "levels/east_coast_usa/art_v2/terrains/mud_1_n"
    },

    Copy the listed .dds files from the terrains folder to your art\terrains. In this case Overlay_02 should already be there.

    Add "Mud" line to theTerrain.terrain.json in your level's main folder.

    "materials": [
    "groundmodel_asphalt1",
    "GRAVEL",
    "dirt_loose_dusty",
    "dirt_loose",
    "Grass",
    "Grass2",
    "Grass3",
    "dirt_grass",
    "Rock",
    "dirt_rocky_large",
    "dirt_rocky",
    "dirt_sandy",
    "sand",
    "Mud"

    ],

    Start the old editor (Ctrl-Shift-F11), new editor may not handle the next bit well (bug report pending).
    Open TerrainPainter (F3), click "New Layer" from bottom right, choose Mud, click Apply&Select. Now you can paint mud and continue to use the new editor, if you so wish.

    Anyone feel free to correct this if I missed something.
     
    • Like Like x 2
    • Agree Agree x 1
  3. MissingGoatHead

    MissingGoatHead
    Expand Collapse

    Joined:
    Jan 7, 2017
    Messages:
    18
    This is exactly the level of detail I required in a response my question. Thanks heaps!
     
    • Like Like x 1
  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