$proceduralbones: Difference between revisions
Jump to navigation
Jump to search
m (minor cleanup) |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
'''$proceduralbones''' tells the engine to animate certain bones itself. See [http://forums.steampowered.com/forums/showthread.php?t=651604 this thread] for details. | |||
== Syntax == | == Syntax == | ||
<source lang=php> | |||
$proceduralbones <configuration file> | |||
</source> | |||
== Example == | |||
Some of Valve's configuration files can be found at: | |||
* <code>sourcesdk_content\hl2mp\modelsrc\humans_sdk\</code> | |||
* <code>sourcesdk_content\tf\modelsrc\player\demo\scripts\</code> | |||
* <code>sourcesdk_content\tf\modelsrc\player\heavy\scripts\</code> | |||
* <code>sourcesdk_content\tf\modelsrc\player\scout\scripts\</code> | |||
This is the Demoman's: | |||
<source lang=xml> | |||
<helper> hlp_forearm_L bip_lowerArm_L bip_lowerArm_L bip_hand_L | |||
<basepos> -7.13318e-015 -5.92222 -1.77636e-015 | |||
<trigger> 90 -1.78906e-015 3.97569e-016 3.18055e-015 0 0 0 0 0 0 | |||
<trigger> 90 0 89 0 0 65 0 0 0 0 | |||
<trigger> 90 0 -89 0 0 -65 0 0 0 0 | |||
<helper> hlp_forearm_R bip_lowerArm_R bip_lowerArm_R bip_hand_R | |||
<basepos> 3.60859e-005 5.92222 5.78543e-006 | |||
<trigger> 90 -6.75868e-015 1.59028e-015 3.18055e-015 0 0 0 0 0 0 | |||
<trigger> 90 0 89 0 0 65 0 0 0 0 | |||
<trigger> 90 0 -89 0 0 -65 0 0 0 0 | |||
</source> | |||
[[Category:QC Commands|proceduralbones]] | [[Category:QC Commands|proceduralbones]] |
Revision as of 09:01, 5 January 2011
$proceduralbones tells the engine to animate certain bones itself. See this thread for details.
Syntax
$proceduralbones <configuration file>
Example
Some of Valve's configuration files can be found at:
sourcesdk_content\hl2mp\modelsrc\humans_sdk\
sourcesdk_content\tf\modelsrc\player\demo\scripts\
sourcesdk_content\tf\modelsrc\player\heavy\scripts\
sourcesdk_content\tf\modelsrc\player\scout\scripts\
This is the Demoman's:
<helper> hlp_forearm_L bip_lowerArm_L bip_lowerArm_L bip_hand_L
<basepos> -7.13318e-015 -5.92222 -1.77636e-015
<trigger> 90 -1.78906e-015 3.97569e-016 3.18055e-015 0 0 0 0 0 0
<trigger> 90 0 89 0 0 65 0 0 0 0
<trigger> 90 0 -89 0 0 -65 0 0 0 0
<helper> hlp_forearm_R bip_lowerArm_R bip_lowerArm_R bip_hand_R
<basepos> 3.60859e-005 5.92222 5.78543e-006
<trigger> 90 -6.75868e-015 1.59028e-015 3.18055e-015 0 0 0 0 0 0
<trigger> 90 0 89 0 0 65 0 0 0 0
<trigger> 90 0 -89 0 0 -65 0 0 0 0