Hello, Before I start I'd like to say that I'm a complete and utter noob at any mods more serious than a license plate. Anyway I've been trying to make a simple glass skin mod that just adds a little sticker to the Covet's rear window, but whenever I select it the game loads for a moment and just crashes. It's most likely a programming problem, but I'm not sure... might also be me being a complete idiot I originally tried doing it using the tutorial on the wiki, but it's.. well.. outdated to say the least. The mod is in the zip file down below.
Nope, all brackets are closed. I also probably should add that I made an error packing the zip, I'll upload a new one now. --- Post updated --- UPDATE: I did some small changes to the code.. game still just crashes out though. No idea why, everything is as it should be I think..
Thanks! Sorry for being an absolute idiot lmao --- Post updated --- Still broken after fixing the Jbeam and converting the materials to json... dammit --- Post updated --- Here's the code for the JBeam and Json Spoiler: JBeam Code: { "pienjisticker": { "information":{ "authors":"potwor12", "name":"Pienji Backlight Sticker", "value": 15 }, "slotType" : "paint_design" "globalskin" : "pienjisticker" } } Spoiler: Json Code: { "hatch_glass.skin.pienjisticker": { "name": "hatch_glass.skin.pienjisticker", "class": "Material", "persistentId": "69", "Stages": [{ "colorMap": "vehicles/hatch/hatch_glass_d.dds", "diffuseColor": [1, 1.5, 1.5, 1], "normalMap": "vehicles/common/null_n.dds", "opacityMap": "vehicles/hatch/hatch_glass_d.dds", "pixelSpecular": true, "reflectivityMap": "vehicles/common/glass_base.dds", "specularMap": "vehicles/common/null.dds", "specularPower": 128, "useAnisotropic": true }, { "colorMap": "vehicles/hatch/hatch_glass_da.dds", "diffuseColor": [0.5, 0.5, 0.5, 0.75] }, { "colorMap": "vehicles/hatch/pienjisticker/hatch_glass_d_pienji.dds" } ], "alphaRef": 0, "castShadows": false, "dynamicCubemap": true, "mapTo": "hatch_glass.skin.pienjisticker", "materialTag0": "beamng", "materialTag1": "vehicle", "translucent": true } }