Skeleton motion mapping:jp

From Valve Developer Community
Revision as of 04:32, 6 September 2005 by RumikoHoshino (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

originally translated by RumikoHoshino, 2005/9/6
original English version: Skeleton motion mapping
モーションマッパー

=



motionmapper.exe sourceAnimation.smd targetSkeleton.smd mappedMotion.smd

"sourceAnimation.smd"<<code>"targetSkeleton.smd"<<code>"mappedMotion.smd"<









=



"%sourcesdk%\bin\MotionMapper.exe" "%sourcesdk%\..\sourcesdk_content\hl2mp\modelsrc\combine_soldier_xsi\reload_standing.smd" "%sourcesdk%\..\sourcesdk_content\generic\modelsrc\heavy_walk.smd" "%sourcesdk%\..\sourcesdk_content\generic\modelsrc\MOTIONMAPPED_reload_standing.smd"


  1. <code>"%sourcesdk%\..\sourcesdk_content\hl2mp\modelsrc\combine_soldier_xsi\reload_standing.smd"<
  2. <code>"%sourcesdk%\..\sourcesdk_content\generic\modelsrc\heavy_walk.smd"<
  3. <code>"%sourcesdk%\..\sourcesdk_content\generic\modelsrc\MOTIONMAPPED_reload_standing.smd"<

<code>sourcesdk_content\hl2mp\modelsrc\player\player_anims.qci<

$makereload TEST_reload_shotgun "..\..\..\generic\modelsrc\motionmapped_reload_standing" ACT_HL2MP_GESTURE_RELOAD_SHOTGUN 1


"%sourcesdk%\bin\studiomdl" -game "%sourcesdk%\..\half-life 2 deathmatch\hl2mp" "%sourcesdk%\..\sourcesdk_content\hl2mp\modelsrc\player\player_male_anims.qc"


<code>Half-Life 2 Deathmatch\hl2mp\models\player\male_anims.mdl<


=

<code>-templateFile<<code>-templateFile<


汎用テンプレートファイル



< <
<code>walk.mmt
twoHandedWeapon.mmt
twoHandedShoulderWeapon.mmt
rootLock.mmt

代替テンプレートファイル

  • default.mmt
  • template1.mmt
  • template2.mmt
  • template3.mmt
  • template4.mmt
  • template5.mmt
  • template6.mmt
  • template7.mmt

"default.mmt"<<code>-printTemplate<

motionmapper.exe -printTemplate > myTemplate.txt


テンプレート設定

<code>default.mmt<

<
  • ValveBiped.Bip01_L_Foot
  • ValveBiped.Bip01_R_Foot
  • ValveBiped.Bip01_L_Hand
  • ValveBiped.Bip01_R_Hand
<
<code>rootScaleJoint ValveBiped.Bip01_L_Foot
rootScaleAmount 1.0
toeFloorZ 2.7777
twoJointIKSolve ValveBiped.Bip01_L_Foot
reverseSolve 0.0
extremityScale 1.0
limbRootOffsetScale 1.0 1.0 0.0
relativeLock ValveBiped.Bip01_R_Hand 1.0
oneJointPlaneConstraint ValveBiped.Bip01_L_Toe0

=


jointScale ValveBiped.Bip01_L_Foot 1.5
skeletonScale 1.5