Category talk:QC commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Removed {{Message}} template from talk page. This action was performed by a bot)
 
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Discussion page}}
== Checklist ==
== Checklist ==


Line 5: Line 6:
* 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]]
# [[$adduvmapchannelto]]
# [[$allowactivityname]]
# [[$allowrootlods]]
# [[$alwayscollapse]]
# [[$alwayscollapse]]
# [[$ambientboost]]
# [[$animation]]
# [[$animation]]
# [[$animblocksize]]
# [[$animblocksize]]
# [[$append]]
# [[$append]]
# [[$appendblankbodygroup]]
# [[$appendsource]]
# [[$attachment]]
# [[$attachment]]
# [[$autocenter]]
# [[$autocenter]]
# [[$bbox]]
# [[$bbox]]
# [[$bboxonlyverts]]
# [[$body]]
# [[$body]]
# [[$bodygroup]]  
# [[$bodygroup]]
# [[$bodygrouppreset]]
# [[$bonealwayssetup]]
# [[$boneflexdriver]]
# [[$bonemerge]]
# [[$bonemerge]]
# [[$bonesaveframe]]
# [[$brightness]]
# [[$calctransitions]]
# [[$calctransitions]]
# [[$casttextureshadows]]
# [[$cbox]]
# [[$cbox]]
# [[$cd]]
# [[$cd]]
# [[$cdmaterials]]
# [[$cdmaterials]]
# [[$centerbonesonverts]]
# [[$checkuv]]
# [[$clampworldspace]]
# [[$cliptotextures]]
# [[$cliptotextures]]
# [[$cloth]]
# [[$clothplanecollision]]
# [[$cmdlist]]
# [[$cmdlist]]
# [[$collapsebones]]
# [[$collapsebones]]
# [[$collapsebonesaggressive]]
# [[$collisionjoints]]
# [[$collisionjoints]]
# [[$collisionmodel]]
# [[$collisionmodel]]
# [[$collisionprecision]]
# [[$collisiontext]]
# [[$collisiontext]]
# [[$constantdirectionallight]]
# [[$contentrootrelative]]
# [[$contents]]
# [[$contents]]
# [[$continue]]
# [[$continue]]
Line 31: Line 55:
# [[$declareanimation]]
# [[$declareanimation]]
# [[$declaresequence]]
# [[$declaresequence]]
# [[$defaultfadein]]
# [[$defaultfadeout]]
# [[$defaultweightlist]]
# [[$definebone]]
# [[$definebone]]
# [[$definemacro]]
# [[$definemacro]]
# [[$donotcastshadows]]
# [[$erroronsequenceremappingfailure]]
# [[$erroronsequenceremappingfailure_disable]]
# [[$externaltextures]]
# [[$externaltextures]]
# [[$eyeposition]]
# [[$eyeposition]]
# [[$fakevta]]
# [[$forcephonemecrossfade]]
# [[$forcephonemecrossfade]]
# [[$forcereal]]
# [[$forcereal]]
# [[$forcerealign]]
# [[$gamma]]
# [[$gamma]]
# [[$hbox]]
# [[$hbox]]
# [[$hboxset]]
# [[$hboxset]]
# [[$heirarchy]]
# [[$hgroup]]
# [[$hgroup]]
# [[$hierarchy]]
# [[$hierarchy]]
Line 48: Line 81:
# [[$includemodel]]
# [[$includemodel]]
# [[$insertbone]]
# [[$insertbone]]
# [[$internalname]]
# [[$jigglebone]]
# [[$jigglebone]]
# [[$jointcontents]]
# [[$jointcontents]]
# [[$jointsurfaceprop]]
# [[$jointsurfaceprop]]
# [[$keepupright]]
# [[$keyvalues]]
# [[$keyvalues]]
# [[$lcaseallsequences]]
# [[$limitrotation]]
# [[$limitrotation]]
# [[$lockbonelengths]]
# [[$lockbonelengths]]
# [[$lockdefinebones]]
# [[$lockdefinebones]]
# [[$lod]]
# [[$lod]]
# [[$maxeyedeflection]]
# [[$maxverts]]
# [[$minlod]]
# [[$model]]
# [[$model]]
# [[$modelhasnosequences]]
# [[$modelname]]
# [[$modelname]]
# [[$mostlyopaque]]
# [[$mostlyopaque]]
# [[$motionrollback]]
# [[$noforcedfade]]
# [[$noforcedfade]]
# [[$obsolete]]
# [[$obsolete]]
# [[$opaque]]
# [[$opaque]]
# [[$origin]]
# [[$origin]]
# [[$overridematerial]]
# [[$phyname]]
# [[$popd]]
# [[$popd]]
# [[$poseparameter]]
# [[$poseparameter]]
# [[$prefer_fbx]]
# [[$prepend]]
# [[$prepend]]
# [[$preservetriangleorder]]
# [[$proceduralbones]]
# [[$proceduralbones]]
# [[$pushd]]
# [[$pushd]]
# [[$qcassert]]
# [[$realignbones]]
# [[$realignbones]]
# [[$redefineattachment]]
# [[$renamebone]]
# [[$renamebone]]
# [[$renamebonesubstr]]
# [[$renamematerial]]
# [[$renamematerial]]
# [[$renamematerialsubstr]]
# [[$root]]
# [[$root]]
# [[$scale]]
# [[$scale]]
# [[$screenalign]]
# [[$screenalign]]
# [[$sectionframes]]
# [[$sequence]]
# [[$sequence]]
# [[$shadowlod]]
# [[$skinnedLODs]]
# [[$skipboneinbbox]]
# [[$skipboneinbbox]]
# [[$skiptransition]]
# [[$staticprop]]
# [[$staticprop]]
# [[$stripboneprefix]]
# [[$stripmaterialpaths]]
# [[$subd]]
# [[$surfaceprop]]
# [[$surfaceprop]]
# [[$texturegroup]]
# [[$texturegroup]]
# [[$unlockdefinebones]]
# [[$upaxis]]
# [[$upaxis]]
# [[$weightlist]]
# [[$weightlist]]
# [[$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 :
== Redirect Pages ===
<nowiki>[[Category:QC Commands]]</nowiki>
 
=== 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 :
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 :
  <nowiki>Please see [[parent_article_title]]. [[Category:QC Commands]]</nowiki>
  <nowiki>Please see [[parent_article_title]]. [[Category:QC Commands]]</nowiki>
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. --Beeswax ([[User talk:Beeswax|talk]]) 09:35, 30 Mar 2008


== 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)
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 ([[User talk:Beeswax|talk]]) 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? --[[User:Beeswax|Beeswax]] 07:16, 8 Apr 2008 (PDT)
* [[: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 113: Line 168:
** 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 --Beeswax ([[User talk:Beeswax|talk]]) 07:16, 8 Apr 2008


== 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)
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 ([[User talk:Subject15837|talk]]) 12:07, 3 May 2009
[[$texturegroup]] --TomEdwards ([[User talk:TomEdwards|talk]]) 19:41, 4 May 2009
 
== Flatshading ==
 
Is there any QC command to tell studiomdl that the model shouldn't be smoothed? --AUserofSourceSDK ([[User talk:AUserofSourceSDK|talk]]) 19:35, 1 January 2010

Latest revision as of 19:56, 17 June 2024

Icon-message-48px.png
This is the discussion page of Category:QC commands. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

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

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

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. --Beeswax (talk) 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:
    • 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?

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 $texturegroup --TomEdwards (talk) 19:41, 4 May 2009

Flatshading

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