Difference between revisions of "$modelname"

From Valve Developer Community
Jump to: navigation, search
m
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 05: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.

Tip.png Tip: By convention this should be the same name as the QC file, but it doesn't have to be.

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.

Template:Otherlang:en Template:Otherlang:en:ru