Category talk:QC commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Checklist: added a pair of previously-ignored QC commands from the "orphaned pages" list)
(modernized with {{Message}})
Line 5: Line 5:
* Several example QC files can be found in <code>sourcesdk_content\hl2\modelsrc\</code>.
* Several example QC files can be found in <code>sourcesdk_content\hl2\modelsrc\</code>.
* There's a great rundown of the core commands for HL1 [http://articles.thewavelength.net/170/ here].
* There's a great rundown of the core commands for HL1 [http://articles.thewavelength.net/170/ here].
 
{{ExpandBox|{{ColumnBox|
# [[$addsearchdir]]
# [[$addsearchdir]]
# [[$adduvmapchannelto]]
# [[$adduvmapchannelto]]
Line 139: Line 139:
# [[$worldalign]]
# [[$worldalign]]
# [[$zbrush]]
# [[$zbrush]]
 
}}}}
== Articles ==
== Articles ==
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 :
{{Message
| user = Beeswax
| time = 09:35, 30 Mar 2008
| 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 :
  <nowiki>[[Category:QC Commands]]</nowiki>
  <nowiki>[[Category:QC Commands]]</nowiki>


Line 149: Line 152:
Please '''do not''' use Hard Redirects for $example_command pages
Please '''do not''' use Hard Redirects for $example_command pages
  <nowiki>#REDIRECT [[parent_article_title]]. [[Category:QC Commands]]</nowiki>  
  <nowiki>#REDIRECT [[parent_article_title]]. [[Category:QC Commands]]</nowiki>  
because these will not get listed (indexed) on the QC Commands category page. --[[User:Beeswax|Beeswax]] 09:35, 30 Mar 2008 (PDT)
because these will not get listed (indexed) on the QC Commands category page. }}


== Sub-Categories ==
== Sub-Categories ==
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. --[[User:Beeswax|Beeswax]] 07:16, 8 Apr 2008 (PDT)
{{Message
| user = Beeswax
| time = 07:16, 8 Apr 2008
| 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. }}


* [[: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? --[[User:Beeswax|Beeswax]] 07:16, 8 Apr 2008 (PDT)
{{Message
| user = Beeswax
| time = 07:16, 8 Apr 2008
|
* [[: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:
* :category:QC Feature Overviews:
** Surface Properties (ie [[$surfaceprop]] ''and'' [[VMT]] & [[VTF]] reference & [[UV map]]ping stuff?)
** Surface Properties (ie [[$surfaceprop]] ''and'' [[VMT]] & [[VTF]] reference & [[UV map]]ping stuff?)
Line 170: Line 180:
** eg Compiling a basic ValveBiped Character Model
** eg Compiling a basic ValveBiped Character Model
** eg Creating an Animation Library
** eg Creating an Animation Library
** eg Adding a New Skin to an Existing Model
** eg Adding a New Skin to an Existing Model }}


== Adding skins to an UNcompiled model? ==
== Adding skins to an UNcompiled model? ==


I have a model I want to compile and I'm not sure what command I use to give it more skins. Anyone know? [[User:Subject15837|Subject15837]] 12:07, 3 May 2009 (UTC)
{{Message
:[[$texturegroup]] --[[user:TomEdwards|TomEdwards]] 19:41, 4 May 2009 (UTC)
| user = Subject15837
| time = 12:07, 3 May 2009
| I have a model I want to compile and I'm not sure what command I use to give it more skins. Anyone know? }}
{{Message
| user = TomEdwards
| time = 19:41, 4 May 2009
| [[$texturegroup]] }}


== Flatshading ==
== Flatshading ==


Is there any QC command to tell studiomdl that the model shouldn't be smoothed? --[[User:AUserofSourceSDK|Pfannkuchen]] 19:35, 1 January 2010 (UTC)
{{Message
| user = AUserofSourceSDK
| time = 19:35, 1 January 2010
| Is there any QC command to tell studiomdl that the model shouldn't be smoothed? }}

Revision as of 21:00, 18 March 2023

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

(using Template:Message)  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.  --Beeswax (talk) 09:35, 30 Mar 2008 (UTC)

Sub-Categories

(using Template:Message)  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.  --Beeswax (talk) 07:16, 8 Apr 2008 (UTC)


(using Template:Message) 

Adding skins to an UNcompiled model?

(using Template:Message)  I have a model I want to compile and I'm not sure what command I use to give it more skins. Anyone know?  --Subject15837 (talk) 12:07, 3 May 2009 (UTC)

(using Template:Message)  $texturegroup  --TomEdwards (talk) 19:41, 4 May 2009 (UTC)

Flatshading

(using Template:Message)  Is there any QC command to tell studiomdl that the model shouldn't be smoothed?  --AUserofSourceSDK (talk) 19:35, 1 January 2010 (UTC)