Category talk:QC Commands

From Valve Developer Community
Jump to: navigation, search
Icon-message-48px.png
Welcome to Category talk:QC Commands!
This is the start of the QC Commands discussion page.

To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.

Checklist

Please add any new ones you come across to this list.

  • Several example QC files can be found in sourcesdk_content\hl2\modelsrc\.
  • There's a great rundown of the core commands for HL1 here.

  1. $addsearchdir
  2. $adduvmapchannelto
  3. $allowactivityname
  4. $allowrootlods
  5. $alwayscollapse
  6. $ambientboost
  7. $animation
  8. $animblocksize
  9. $append
  10. $appendblankbodygroup
  11. $appendsource
  12. $attachment
  13. $autocenter
  14. $bbox
  15. $bboxonlyverts
  16. $body
  17. $bodygroup
  18. $bodygrouppreset
  19. $bonealwayssetup
  20. $boneflexdriver
  21. $bonemerge
  22. $bonesaveframe
  23. $brightness
  24. $calctransitions
  25. $casttextureshadows
  26. $cbox
  27. $cd
  28. $cdmaterials
  29. $centerbonesonverts
  30. $checkuv
  31. $clampworldspace
  32. $cliptotextures
  33. $cloth
  34. $clothplanecollision
  35. $cmdlist
  36. $collapsebones
  37. $collapsebonesaggressive
  38. $collisionjoints
  39. $collisionmodel
  40. $collisionprecision
  41. $collisiontext
  42. $constantdirectionallight
  43. $contentrootrelative
  44. $contents
  45. $continue
  46. $controller
  47. $declareanimation
  48. $declaresequence
  49. $defaultfadein
  50. $defaultfadeout
  51. $defaultweightlist
  52. $definebone
  53. $definemacro
  54. $donotcastshadows
  55. $erroronsequenceremappingfailure
  56. $erroronsequenceremappingfailure_disable
  57. $externaltextures
  58. $eyeposition
  59. $fakevta
  60. $forcephonemecrossfade
  61. $forcereal
  62. $forcerealign
  63. $gamma
  64. $hbox
  65. $hboxset
  66. $heirarchy
  67. $hgroup
  68. $hierarchy
  69. $ikautoplaylock
  70. $ikchain
  71. $illumposition
  72. $include
  73. $includemodel
  74. $insertbone
  75. $internalname
  76. $jigglebone
  77. $jointcontents
  78. $jointsurfaceprop
  79. $keepupright
  80. $keyvalues
  81. $lcaseallsequences
  82. $limitrotation
  83. $lockbonelengths
  84. $lockdefinebones
  85. $lod
  86. $maxeyedeflection
  87. $maxverts
  88. $minlod
  89. $model
  90. $modelhasnosequences
  91. $modelname
  92. $mostlyopaque
  93. $motionrollback
  94. $noforcedfade
  95. $obsolete
  96. $opaque
  97. $origin
  98. $overridematerial
  99. $phyname
  100. $popd
  101. $poseparameter
  102. $prefer_fbx
  103. $prepend
  104. $preservetriangleorder
  105. $proceduralbones
  106. $pushd
  107. $qcassert
  108. $realignbones
  109. $redefineattachment
  110. $renamebone
  111. $renamebonesubstr
  112. $renamematerial
  113. $renamematerialsubstr
  114. $root
  115. $scale
  116. $screenalign
  117. $sectionframes
  118. $sequence
  119. $shadowlod
  120. $skinnedLODs
  121. $skipboneinbbox
  122. $skiptransition
  123. $staticprop
  124. $stripboneprefix
  125. $stripmaterialpaths
  126. $subd
  127. $surfaceprop
  128. $texturegroup
  129. $unlockdefinebones
  130. $upaxis
  131. $weightlist
  132. $worldalign
  133. $zbrush

Articles

Icon-user.png
Empty.png
Beeswax9:35, 30 March 2008 (UTC)
If you can, please help by creating a documentation article or two! Please remember to use only the $example_command for the title and add the QC Commands category tag to the page, ie :
[[Category:QC Commands]]

Redirect Pages

Sometimes it makes more sense to document a bunch of related commands within a single parent article. In that case, please create a Soft Redirect page for each $example_command included. eg :

Please see [[parent_article_title]]. [[Category:QC Commands]]

Please do not use Hard Redirects for $example_command pages

#REDIRECT [[parent_article_title]]. [[Category:QC Commands]] 
because these will not get listed (indexed) on the QC Commands category page.

Sub-Categories

Icon-user.png
Empty.png
Beeswax7:16, 8 April 2008 (UTC)
It may be useful to 'gather up' groups of QC commands that are used for 'special model features' into sub categories, to allow more topic-specific browsing of the commands. However, I would urge that sub-categorised commands are also listed in the main category, so a complete list is maintained. If anyone has any bright ideas for subcategories of QC commands please discuss here.
Icon-user.png
Empty.png
Beeswax7:16, 8 April 2008 (UTC)
  • category:QC Keyvalues is for QC $keyvalues blocks such as Prop Data. These important QC compile parameters seem to have been 'tacked onto' the main QC format as new Source Engine features became available?
  •  :category:QC Feature Overviews:
    • Surface Properties (ie $surfaceprop and VMT & VTF reference & UV mapping stuff?)
    • Bones, Physboxes & Hitboxes
    • Breakables & Ragdolls
    • Joints, Attachments & Rigging (IK (Inverse Kinematics) system)
    • Animations, Sequences & AI_Activities
  •  :category:QC Tutorials:

Adding skins to an UNcompiled model?

Icon-user.png
Empty.png
Subject1583712:07, 3 May 2009 (UTC)
I have a model I want to compile and I'm not sure what command I use to give it more skins. Anyone know?
Icon-user.png
Empty.png
TomEdwards19:41, 4 May 2009 (UTC)

Flatshading

Icon-user.png
Empty.png
AUserofSourceSDK19:35, 1 January 2010 (UTC)
Is there any QC command to tell studiomdl that the model shouldn't be smoothed?