• How to access gamemode content folder?
    2 replies, posted
Hey. Don't understand how to access gamemode content folder. I have a custom vtf in the content/materials folder of my gamemode, and when I try to reference it in derma it doesn't work, just puts a missing texture.
the content folder is mounted, so it's just /garrysmod/materials. So if you want to use that material, just handle it like it would be in the material folder. in that case: [lua] local mat = Material('custom.vtf', 'noclamp smooth') [/lua]
[QUOTE=Tomelyr;50773650]the content folder is mounted, so it's just /garrysmod/materials. So if you want to use that material, just handle it like it would be in the material folder. in that case: [lua] local mat = Material('custom.vtf', 'noclamp smooth') [/lua][/QUOTE] I thought material parameters were for PNGs only :0
Sorry, you need to Log In to post a reply to this thread.