When using the DecalRoad for creating the road lines, i can't get a yellow-colored Chalk-like line like the one found on Utah. I only find the white colored one. Speaking of texture finding, i got missing textures on my roads after i reloaded the map. These textures were from the Gridmap v2. When i looked up on the material browser. They weren't there anymore. Is there an explanation on how textures work?
Seems like it all depends on the map you initially copy the assets from, + the assets you make yourself, because importing assets from other maps via files seems to be really buggy.
I have no idea, I never managed to use other textures than from the map I'm modifying, there were always some problems and bugs.
How to get a road Find out the road Material name in Inspector window: line_yellow. Make a note of Node Width (0.300) and textureLength (9.600). Close the game. Go to BeamNG.drive/content/levels/Utah.zip/levels/Utah/art/road, open the main.materials.json, search for line_yellow, copy the section, in this case lines 1542-1581, and add it to the main.materials.json in levels/your_map/art/road. It's good practice to search your .json for another line_yellow if you're not sure there isn't one. You don't want duplicates. Now look at each of the texture map paths: all four .dds files can be found in levels/Utah/art/road. Go back to get them there, copy them to levels/your_map/art/road. Last thing to do is change the paths, replace the four /Utah/ bits with /your_map/ and save the .json file. In my example the line_yellow went to Blackhills map, and now the top of the .json looks like this: Spoiler: materials Code: { "line_yellow": { "name": "line_yellow", "mapTo": "unmapped_mat", "class": "material", "persistentId": "d9c1cac9-6599-436d-b815-dedd181ab16a", "Stages": [ { "colorMap": "/levels/blackhills/art/road/line_d.dds", "diffuseColor": [ 0.9215686917304992, 0.721568644, 0.333333343, 0.600000024 ], "normalMap": "levels/blackhills/art/road/line_n.dds", "specularMap": "levels/blackhills/art/road/line_s.dds", "specularPower": 1, "useAnisotropic": true }, { "colorMap": "levels/blackhills/art/road/AsphaltRoad_variation_01_d.dds", "diffuseColor": [ 0.992156923, 0.992156923, 0.992156923, 0.699999988 ] }, {}, {} ], "alphaRef": 255, "annotation": "SOLID_LINE", "castShadows": false, "materialTag0": "RoadAndPath", "materialTag1": "beamng", "specularStrength0": "0", "translucent": true, "translucentZWrite": true }, "derby_road_dirt_overlay" : { "name" : "derby_road_dirt_overlay", "mapTo" : "unmapped_mat", "class" : "Material", "persistentId" : "42a07e3d-16d1-4dfa-946c-06f711e7874a", "Stages" : [ Clear cache and open your map. Start laying yellow chalk line. Check console for errors.