$modelname: Difference between revisions
Jump to navigation
Jump to search
Tip:By convention this should be the same name as the QC file, but it doesn't have to be.
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
The [[$modelname]] [[QC command]] must be used. It specifies the path and filename of the compiled model, relative to the current [[VPROJECT]] folder. | The [[$modelname]] [[QC command]] must be used. It specifies the path and filename of the compiled model, relative to the <code>\models</code> folder of the current [[VPROJECT]] folder. | ||
{{tip|By convention this should be the same name as the QC file, but it doesn't have to be.}} | {{tip|By convention this should be the same name as the QC file, but it doesn't have to be.}} |
Revision as of 06:16, 7 January 2009
The $modelname QC command must be used. It specifies the path and filename of the compiled model, relative to the \models
folder of the current VPROJECT folder.

Example
$modelname "weapons\shell.mdl" $cdmaterials "models\weapons\" $body shell "shell-ref.smd" $sequence idle "shell-idle.smd"
This model will be created at <game>\models\weapons\shell.mdl
.