QC

From Valve Developer Community
Revision as of 14:15, 26 November 2008 by TomEdwards (talk | contribs) (guide was duping Compiling Models)
Jump to navigation Jump to search
For a full list of QC commands, see QC Commands.
To learn how to compile a model, see Compiling Models.

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 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 LODs. 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).

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

See also

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