I have decided to take another crack at making a map, I decided to use the template map that is shipped with the game. Does anyone know which materials file the grass loads from (where the no material Boxes are seen)
The grass material associated with that should be located in the main material editor (BNG_grass) or something similar. In the editor and under the scene tree there should be a groundcover object. Click on that and examine the material associated with it. Click on the small material icon in the groundcover object, that will open the main material editor and you can select a grass texture for it to render. First and foremost make sure the 'layer' selection in the groundcover object is seeing the right grass terrain material.
I will have to open up the template map to see what's going on there. Have you changed anything in it or does it act like that out of the gate? See the attached screens. I have numbered the sequence of the things to check. If you do this right the grass should come back. If you have tampered with the map and lost the texture it would just be better to re-download (verify game cache) through Steam and start over.
I have decided to attach my map so you could see what is wrong with it. I don't really care if anyone decides to upload this as who looks here for mods anyway. Put the files in the smaller zip into a folder called levels in your BeamNG.drive folder in my documents. If you can find a way to merge the two zips that would be kindly appreciated as I tried but I ended up breaking the map.
I'll see what I can do. --- Post updated --- Okay so are you just trying to get your grass back without having to rename a whole new map?...that's what I'm guessing here. As usual, all the details of what you WERE doing and what you WANT to happen are always helpful. --- Post updated --- Try this. My zipping skills are kinda crap.
Okay. I downloaded it and tested and it works for me. Using 7zip. Same stock procedure and settings I've always used.
I can try again when back to my PC. It downloaded and opened up with everything intact (grass yay!), just fine. I seem to recall internet issues causing the invalid file problem before. Keep trying and make sure your caches are 100% clean if a download succeeds.
usually this stuff can happen when the full pathname to the graphic is not included, or the required graphic is not included or properly placed in your path structure. For some dumb reason, even though in say GRIDMAP some grass is just given the path grass_03.dds it WONT find it even if the file and materials.cs file is in the same folder. With ./grass_03.dds it might find it (works on .dae object files), and using the full levels/whateverlevelnameitis/art/groundcover/grass03.dds will definitely find it. The lush grass in the ECA wasn't working because of this same error. The level you're making needs to have both the grass file, and it needs the grass to be referenced properly in the materials.cs. The materials.cs that I'm talking about in *MY* map, is at levels/levelname/art/shapes/groundcover. The grass files should be in there, too. You'll need to put the proper pathname in, but just make sure it doesn't have a / at the beginning of the path either. Look for simple typos like SHAPE instead of SHAPES or ROAD instead of ROADS in your pathnames. Check the console for the RED error text for the file it can't find, and either rename/copy the file to match the console error, and reload the map, or close the game and fix the .cs scripting, and reload the map. On my map most of the grass is grass_field.dds
It also helps (when the confidence is there), to re-name all materials to something FAR away from any other map. It doesn't matter if you are using existing textures or downloaded stuff. Naming ALL materials used in a map with something custom really helps cut down on confusion no matter what your level of expertise. Make a material your own from start to finish!
Hey @ktheminecraftfan , is your map working properly now? Or is there still a problem with the material?
Hi. Glade your problem is solved. Just to ask... Do everyone have the same issue than me ? When i create a new material in the editor and then save the game and quit. The new material is registred in a material.cs created in /My documents/beamng/ folder. All my map files are in steam/common/beamng.... Surelly I manually copy and paste the new created content in the right folder afterward, but it is just normal or their is something im doing wrong?