How do I add custom materials to the Materials tool?


[editline]12th March 2014[/editline]


[editline]12th March 2014[/editline]


list.Add( "OverrideMaterials", "something/something" )

Path for the second parameter starts in materials. You don’t need .vtf at the end of the item. Run the code serverside.

In the console, right?

No, you can’t run lua code via console. Create a new file in lua/autorun/server.