$cdmaterials: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
  [[$sequence]] idle "shell-idle.smd"
  [[$sequence]] idle "shell-idle.smd"


[[Category:QC Commands|c]]
[[Category:QC Commands|C]]

Revision as of 12:04, 27 April 2008

The QC command $cdmaterials defines the folders in which the game will search for the model's materials, relative to <game>/materials/.

Note.pngNote:Subfolders will not be searched.

Options

$cdmaterials <path> <second path> ...

QC syntax Example

$modelname		"weapons/shell.mdl"
$cdmaterials		"models/weapons/"
$body		shell	"shell-ref.smd"
$sequence	idle	"shell-idle.smd"