Solved Help, the skin isn't showing up.

Discussion in 'Mod Support' started by I am a person!, Sep 11, 2018.

  1. I am a person!

    I am a person!
    Expand Collapse

    Joined:
    Jan 2, 2017
    Messages:
    21
    I created a skin for the H Series Vanster, and it is not showing up in game. When you select the skin, it shows up with nothing on the van. Help please!
     

    Attached Files:

  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    Just by looking at the files, the textures path are wrong in the materials.cs

    Code:
       overlayMap[2] = "vehicles/van/van_skin_Secret Labs.dds";
    No such file exists in that location.


    Corrected is

    Code:
       overlayMap[2] = "vehicles/van/Secret Labs/Secret Labs.dds";
    In general, check the game's console. It will tell you what could be wrong.


    Also, you have this line:

    Code:
       specularMap[2] = "vehicles/van/Secret Labs/Secret Labs.dds";

    Although specular maps are something particular. Here you are just re-using your skin texture.
    Unless this is intentional, you don't want to do that to avoid strange effects.
     
  3. I am a person!

    I am a person!
    Expand Collapse

    Joined:
    Jan 2, 2017
    Messages:
    21
    Thank you!
     
  4. Ai'Torror

    Ai'Torror
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,558
    I suggest to change "Secret Labs" to let's say "Secret_Labs" this way you will make sure the name isn't a problem also when you're setting up your materials you have to also map the material.
    so this: mapTo = "van.skin.YOURSKIN";
    should be changed to : mapTo = "van.skin.Secret_Labs";

    other than that I do not see any issues, once you rename everything you named "Secret Labs" to "Secret_Labs" and fix the materials.cs file it should work fine.
    --- Post updated ---
    oh, and move the materials.cs file to a subfolder so it does not overwrite anything.
     
  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