$proceduralbones

From Valve Developer Community
Revision as of 09:01, 5 January 2011 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

$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