$model: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (increased quality) |
||
Line 3: | Line 3: | ||
==Description== | ==Description== | ||
$model | $model "name" "smd" | ||
Used mainly for characters when the model needs complex parameters like eyes, flexes etc. In other cases, use [[$body]]. | Used mainly for characters when the model needs complex parameters like eyes, flexes etc. In other cases, use [[$body]]. | ||
==Parameters== | ==Parameters== | ||
* | * <code>name</code> can be any thing as it is only used in [[HLMV]]. | ||
* | * <code>smd</code> is the path to a reference smd, relative to the [[$cd|current path]]. | ||
==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:54, 13 October 2007
Specifies a reference smd file to be used as part of this model.
Description
$model "name" "smd"
Used mainly for characters when the model needs complex parameters like eyes, flexes etc. In other cases, use $body.
Parameters
name
can be any thing as it is only used in HLMV.
smd
is the path to a reference smd, relative to the current path.
Example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $model "Shell" "shell.smd" $sequence "idle" "shell.smd"