Solved Dynamic Decals doesn't work

Discussion in 'Mod Support' started by UN1T, Apr 22, 2024.

  1. UN1T

    UN1T
    Expand Collapse

    Joined:
    Dec 23, 2023
    Messages:
    41
    upload_2024-4-22_14-31-32.png upload_2024-4-22_14-31-37.png
    Code:
    {
        "etkk.skin_lbe.etkk_dynamicTextures": {
        "name": "etkk.skin_lbe.etkk_dynamicTextures",
        "mapTo": "etkk.skin_lbe.etkk_dynamicTextures",
        "class": "Material",
        "Stages": [
          {
            "ambientOcclusionMap": "/vehicles/etkk/etkk_main_ao.data.png",
            "baseColorMap": "/vehicles/etkk/etkk_main_b.color.png",
            "metallicFactor": 1,
            "metallicMap": "/vehicles/etkk/etkk_main_m.data.png",
            "normalMap": "vehicles/etkk/etkk_main_n.normal.png",
            "roughnessMap": "/vehicles/etkk/etkk_main_r.data.png",
            "useAnisotropic": true
          },
          {
            "ambientOcclusionMap": "/vehicles/etkk/etkk_main_ao.data.png",
            "baseColorMap":"@DynamicTextureBaseColor",
            "clearCoatFactor": 1,
            "clearCoatMap": "/vehicles/etkk/etkk_main_c.data.png",
            "clearCoatRoughnessFactor": 1,
            "colorPaletteMap":"@DynamicTextureColorPalette",
            "colorPaletteMapUseUV": 1,
            "diffuseMapUseUV":1,
            "instanceDiffuse": true,
            "metallicFactor": 1,
            "metallicMap":"@DynamicTextureMetallic",
            "metallicMapUseUV":1,
            "normalMap": "/vehicles/etkk/etkk_main_n.normal.png",
            "opacityMap": "/vehicles/etkk/etkk_main_c.data.png",
            "roughnessMap":"@DynamicTextureRoughness",
            "roughnessMapUseUV":1,
            "useAnisotropic": true
          },
          {},
          {}
        ],
        "activeLayers": 2,
        "dynamicCubemap": true,
        "materialTag0": "LucasBE",
        "materialTag1": "vehicle",
        "order_simset": 0,
        "version": 1.5
        }
    }
    Code:
    {
        "etkk_skin_dynamicTextures": {
            "information":{
                "authors":"BeamNG",
                "name":"Dynamic Textures",
                "isAuxiliary": true,
                "value":1350
            },
            "slotType" : "skin_lbe",
            "globalSkin" : "etkk_dynamicTextures"
        }
    }
    Also I tried to change "skin_lbe" to "paint_design" and "etkk" to "etkk_main"
     
    #1 UN1T, Apr 22, 2024
    Last edited: Apr 22, 2024
  2. meywue

    meywue
    Expand Collapse
    Administrator
    BeamNG Team

    Joined:
    Nov 19, 2015
    Messages:
    340
    Hey,

    the part and material are set up correctly. Unfortunately at this point the garage's Livery Editor tool has a restriction where the vehicle explicitly needs a part in the 'paint_design' slot (whereas the mod's slot for the part is called 'skin_lbe').

    For the time being, if you just want to create skins using the tool, you can use the tool from within the world editor.
    Remove the 'isAuxiliary' property from the part so the part is visible in the vehicle part config menu and select it.
    BeamNGdrivex64_obv8xmOc8g.png

    Open the World Editor (F11) and open up the Vehicle Livery Editor (Window->Vehicle Livery Editor)
    BeamNGdrivex64_Zi2uFiacvw.png

    The tool will still complain the vehicle is noy compatible
    Just close the popup and it should work just fine.
    BeamNGdrivex64_faAApfpqeo.png
     
    #2 meywue, Apr 22, 2024
    Last edited: Apr 22, 2024
  3. UN1T

    UN1T
    Expand Collapse

    Joined:
    Dec 23, 2023
    Messages:
    41
    Ok, thanx. I edited the oginal mod a bit and it works!!! upload_2024-4-22_17-10-54.png
    Sorry for that...
    --- Post updated ---
    I'm a fucking genius
     

    Attached Files:

  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