From Valve Developer Community
Revision as of 14:10, 7 January 2009 by TomEdwards (talk | contribs)

Jump to: navigation, search

The QC command $cdmaterials defines the folders in which the game will search for the model's materials (subfolders are not searched). Each path is relative to <game>\materials\.

Tip:Material filenames are defined by the reference mesh ($body / $model.


$cdmaterials <path> <path 2> [...]


$modelname		"weapons/shell.mdl"
$cdmaterials		"models/weapons/"
$body		shell	"shell_ref.smd"
$sequence	idle	"shell_idle.smd"

Template:Otherlang:en Template:Otherlang:en:ru