I make small convert to beamng, and can't assign few textures with materials.cs even f11 shape editor. What i do wrong? *also tried with colorMap[0] = "name"; and with path Also i wanted to add invisible mesh to prevent vehicle from stuck in some objects, as example this wood fence Is it possible to make this grey mesh invisible and save it collision?
Replace diffuseMap[0] with this path, minus the leading slash, and also add the texture extension. Code: diffuseMap[0] = "levels/sekia_hills/art/ground/confir.dds" Yes, see this video by Nadeox1 describing how to add collision
Thanks, this path works, just had to change file format from .dds to .png . And with mesh, my mistake , i meant something like invisible texture for this but i think to stay it like that. Thanks for help!
A couple more points on this - DDS should be used instead of PNG. PNG takes up more GPU memory and ends up being slower in the end. DDS is uploaded to the GPU compressed, and decompressed on the fly by the GPU. - With the linked tutorial, it tells you how to make that mesh invisible, collision only. That way the original fence wouldn't have collision.
I would like to use .dds, but every time i open material editor and try to change no material with right texture.dds it doesn't work. Material editor can use .dds only when i choose same texture in .png and then changing on it in .dds and save, works just before the restart game. Also finally make mesh i need invisible, play with color and transparency. (did not notice since i am blind)