Category:QC commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(tablutated layout)
Line 1: Line 1:
[[:Category:QC Commands]] is a glossary index of commands or parameters available for use in writing a [[qc|QC]] file. 
__NOTOC__
 
{{note|This  documentation is far from complete. Please see [[category_talk:QC Commands]] for a list of commands yet to be looked at.}}
 
{{category header|background-color=#E0E0E0|border-color=lightgray}}
{{category newcolumn|rowspan=6|width=50%|background-color=#F7F7F7|border-color=lightgray}}
 
== Getting started ==
 
*'''[[Compiling a model]]'''
*[[Qc|QC files]]
*[[Studiomdl]]
 
== Fundamentals ==
 
*[[$modelname]]
*[[$body]] (or [[$model (QC)|$model]])
 
== Textures ==
 
*[[$surfaceprop]]
*[[$cdmaterials]]
 
== Animation ==
 
*'''[[$sequence]]'''
*'''[[$animation]]'''
*[[$declaresequence]]
*[[$ikchain]]
*[[$poseparameter]]
 
=== Skeletons ===
 
*[[$hierarchy]]
*[[$definebone]]
*[[$bonemerge]]
*[[$animblocksize]]
*[[$weightlist]]
*[[$realignbones]]
*[[$jointsurfaceprop]]
*[[$contents]]
*[[$jointcontents]]
 
== Physics ==
 
*[[$collisionmodel]]
*[[$collisionjoints]]
*[[$jigglebone]]
 
== Hitboxes==
 
*[[$hboxset]]
*[[$hbox]]
 
{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}
 
== Utility ==
 
*'''[[$keyvalues]]'''
*[[$include]]
*[[$scale]]
*[[$autocenter]]
*[[$upaxis]]
*[[$popd]]
*[[$pushd]]
*[[$definemacro]]
*[[$testmacro]]
*[[$cmdlist]]
 
{{category cell|background-color=white|border-color=white}}
 
== Performance ==
 
*[[$staticprop]]
*[[$lod]]
*[[$shadowlod]]
*[[$collapsebones]]
*[[$alwayscollapse]]
 
{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}
 
== Facial animation ==
 
*'''[[$model (QC)|$model]]'''
*[[$eyeposition]]
 
{{category cell|background-color=white|border-color=white}}
 
== Locations ==
 
*[[$attachment]]
*[[$illumposition]]
*[[$collisiontext]] (gibs)
 
{{category end}}


* A '''QC file''' is a [[text editor|text-based]] script which instructs [[Studiomdl]].exe how to compile an [[MDL]] model from an [[SMD]] file. The extension stands for "[[wiki:Quake C|Quake C]]", the programming and scripting language from which the [[Valve Data File]] format was originally derived.
* A '''QC file''' is a [[text editor|text-based]] script which instructs [[Studiomdl]].exe how to compile an [[MDL]] model from an [[SMD]] file. The extension stands for "[[wiki:Quake C|Quake C]]", the programming and scripting language from which the [[Valve Data File]] format was originally derived.
Line 10: Line 104:




{{warning| QC command documentation is far from complete. Please see [[category_talk:QC Commands]] for a list of suspects.}}
 


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

Revision as of 09:55, 27 April 2008


Note.pngNote:This documentation is far from complete. Please see category_talk:QC Commands for a list of commands yet to be looked at.

Getting started

Fundamentals

Textures

Animation

Skeletons

Physics

Hitboxes

Utility

Performance

Facial animation

Locations

  • A QC file is a text-based script which instructs Studiomdl.exe how to compile an MDL model from an SMD file. The extension stands for "Quake C", the programming and scripting language from which the Valve Data File format was originally derived.
  • A QCI file is a reusable or generic block of QC commands intended for use as an (optional) $include. You don't have to use the QCI files, but it can save a lot of work when appropriate.
  • Many example .qc and .qci files can be found under sourcesdk_content/hl2/modelsrc.

Subcategories

This category has the following 4 subcategories, out of 4 total.