Solved Glass skin not working

Discussion in 'Mod Support' started by Ai'Torror, Dec 20, 2017.

  1. Ai'Torror

    Ai'Torror
    Expand Collapse
    QA, Mod Support, Vehicle Physics
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,540
    Hi, I'm trying to make a window tint for my moonhawk mod, but no mater in which slot I put the files made the same way as on the wiki, it doesn't work. I've tried even changing the materials of the glass itself and it still isn't working :/

    Any ideas?
    Here are a few files that you will need:
     

    Attached Files:

  2. Ai'Torror

    Ai'Torror
    Expand Collapse
    QA, Mod Support, Vehicle Physics
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,540
    Okay, I've gotten the outside glass to cooperate... (had to make a separate model for tinted glass)


    Now the only problem to solve is basically this:


    For some reason, BeamNG has problems finding this material:
    Code:
    singleton Material(moonhawk_glass_int_tinted)
    {
        mapTo = "moonhawk_glass_int_tinted";
        diffuseMap[0] = "vehicles/moonhawk/moonhawk_glass_d_tinted.dds";
        specularMap[0] = "vehicles/common/null.dds";
        specularPower[0] = "128";
        pixelSpecular[0] = "1";
        diffuseColor[0] = "1 1.5 1.5 1";
        useAnisotropic[0] = "1";
        castShadows = "0";
        translucent = "1";
        alphaTest = "0";
        doubleSided = "0";
        alphaRef = "0";
        dynamicCubemap = false;
        materialTag0 = "beamng"; materialTag1 = "vehicle";
    };
    
    --- Post updated ---
    Okayyy...
    This game just lives on its own...
    It decided to fix itself after restarting the game 2 times and changing nothing either in blender or materials 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