1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Problem with skin not appearing on widebody (BX)

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Spirocon, Apr 26, 2024.

  1. Spirocon

    Spirocon
    Expand Collapse

    Joined:
    Jul 18, 2021
    Messages:
    40
    I'm working on a Group A skin for the new BX-Series and got it working on the base car. However, the widebody and custom bumpers are not included in the skin, thus showing the base color. Any help is greatly appreciated!
     
  2. salieri40

    salieri40
    Expand Collapse

    Joined:
    Jan 16, 2024
    Messages:
    7
    Yep, same problem here
     
  3. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,197
    For BX skins you need to add your livery to both bx_main and bx_aftermarket – the latter includes custom parts.

    Example:
    Code:
      "bx_main.skin.YOURSKIN": {
        "name": "bx_main.skin.YOURSKIN",
        "mapTo": "bx_main.skin.YOURSKIN",
        "class": "Material",
        "Stages": [
          {
            "ambientOcclusionMap": "/vehicles/bx/bx_main_ao.data.png",
            "baseColorMap": "/vehicles/bx/bx_main_b.color.png",
            "metallicMap": "/vehicles/bx/bx_main_m.data.png",
            "metallicFactor": 1,
            "roughnessFactor": 1,
            "normalMap": "vehicles/bx/bx_main_nm.normal.png",
            "roughnessMap": "/vehicles/bx/bx_main_r.data.png",
            "useAnisotropic": true
          },
          {
            "ambientOcclusionMap": "/vehicles/bx/bx_main_ao.data.png",
            "useAnisotropic": true,
            "diffuseMapUseUV": 1,
            "colorPaletteMapUseUV": 1,
            "instanceDiffuse": true,
            "clearCoatFactor": 1,
            "clearCoatRoughnessFactor":1,
            "metallicFactor": 1,
            "metallicMap": "vehicles/bx/bx_skin_YOURSKIN_a.color.png",
            "metallicMapUseUV": 1,
            "roughnessFactor": 1,
            "clearCoatMap": "/vehicles/bx/bx_main_cc.data.png",
            "normalMap": "/vehicles/bx/bx_main_nm.normal.png",
            "opacityMap": "/vehicles/bx/bx_main_c.data.png",
            "baseColorMap": "vehicles/bx/bx_skin_YOURSKIN_a.color.png",
            "colorPaletteMap": "vehicles/bx/bx_skin_YOURSKIN_p.color.png"
          },
          {},
          {}
        ],
        "activeLayers": 2,
        "dynamicCubemap": true,
        "materialTag0": "beamng",
        "materialTag1": "vehicle",
        "order_simset": 0,
        "version": 1.5
      },
      "bx_aftermarket.skin.YOURSKIN": {
        "name": "bx_aftermarket.skin.YOURSKIN",
        "mapTo": "bx_aftermarket.skin.YOURSKIN",
        "class": "Material",
        "Stages": [
          {
            "ambientOcclusionMap": "/vehicles/bx/bx_aftermarket_ao.data.png",
            "baseColorMap": "/vehicles/bx/bx_aftermarket_b.color.png",
            "metallicMap": "/vehicles/bx/bx_aftermarket_m.data.png",
            "metallicFactor": 1,
            "roughnessFactor": 1,
            "normalMap": "vehicles/bx/bx_aftermarket_nm.normal.png",
            "roughnessMap": "/vehicles/bx/bx_aftermarket_r.data.png",
            "useAnisotropic": true
          },
          {
            "ambientOcclusionMap": "/vehicles/bx/bx_aftermarket_ao.data.png",
            "useAnisotropic": true,
            "diffuseMapUseUV": 1,
            "colorPaletteMapUseUV": 1,
            "instanceDiffuse": true,
            "clearCoatFactor": 1,
            "clearCoatRoughnessFactor":1,
            "metallicFactor": 1,
            "metallicMap": "vehicles/bx/bx_skin_YOURSKIN_a.color.png",
            "metallicMapUseUV": 1,
            "roughnessFactor": 1,
            "clearCoatMap": "/vehicles/bx/bx_aftermarket_cc.data.png",
            "normalMap": "/vehicles/bx/bx_aftermarket_nm.normal.png",
            "opacityMap": "/vehicles/bx/bx_aftermarket_c.data.png",
            "baseColorMap": "vehicles/bx/bx_skin_YOURSKIN_a.color.png",
            "colorPaletteMap": "vehicles/bx/bx_skin_YOURSKIN_p.color.png"
          },
          {},
          {}
        ],
        "activeLayers": 2,
        "dynamicCubemap": true,
        "materialTag0": "beamng",
        "materialTag1": "vehicle",
        "order_simset": 0,
        "version": 1.5
      },
     
    • Agree Agree x 1
  4. salieri40

    salieri40
    Expand Collapse

    Joined:
    Jan 16, 2024
    Messages:
    7
    I don't think I understand. Do I put this code into my materials.json? If so, I did it with changing the name to my skin's name and it didn't work. Sorry for being a noob, but instructions unclear :(
     
  5. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,197
    This was just to show that you need both bx_main and bx_aftermarket under one YOURSKIN name for it to work for all parts. Check the Nomi livery as an example.
     
  6. salieri40

    salieri40
    Expand Collapse

    Joined:
    Jan 16, 2024
    Messages:
    7
    It now shows "No Texture" instead of the skin. I've spent like half a day today trying to come up with a solution, but I still don't know what is wrong.
    --- Post updated ---
    Also it doesn't show information from the info file for the config, maybe it is somehow related.
     
    #6 salieri40, Apr 30, 2024
    Last edited: Apr 30, 2024
  7. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,197
    Can't help much without seeing the files, mind uploading the mod?
     
  8. salieri40

    salieri40
    Expand Collapse

    Joined:
    Jan 16, 2024
    Messages:
    7
    Also it doesn't show information from the info file for the config, meybe it is somehow related
    To the repo? Ok, I will do it now, although I'm not sure if it will get approved with a broken livery
    --- Post updated ---
    Nvm, I figured out how to attach it here
     

    Attached Files:

  9. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,197
    Why though, you can upload it here, in your reply.

    Nevermind, I figured out that you figured it out, lol. Gonna check it in a few.

    Also, please upload your entire bx folder.
     
  10. salieri40

    salieri40
    Expand Collapse

    Joined:
    Jan 16, 2024
    Messages:
    7
    It doesn't allow me to upload folders or .rar archives, but I can upload every individual file from the folder
    --- Post updated ---
    There is also a .pdn of that but it doesn't allow me to upload it, anyways I don't think that the skin itself is important here lol. I've already uploaded everything there is.
     

    Attached Files:

  11. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,197
    Hey, is this bx_skin_eddie.dds the only texture you use? Because if so, you're linking to a wrong file in the materials file:

    upload_2024-5-1_0-18-21.png
    upload_2024-5-1_0-18-28.png
     
  12. salieri40

    salieri40
    Expand Collapse

    Joined:
    Jan 16, 2024
    Messages:
    7
    There is also a .pdn of that but it doesn't allow me to upload it, anyways I don't think that the skin itself is important here lol. I've already uploaded everything there is
    Oh, I see! Do I change every link to bx_skin_eddie.dds?
    --- Post updated ---
    So I've changed every BaseColorMap string to "vehicles/bx/eddie/bx_skin_eddie.dds" and it didn't help.
    --- Post updated ---
    Yo I figured it out! I've changed bottom BaseColor of both main and aftermarket, then the skin appeared, but it was black and had a No Texture thing on top of the skin. After some time, I've come to realize this is actually colorable, u see, Nomi's code is the wrong code to use here because it is colorable. I took Firwood's police's code, edited the same strings and now it works, yo!
     
    • Like Like x 1
  13. ghost_cauli

    ghost_cauli
    Expand Collapse

    Joined:
    Jul 14, 2022
    Messages:
    1,197
    Happy to see you figured it out!
     
    • 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