$modelname: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (increased quality) |
||
Line 3: | Line 3: | ||
==Description== | ==Description== | ||
$modelname | $modelname "path/to/model.mdl" | ||
==Parameters== | ==Parameters== | ||
* | * This filename should be relative to the models/ directory in the mod. | ||
==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:50, 13 October 2007
Specifies the filename of the compiled model.
Description
$modelname "path/to/model.mdl"
Parameters
- This filename should be relative to the models/ directory in the mod.
Example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $model "Shell" "shell.smd" $sequence "idle" "shell.smd"