$cdmaterials: Difference between revisions
Jump to navigation
Jump to search
Note:Subfolders will not be searched.
Tip:Filenames are defined by the $body SMD(s).
m (minor cleanup) |
(→Example: Russian language link) |
||
Line 16: | Line 16: | ||
[[$sequence]] idle "shell_idle.smd" | [[$sequence]] idle "shell_idle.smd" | ||
{{otherlang:en}} | |||
{{otherlang:en:ru|$cdmaterials:ru}} | |||
[[Category:QC Commands|cdmaterials]] | [[Category:QC Commands|cdmaterials]] |
Revision as of 09:26, 2 November 2008
The QC command $cdmaterials
defines the folders in which the game will search for the model's materials, relative to <game>/materials/
.


Syntax
$cdmaterials <path> <second path> ...
Example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $body shell "shell_ref.smd" $sequence idle "shell_idle.smd"