$cdmaterials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (increased quality) |
||
Line 3: | Line 3: | ||
==Description== | ==Description== | ||
$cdmaterials | $cdmaterials "path/to/files" "this/works/too" ... | ||
==Parameters== | ==Parameters== | ||
* | * The specified directories should be relative to <code>materials/</code> and should encompass the directories of all materials used in the model. | ||
==Example== | ==Example== | ||
$modelname "weapons/shell.mdl" | $modelname "weapons/shell.mdl" | ||
'''$cdmaterials "models/weapons/"''' | '''$cdmaterials "models/weapons/"''' | ||
$model "Shell" "shell.smd" | $model "Shell" "shell.smd" | ||
$sequence "idle" "shell.smd" | $sequence "idle" "shell.smd" |
Revision as of 20:56, 13 October 2007
Used to provide directories for the game to search for the models materials.
Description
$cdmaterials "path/to/files" "this/works/too" ...
Parameters
- The specified directories should be relative to
materials/
and should encompass the directories of all materials used in the model.
Example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $model "Shell" "shell.smd" $sequence "idle" "shell.smd"