trying to create skin support for vw polo, not working?

Discussion in 'Content Creation' started by umustbeloggedintododat, Apr 3, 2021.

  1. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,381
    so im trying to add skinning support for the old vw polo mod. it works for the "polo11" material, but it doesn't want to work for the "polo2-material" material. it shows that "no material" sign and in the console it says "MaterialManager: Unable to find material '0'". ??? why isn't it recongizing my material and it just recongizes it as "0"????
    Code:
    "polo_skin_redbull": {
        "information":{
            "authors":"BeamNG",
            "name":"Red Bull",
            "value":950
        },
        "slotType" : "paint_design",
        "globalSkin" : "redbull"
    },
    Code:
    singleton Material(polo11)
    {
       mapTo = "polo11";
       diffuseMap[1] = "vehicles/polo/polo1.png";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "1";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo2-material)
    {
       mapTo = "polo2-material";
       diffuseMap[1] = "vehicles/polo/polo2.png";
       //diffuseMap[1] = "vehicles/polo/polo2rockstar.png";
       //diffuseMap[1] = "vehicles/polo/polo2redbull.png";
       //diffuseMap[1] = "vehicles/polo/polo2testingdirty.png";
       //diffuseMap[1] = "vehicles/polo/polo2testing.png";
       specularMap[1] = "vehicles/polo/polo1rockstar_s.png";
       //normalMap[1] = "vehicles/polo/polo1rockstar_n.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 1";
       diffuseColor[2] = "1 1 1 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo11.skin.redbull)
    {
       mapTo = "polo11.skin.redbull";
       overlayMap[1] = "vehicles/polo/polo1.png";
       diffuseMap[1] = "vehicles/polo/polo1.png";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "1";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo2-material.skin.redbull)
    {
       mapTo = "polo2-material.skin.redbull";
       overlayMap[1] = "vehicles/polo/polo2.png";
       diffuseMap[1] = "vehicles/polo/polo2.png";
       //diffuseMap[1] = "vehicles/polo/polo2rockstar.png";
       //diffuseMap[1] = "vehicles/polo/polo2redbull.png";
       //diffuseMap[1] = "vehicles/polo/polo2testingdirty.png";
       //diffuseMap[1] = "vehicles/polo/polo2testing.png";
       specularMap[1] = "vehicles/polo/polo1rockstar_s.png";
       //normalMap[1] = "vehicles/polo/polo1rockstar_n.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 1";
       diffuseColor[2] = "1 1 1 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polosuspension_material)
    {
       mapTo = "polosuspension-material";
       diffuseMap[1] = "vehicles/polo/coilover.png";
       diffuseColor[0] = "0.415094 0.413867 0.395139 1";
       doubleSided = "1";
       translucentBlendOp = "None";
       useAnisotropic[1] = "1";
       specularColor[0] = "1 1 1 1";
    };
    
    singleton Material(polo_susptemp_material)
    {
       mapTo = "susptemp-material";
       diffuseMap[1] = "vehicles/polo/suspension.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.75";
       diffuseColor[2] = "0.1 0.1 0.1 0.75";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(pololights2)
    {
       mapTo = "pololights2";
       diffuseMap[1] = "vehicles/polo/pololights_g.png";
       useAnisotropic[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       specularColor[0] = "1 1 1 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       doublesided = "1";
       cubemap = "BNG_Sky_02_cubemap";
    };
    
    singleton Material(polo_lights_dmg)
    {
       mapTo = "polo_lights_dmg";
       diffuseMap[1] = "vehicles/polo/pololights_dmg.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.95";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_taillights)
    {
       mapTo = "polo_taillights";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
    };
    
    singleton Material(polo_signal_l)
    {
       mapTo = "polo_signal_l";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_signal_l_on)
    {
       mapTo = "polo_signal_l_on";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       emissive[1] = "1";
       glow[1] = "1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_signal_r)
    {
       mapTo = "polo_signal_r";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_signal_r_on)
    {
       mapTo = "polo_signal_r_on";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       emissive[1] = "1";
       glow[1] = "1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_reverselight)
    {
       mapTo = "polo_reverselight";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    
    singleton Material(polo_reverselight_on)
    {
       mapTo = "polo_reverselight_on";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       emissive[1] = "1";
       glow[1] = "1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_taillight_on)
    {
       mapTo = "polo_taillight_on";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_taillights_on)
    {
       mapTo = "polo_taillights_on";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       emissive[1] = "1";
       glow[1] = "1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_brakelight)
    {
       mapTo = "polo_brakelight";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_brakelight_on)
    {
       mapTo = "polo_brakelight_on";
       diffuseMap[1] = "vehicles/polo/pololights.png";
       emissive[1] = "1";
       glow[1] = "1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(pololights_f)
    {
       mapTo = "pololights_f";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       doublesided = "1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(pololights_on)
    {
       mapTo = "pololights_on";
       emissive[1] = "1";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       doublesided = "1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(pololights)
    {
       mapTo = "pololights";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       specularColor[0] = "1 1 1 1";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       doublesided = "1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    
    singleton Material(pololights_gg)
    {
       mapTo = "pololights_gg";
       diffuseMap[1] = "vehicles/polo/pololights_g.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       specularColor[0] = "1 1 1 1";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.85";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       doublesided = "1";
       emissive[1] = "1";
    };
    
    singleton Material(polo_foglamps)
    {
       mapTo = "polo_foglamps";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 1";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo_interior1_material)
    {
       mapTo = "polo_interior1-material";
       diffuseMap[1] = "vehicles/polo/interioruv.png";
       normalMap[1] = "vehicles/polo/interioruv_n.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 1";
       //diffuseColor[2] = "0.76 0.49 0.11 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
    };
    
    singleton Material(enginepolo_material)
    {
       mapTo = "enginepolo-material";
       specularColor[0] = "1 1 1 1";
       diffuseMap[1] = "vehicles/polo/polo_engine.png";
       diffuseColor[0] = "0.406038 0.406038 0.406038 1";
       translucentBlendOp = "None";
       useAnisotropic[1] = "1";
    };
    
    singleton Material(polo_tire_material)
    {
       mapTo = "tire-material";
       diffuseMap[1] = "vehicles/polo/polo_tire.png";
       specularMap[1] = "vehicles/polo/polo_tire_s.png";
       normalMap[1] = "vehicles/polo/polo_tire_n.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo_tire_gravel_material)
    {
       mapTo = "tire_gravel-material";
       diffuseMap[1] = "vehicles/polo/polo_tire_gravel.png";
       specularMap[1] = "vehicles/polo/polo_tire_s.png";
       normalMap[1] = "vehicles/polo/polo_tire_n.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo_rim_material)
    {
       mapTo = "rim-material";
       diffuseMap[1] = "vehicles/polo/polo_rim.png";
       specularMap[1] = "vehicles/polo/polo_s.png";
       normalMap[1] = "vehicles/polo/polo_tire_n.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "0.1 0.1 0.1 1";
       diffuseColor[1] = "1 1 1 0.7";
       diffuseColor[2] = "0.06 0.06 0.06 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(pololight_material)
    {
       mapTo = "pololight-material";
       diffuseColor[0] = "0.9 0.9 0.9 1";
       specularColor[0] = "1 1 1 1";
       doubleSided = "1";
       translucentBlendOp = "None";
    };
    
    singleton Material(pololight2_material)
    {
       mapTo = "pololight2-material";
       diffuseColor[0] = "0.945257 0.945257 0.945257 1";
       specularColor[0] = "1 1 1 1";
       doubleSided = "1";
       translucentBlendOp = "None";
    };
    
    singleton Material(polo_material)
    {
       mapTo = "polo-material";
       diffuseColor[0] = "0.14 0.14 0.14 1";
       specularColor[0] = "1 1 1 1";
       specular[0] = "0.5 0.5 0.5 1";
       specularPower[0] = "50";
       translucentBlendOp = "None";
       doubleSided = "1";
    };
    
    singleton Material(pololights)
    {
       mapTo = "pololights";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       specularColor[0] = "1 1 1 1";
       doublesided = "1";
       useAnisotropic[1] = "1";
    };
    
    singleton Material(pololights_material_on)
    {
       mapTo = "pololights_material_on";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       emissive[1] = "1";
       glow[1] = "1";
    };
    
    singleton Material(pololights_material_on_intense)
    {
       mapTo = "pololights_material_on_intense";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       emissive[1] = "1";
       glow[1] = "1";
    };
    
    singleton Material(polo_headlight_high)
    {
       mapTo = "polo_headlight_high";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.95";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_headlight_high_on)
    {
       mapTo = "polo_headlight_high_on";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.95";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       emissive[1] = "1";
       glow[1] = "1";
    };
    
    singleton Material(polo_headlight)
    {
       mapTo = "polo_headlight";
       diffuseMap[1] = "vehicles/polo/pololights_f.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.95";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
    };
    
    singleton Material(polo_headlight_on)
    {
       mapTo = "polo_headlight_on";
       diffuseMap[1] = "vehicles/polo/pololights_g.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.95";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       emissive[1] = "1";
       glow[1] = "1";
    };
    
    singleton Material(polo_headlight_intensive)
    {
       mapTo = "polo_headlight_intensive";
       diffuseMap[1] = "vehicles/polo/pololights_g.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 0.95";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       emissive[1] = "1";
       glow[1] = "1";
    };
    
    singleton Material(polo_foglight)
    {
       mapTo = "polo_foglight";
       diffuseColor[0] = "1 1 1 1";
       specularColor[0] = "1 1 1 1";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo_foglight_on)
    {
       mapTo = "polo_foglight_on";
       diffuseColor[0] = "1 1 1 1";
       specularColor[0] = "1 1 1 1";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
       emissive[1] = "1";
       glow[1] = "1";
    };
    
    singleton Material(polo_backside_material)
    {
       mapTo = "polo_backside-material";
       diffuseMap[1] = "vehicles/polo/rollcage_and_shit.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       diffuseColor[0] = "0.0203138 0.0203138 0.0203138 1";
       translucentBlendOp = "None";
       doubleSided = "1";
       cubemap = "BNG_Sky_02_cubemap";
    };
    
    singleton Material(polo_carbon_material)
    {
       mapTo = "carbon-material";
       diffuseMap[1] = "vehicles/polo/carbon_texture.jpg";
       specularMap[1] = "vehicles/polo/carbon_texture_s.jpg";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       diffuseColor[0] = "0.4 0.4 0.4 1";
       diffuseColor[1] = "0.4 0.4 0.4 1";
       specular[0] = "0.5 0.5 0.5 1";
       specularPower[0] = "50";
       doubleSided = "1";
       translucentBlendOp = "None";
    };
    
    singleton Material(polo_underbody)
    {
       mapTo = "polo_underbody";
       diffuseMap[1] = "vehicles/polo/polo_underbody.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "0.1 0.1 0.1 1";
       diffuseColor[1] = "1 1 1 0.95";
       diffuseColor[2] = "0.06 0.06 0.06 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo_windows_material)
    {
       mapTo = "polo_windows-material";
       diffuseMap[1] = "vehicles/polo/polo_windows.png";
       specularColor[0] = "1 1 1 1";
       //diffuseColor[0] = "0.0126189 0.0186896 0.0336203 0.5";
       useAnisotropic[1] = "1";
       specularPower[0] = "128";
       pixelSpecular[0] = "1";
       specularPower[1] = "128";
       specular[0] = "0.2 0.2 0.2 1";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 0.2";
       diffuseColor[1] = "1 1 1 0.9";
       //diffuseColor[2] = "1.5 1.5 1.5 1";
       castShadows = "0";
       translucent = "1";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
    };
    
    singleton Material(polo_windows_inside)
    {
       mapTo = "polo_windows_inside";
       diffuseMap[1] = "vehicles/polo/polo_windows_inside.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "128";
       pixelSpecular[0] = "1";
       specularPower[1] = "128";
       specular[0] = "0.5 0.5 0.5 1";
       pixelSpecular[1] = "1";
       specularColor[0] = "1 1 1 1";
       diffuseColor[0] = "1 1 1 0";
       diffuseColor[1] = "1 1 1 0.8";
       //diffuseColor[2] = "1.5 1.5 1.5 1";
       castShadows = "0";
       translucent = "1";
       alphaTest = "0";
       alphaRef = "0";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
    };
    
    singleton Material(polo_glass_dmg)   
    {
       mapTo = "polo_glass_dmg";
       diffuseMap[1] = "vehicles/polo/polo_windows_dmg.png";
       //diffuseColor[0] = "0.0126189 0.0186896 0.0336203 0.5";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "128";
       pixelSpecular[0] = "1";
       specularPower[1] = "128";
       specular[0] = "0.5 0.5 0.5 1";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 0.2";
       diffuseColor[1] = "1 1 1 0.6";
       //diffuseColor[2] = "1.5 1.5 1.5 1";
       castShadows = "0";
       doubleSided = "1";
       translucent = "1";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       doublesided = "1";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
    };
    
    singleton Material(polo_diffusor)
    {
       mapTo = "diffusor";
       diffuseMap[1] = "vehicles/polo/diffusor.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       diffuseColor[0] = "0.64 0.64 0.64 1";
       specular[0] = "0.5 0.5 0.5 1";
       specularPower[0] = "50";
       doubleSided = "1";
       translucentBlendOp = "None";
    };
    
    singleton Material(polo_suspension2_material)
    {
       mapTo = "suspension2-material";
       diffuseMap[1] = "vehicles/polo/polosuspension.png";
       specularColor[0] = "1 1 1 1";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "0.1 0.1 0.1 1";
       diffuseColor[1] = "1 1 1 0.95";
       diffuseColor[2] = "0.7 0.7 0.7 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
       castShadows = "1";
       translucent = "1";
       translucentBlendOp = "None";
       alphaTest = "0";
       alphaRef = "0";
       cubemap = "BNG_Sky_02_cubemap";
       materialTag0 = "beamng"; materialTag1 = "vehicle";
       doublesided = "1";
    };
    
    singleton Material(polo_interior2)
    {
       mapTo = "polo_interior2";
       diffuseMap[1] = "vehicles/polo/interiorbake.png";
       //normalMap[1] = "vehicles/polo/interioruv_n.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularColor[0] = "1 1 1 1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 1";
       specular[0] = "0.05 0.05 0.05 1";
       specular[1] = "0.05 0.05 0.05 1";
       //diffuseColor[2] = "0.76 0.49 0.11 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
    };
    
    singleton Material(interior2)
    {
       mapTo = "interior2";
       //normalMap[1] = "vehicles/polo/interioruv_n.png";
       specularPower[0] = "16";
       specularColor[0] = "1 1 1 1";
       pixelSpecular[0] = "1";
       diffuseColor[0] = "0 0 0 1";
       //diffuseColor[2] = "0.76 0.49 0.11 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
    };
    
    singleton Material(polo_seat)
    {
       mapTo = "polo_seat";
       diffuseMap[1] = "vehicles/polo/polo_seat.png";
       //normalMap[1] = "vehicles/polo/interioruv_n.png";
       useAnisotropic[1] = "1";
       specularPower[0] = "16";
       pixelSpecular[0] = "1";
       specularColor[0] = "1 1 1 1";
       specularPower[1] = "16";
       pixelSpecular[1] = "1";
       diffuseColor[0] = "1 1 1 1";
       diffuseColor[1] = "1 1 1 1";
       specular[0] = "0.05 0.05 0.05 1";
       specular[1] = "0.05 0.05 0.05 1";
       //diffuseColor[2] = "0.76 0.49 0.11 1";
       //diffuseColor[3] = "1.5 1.5 1.5 1";
    };
    
     
  2. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    Change the author name to another thing and delete "value" line. (If you're working on version 0.22)
     
  3. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,381
    doesn't do anything at all
    --- Post updated ---
    ?
     
  4. Sithhy™

    Sithhy™
    Expand Collapse

    Joined:
    Apr 5, 2017
    Messages:
    3,342
    You should replace all of these to },
     
  5. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,381
    With comma or without comma?
    --- Post updated ---
    well I tried it with comma and it just f**ked up all the materials. keep in mind that's a materials.cs for the second one.
     
  6. Sithhy™

    Sithhy™
    Expand Collapse

    Joined:
    Apr 5, 2017
    Messages:
    3,342
    Only the closing brackets should have a comma
     
  7. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,381
    it's a materials.cs.
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Have you actually added that material properly in Blender?
     
  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