I am currently following the Glass skin tutorial to make a skin for my ETK I-Series mod. I'm able to select the skin in the part selector... but somehow the connection between the globalSkin and my material.cs doesn't work. The game doesn't even try to load the .dds-files specified in the material.cs as far as I can see.
You made two errors. 1. No ".." Wrong Code: singleton Material(etki_glass.skin.etki_scrapeworks) Correct Code: singleton Material("etki_glass.skin.etki_scrapeworks") 2. globalSkin doesn't match the actual skin globalSkin in .Jbeam : etki_skin_scrapeworks globalSkin in Materials.cs : etki_scrapeworks (notice the _skin_ part) Change the globalSkin in the .Jbeam to etki_scrapeworks and you are good to go.
To make it work , you need some modifications : you "global_skin" need to have the exact same name that the kin name on materials Code: "globalSkin": "etki_scrapeworks", Code: mapTo = "etki_glass.skin_glass.etki_scrapeworks"; also you need to put your singletonMaterials between " " : Code: singleton Material("etki_glass.skin_glass.etki_scrapeworks") and on the materials.cs, you should name your skin for glass : skin_glass : Code: singleton Material("etki_glass.skin_glass.etki_scrapeworks") { mapTo = "etki_glass.skin_glass.etki_scrapeworks"; reflectivityMap[0] = "vehicles/common/glass_base.dds"; diffuseMap[0] = "vehicles/etki/etki_skin_scrapeworks/etki_glass_d_scrapeworks.dds"; opacityMap[0] = "vehicles/etki/etki_skin_scrapeworks/etki_glass_d_scrapeworks.dds"; diffuseMap[1] = "vehicles/etki/etki_glass_da.dds"; specularMap[0] = "vehicles/common/null.dds"; normalMap[0] = "vehicles/common/null_n.dds"; diffuseColor[1] = "0.5 0.5 0.5 0.75"; specularPower[0] = "128"; pixelSpecular[0] = "1"; diffuseColor[0] = "1 1 1 1"; useAnisotropic[0] = "1"; castShadows = "0"; translucent = "1"; alphaTest = "0"; alphaRef = "0"; dynamicCubemap = true; materialTag0 = "beamng"; materialTag1 = "vehicle"; };