Category:QC commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Animations: also include $append, $prepend and $continue)
(add submodel command)
Line 1: Line 1:
{{lang|Category:QC Commands}}
{{lang|Category:QC Commands}}__NOTOC__
{{note|This documentation is far from complete. Please see [[category_talk:QC Commands]] for a list of commands yet to be looked at. See [[Qc|QC]] for a description of QC files themselves.}}
{{note|This documentation is far from complete. Please see [[Category talk:QC Commands]] for a list of commands yet to be looked at. See [[Qc|QC]] for a description of QC files themselves.}}


{{category header|background-color=#E0E0E0|border-color=lightgray}}
{{category header|background-color=#E0E0E0|border-color=lightgray}}
Line 7: Line 7:
== Getting Started ==
== Getting Started ==


*'''[[Compiling a model]]'''
* '''[[Compiling a model]]'''
*[[QC|QC files]]
* [[QC|QC files]]
*[[Studiomdl]]
* [[Studiomdl]]


== Fundamentals ==
== Fundamentals ==


*{{ent|$modelname}}
* {{ent|$modelname}}
*{{ent|$body}} (or <code>[[$model (QC)|$model]]</code>)
* {{ent|$body}} (or <code>[[$model (QC)|$model]]</code>)


== Textures ==
== Textures ==
*{{ent|$renamematerial}}
* {{ent|$renamematerial}}
*{{ent|$texturegroup}} (multiple skins)
* {{ent|$texturegroup}} (multiple skins)
*{{ent|$cdmaterials}}
* {{ent|$cdmaterials}}
*{{ent|$surfaceprop}}
* {{ent|$surfaceprop}}
*{{ent|$jointsurfaceprop}}
* {{ent|$jointsurfaceprop}}
 
== Submodels ==
* {{ent|$bodygroup}} {{not|{{ent|prop_static}}}}


== Collisions ==
== Collisions ==
*'''{{ent|$collisionmodel}}''' and '''{{ent|$collisionjoints}}'''
* '''{{ent|$collisionmodel}}''' and '''{{ent|$collisionjoints}}'''
*<code>[[Prop Data|prop_data]]</code> (using {{ent|$keyvalues}})
* <code>[[Prop Data|prop_data]]</code> (using {{ent|$keyvalues}})
*{{ent|$jigglebone}} {{hl2ep2|since}}<noinclude>
* {{ent|$jigglebone}} {{hl2ep2|since}}<noinclude>
*'''{{ent|$hbox}}'''
* '''{{ent|$hbox}}'''
*{{ent|$hboxset}}
* {{ent|$hboxset}}
*{{ent|$contents}}
* {{ent|$contents}}


== Animations ==
== Animations ==
*'''{{ent|$animation}}'''
* '''{{ent|$animation}}'''
*'''{{ent|$sequence}}'''
* '''{{ent|$sequence}}'''
*{{ent|$declaresequence}}
* {{ent|$declaresequence}}
*{{ent|$ikchain}}
* {{ent|$ikchain}}
*{{ent|$weightlist}}
* {{ent|$weightlist}}
*{{ent|$poseparameter}}
* {{ent|$poseparameter}}
*{{ent|$proceduralbones}}
* {{ent|$proceduralbones}}
*{{ent|$append}}
* {{ent|$append}}
*{{ent|$prepend}}
* {{ent|$prepend}}
*{{ent|$continue}}
* {{ent|$continue}}


== Skeleton ==
== Skeleton ==
*{{ent|$root}}
* {{ent|$root}}
*{{ent|$hierarchy}}
* {{ent|$hierarchy}}
*{{ent|$definebone}}
* {{ent|$definebone}}
*{{ent|$bonemerge}}
* {{ent|$bonemerge}}
*{{ent|$animblocksize}}
* {{ent|$animblocksize}}
*{{ent|$realignbones}}
* {{ent|$realignbones}}
*{{ent|$renamebone}}
* {{ent|$renamebone}}
*{{ent|$jointsurfaceprop}}
* {{ent|$jointsurfaceprop}}
*{{ent|$contents}}
* {{ent|$contents}}
*{{ent|$jointcontents}}
* {{ent|$jointcontents}}
*{{ent|$alwayscollapse}}
* {{ent|$alwayscollapse}}


{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}


== Utility ==
== Utility ==
*'''{{ent|$keyvalues}}'''
* '''{{ent|$keyvalues}}'''
*{{ent|$include}}
* {{ent|$include}}
*{{ent|$includemodel}}
* {{ent|$includemodel}}
*{{ent|$scale}}
* {{ent|$scale}}
*{{ent|$autocenter}}
* {{ent|$autocenter}}
*{{ent|$upaxis}}
* {{ent|$upaxis}}
*{{ent|$pushd}} and {{ent|$popd}}
* {{ent|$pushd}} and {{ent|$popd}}
*{{ent|$definemacro}} and {{ent|$definevariable}}
* {{ent|$definemacro}} and {{ent|$definevariable}}
*{{ent|$continue}}
* {{ent|$continue}}
*{{ent|$cmdlist}}
* {{ent|$cmdlist}}
*{{ent|$centerbonesonverts}}
* {{ent|$centerbonesonverts}}


{{category cell|background-color=white|border-color=white}}
{{category cell|background-color=white|border-color=white}}


== Performance ==
== Performance ==
*{{ent|$staticprop}}
* {{ent|$staticprop}}
*{{ent|$shadowlod}}
* {{ent|$shadowlod}}
*{{ent|$collapsebones}}
* {{ent|$collapsebones}}
*{{ent|$alwayscollapse}}
* {{ent|$alwayscollapse}}
*{{ent|$opaque}}
* {{ent|$opaque}}
*{{ent|$mostlyopaque}}
* {{ent|$mostlyopaque}}
*{{ent|$animblocksize}}
* {{ent|$animblocksize}}
*{{ent|$sectionframes}}
* {{ent|$sectionframes}}
*{{ent|$noforcedfade}}
* {{ent|$noforcedfade}}
*{{ent|$lod}}
* {{ent|$lod}}
*{{ent|$maxverts}}
* {{ent|$maxverts}}


{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}
Line 90: Line 93:
== Lighting ==
== Lighting ==


*{{ent|$illumposition}}
* {{ent|$illumposition}}
*{{ent|$constantdirectionallight}}
* {{ent|$constantdirectionallight}}
*{{ent|$ambientboost}}
* {{ent|$ambientboost}}


{{category cell|background-color=white|border-color=white}}
{{category cell|background-color=white|border-color=white}}
Line 98: Line 101:
== Facial Animation ==
== Facial Animation ==


*'''<code>[[$model (QC)|$model]]</code>'''
* '''<code>[[$model (QC)|$model]]</code>'''
*{{ent|$eyeposition}}
* {{ent|$eyeposition}}


{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}


== Locations ==
== Locations ==
*{{ent|$attachment}}
* {{ent|$attachment}}
*{{ent|$origin}}
* {{ent|$origin}}
*{{ent|$collisiontext}} (gibs)
* {{ent|$collisiontext}} (gibs)
*{{ent|$autocenter}}
* {{ent|$autocenter}}


{{category end}}
{{category end}}
__NOTOC__[[Category:Modeling]]
[[Category:Modeling]]

Revision as of 08:51, 25 June 2023

Subcategories

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