How do I add custom materials to the Materials tool?

title

[editline]12th March 2014[/editline]

Anyone?

[editline]12th March 2014[/editline]

:frowning:


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.