hello! i'm making a map with a figure-8-like race track that supposed to be driven by AI, i just like to spectate how AI drives around and crashes on intersections. i want it look like it's grass/dirt, but AI can't drive a bit powerful RWD cars on grass terrain, they are veering their ass on whole width of road even if it's stright, and often they spun. and as more powerful the car, as worse situation becomes. AI just can't get decent speed before intersection to crash into another car that can't get speed too. so, here is the thing that i want - make terrain look like grass and have a grip like a tarmac, also i want particles thrown from wheels to be dirt. is it possible to make? i don't want it to be realistic, i want it to be fun and spectacular
You can add custom groundmodels to make this work; see this thread: https://www.beamng.com/threads/groundmodel-properties.24270/ In your myGroundModels.json, the name (or one of the aliases) should match the texture that you're trying to modify; open art/textures/materials.cs in your map files, and edit the internalName of the texture that you want so it matches the name or alias in myGroundModels.json. If I'm not mistaken, "collisiontype": "DIRT", will give you the dirt effect. I actually haven't tried all this myself, but it sounds right.
i don't have MyGroundModels.json, nor folder called textures, i can't find them even in other maps default or mod. the example file you gave me a link has only "goo" properties, where i can find other terrain properties and collisiontypes? i created a folder and put that myGroundModels.json in it, so now i have a terrain with "goo" properties, and if i change "aliases" - it will have texture of that terrain. also the particles part question is still here. i meant to say i want particles to be from mud.
Oops, mistake. It's art/terrains/materials.cs; I got the words confused. As for myGroundModels.json, make sure it gets saved in levels/yourLevel/groundmodels. You can modify it by copying info from the main groundmodels.json file, found in C:/Program Files/Steam/steamapps/common/BeamNG.drive/gameengine.zip/art (yes, it's in the zipped archive; copy and paste out that file if you want to). Also, it looks like "collisiontype": "MUD", is possible, so if you piece it all together, it should work.