QC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(guide was duping Compiling Models)
No edit summary
Line 1: Line 1:
:''For a full '''list of QC commands''', see [[QC Commands]].''
:''For a list of '''QC commands''', see [[:Category:QC Commands]].''
:''To learn '''how to compile a model''', see [[Compiling Models]].''
:''To learn how to  '''compile a model''', see [[Compiling a model]].''


A '''QC''' file is a text-based script file that controls the process of compiling a [[SMD]] source file into the final MDL [[model]] that is read by the engine. The extension stands for [[Wikipedia:Quake C|Quake C]], the programming and scripting language from which the [[Valve Data File]] format was originally derived.
A '''QC''' file is a script file that controls the process of compiling [[Studiomdl Data|SMD]] data files into a binary [[model]] that can be used in a game. The extension stands for [[Wikipedia:Quake C|Quake C]], the programming and scripting language from which the [[Valve Data File]] format was originally derived.


In the QC, you set what the MDL name will be, what SMD files are used as the reference model, the physics model, and the [[LOD]]s. You can also set various physics properties, and surface properties (these adjust things like the bullet decals, and the sound that is played when the object is hit).
A QC configures things suc as the model's location and name, which SMD files are used to provide geometry, [[collision mesh]]es and [[skeletal animation|animation]]s, how the model reacts when shot, and so on.


{{tip|Shared QC files intended for use with <code>[[$include]]</code> are given the extension <code>qci</code>.}}
{{tip|Shared QC files intended for use with <code>[[$include]]</code> are given the extension <code>qci</code>.}}


== See also ==
== See also ==
* [[Compiling Models]]
 
* [[:Category:QC Commands]]
* [[:Category:QC Commands]]
* [[QC Commands]]
* [[Compiling a model]]
* [[LOD Models]]
* [[LOD Models]]
* [[Prop Types Overview]]
* [[Prop Types Overview]]
* [[Notepadpp VDF languages]]
* [[Highlighting and Compiling QCs with ConTEXT]]
* [[Highlighting and Compiling QCs with ConTEXT]]


Line 20: Line 21:


[[Category:Modeling]]
[[Category:Modeling]]
[[Category:Glossary]]

Revision as of 05:44, 9 January 2009

For a list of QC commands, see Category:QC Commands.
To learn how to compile a model, see Compiling a model.

A QC file is a script file that controls the process of compiling SMD data files into a binary model that can be used in a game. The extension stands for Quake C, the programming and scripting language from which the Valve Data File format was originally derived.

A QC configures things suc as the model's location and name, which SMD files are used to provide geometry, collision meshes and animations, how the model reacts when shot, and so on.

Tip.pngTip:Shared QC files intended for use with $include are given the extension qci.

See also

Template:Otherlang:en Template:Otherlang:en:jp