$cdmaterials: Difference between revisions
Jump to navigation
Jump to search
Note:Subfolders will not be searched.
mNo edit summary |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The [[QC command]] [[$cdmaterials]] | The [[QC command]] <code>[[$cdmaterials]]</code> defines the folders in which the game will search for the model's [[material]]s, relative to <code><game>/materials/</code>. | ||
{{note|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" | |||
[[Category:QC Commands]] | [[Category:QC Commands]] |
Revision as of 00:47, 26 April 2008
The QC command $cdmaterials
defines the folders in which the game will search for the model's materials, relative to <game>/materials/
.

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"