Skeleton motion mapping:jp

From Valve Developer Community
Revision as of 21:32, 5 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"<"targetSkeleton.smd"<"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. "%sourcesdk%\..\sourcesdk_content\hl2mp\modelsrc\combine_soldier_xsi\reload_standing.smd" -
  2. "%sourcesdk%\..\sourcesdk_content\generic\modelsrc\heavy_walk.smd" -
  3. "%sourcesdk%\..\sourcesdk_content\generic\modelsrc\MOTIONMAPPED_reload_standing.smd" -

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"

-

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


=

-templateFile<-templateFile<


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



< <
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"<-printTemplate<

motionmapper.exe -printTemplate > myTemplate.txt


テンプレート設定

default.mmt<

<
  • ValveBiped.Bip01_L_Foot
  • ValveBiped.Bip01_R_Foot
  • ValveBiped.Bip01_L_Hand
  • ValveBiped.Bip01_R_Hand
<
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