Proof of the pudding for rewriting all the Python code
into a library. Took all of 2 minutes to make the change
and check it. Here's the human skeleton's walk animation,
the one in MTW2_2H_Axe:
Code:
0 bone_pelvis animation data and deltas
+0.0000122126 +0.9590483308 -0.0000000000
+0.0017991858 +0.9512157440 +0.0901285559
+0.0026300352 +0.9396055937 +0.1802604198
+0.0000594494 +0.9203369617 +0.2704085112
-0.0063111591 +0.9033862948 +0.3605716527
-0.0137326801 +0.9005295038 +0.4507446289
-0.0189423133 +0.9042277336 +0.5409182310
-0.0211101491 +0.9193583131 +0.6310883760
-0.0210416745 +0.9396334291 +0.7212522626
-0.0201377589 +0.9517263174 +0.8114059567
-0.0226440672 +0.9510992169 +0.9015470743
-0.0249393098 +0.9356126189 +0.9916793704
-0.0272242893 +0.9162625670 +1.0818185806
-0.0254939552 +0.8969492912 +1.1719760895
-0.0179745089 +0.8883986473 +1.2621510029
-0.0077288523 +0.8950952291 +1.3523342609
-0.0011719284 +0.9107339382 +1.4425106049
+0.0010084946 +0.9343801737 +1.5326695442
+0.0000120707 +0.9590483308 +1.6228270531
You can see the y-value is roughly 0.91 and the z-value moves the
human from 0.0 to 1.622 in 19 frames.
Here's the scaled dwarf anim for the same section
after I ACTUALLY DO THE SCALING!
Code:
0 bone_pelvis animation data and deltas
+0.0000084836 +0.6137909293 -0.0000000000
+0.0012498223 +0.6087780595 +0.0626087040
+0.0018269803 +0.6013475657 +0.1252197027
+0.0000412971 +0.5890156627 +0.1878419816
-0.0043841098 +0.5781672001 +0.2504746914
-0.0095395437 +0.5763388872 +0.3131142557
-0.0131584676 +0.5787057281 +0.3757542670
-0.0146643762 +0.5883893371 +0.4383918643
-0.0146168098 +0.6013653874 +0.5010250807
-0.0139888953 +0.6091048717 +0.5636512637
-0.0157299284 +0.6087034941 +0.6262686849
-0.0173243415 +0.5987920761 +0.6888799667
-0.0189116243 +0.5864080191 +0.7514960766
-0.0177096315 +0.5740475655 +0.8141248822
-0.0124861719 +0.5685751438 +0.8767657876
-0.0053689247 +0.5728609562 +0.9394125342
-0.0008140918 +0.5828697085 +1.0020544529
+0.0007005609 +0.5980033278 +1.0646842718
+0.0000083850 +0.6137909293 +1.1273130178
This should actually put the dwarf on the ground and
reduce his x and z traversals as he walks.
Am e-mailing an updated animationutilities.py to you.
I made a new interface for the scaling values at lunch.
It now pops up a three entry edit box to put in your
scaling values. For now just accept the default values
I put in there, they should be correct for the dwarf.
Hit the OK button and you should see file names scrolling
in the DOS box.
Again, apologies for my bad.
KE
Bookmarks