Hi, guys I want to add some meterials for Mess Road, but I don't know where the path of topMaterial, bottomMaterail, sideMaterail. Hope someone can share with me, thanks!
The quickest way is to copy JUST the main.materials.json from a working maps art folder into your maps art folder. Look in "X:\Steam\steamapps\common\BeamNG.drive\content\levels\MAPNAME.zip" Then inside the ZIP file for the map you want to copy the road textures from go to "\levels\MAPNAME\art\road\" In there should be the main.materials.json you can copy to your map. Not all road decals\textures may be in the ROADS folder so look around in the ART folder for what you want. This first method does NOT require any of the texture files (*.dds) as the main.materials.json will still reference the original maps texture files for you. But that does mean if the textures in the original map are updated\changed then your maps textures might break. Second option would be to copy the *.dds files of the textures you want to use then paste them into your maps ART folder. Do NOT copy the main.materials.json and then the first time you select the texture in game it will auto generate the main.materials.json for you. (this works well to start off, but can become messy or bugged later on if you are moving files around or adding\deleting textures in the future - and certain material settings might not be set properly) Third option would be to copy and paste the whole /art/roads/ folder to your map (or whichever folder you want). This method you will need to open the main.materials.json from your maps art/roads/ folder and then do a find and replace for the original map name and then replace with your maps name. (for example in main.materials.json) "colorMap" : "levels/utah/art/road/road-01_d.dds" to "colorMap" : "levels/YOURMAPNAME/art/road/road-01_d.dds" Hope this helps and isnt just jibberish. Im still learning quite a bit about making maps, but this is my basic understanding of textures. I have used the above methods and the textures I wanted did became available in the selection list in game. I would highly suggest watching some tutorial videos if you havent done so yet. There are couple out there they included a basic starter map thats stripped down which makes it easier to learn and follow along. Also each art subfolder has their own main.materials.json file. So its safest to keep a similar folder structure as the original maps. So "\art\shapes\roads\" or "\art\roads" etc. If you replace an existing main.materials.json it will break other textures. So if needed you can create your own new folder - its doesnt need to be called "roads" it just has to be located somewhere in the "art" folder to be visible in game (The proper way is to add new materials in the world editor's material library, but I'm not too sure on all the settings - so ive just been copying files from existing maps)