HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Tweaking animations: .mdl or 3dsmax work?

05-08-2004, 04:26 PM#1
th15
Sorry if i'm a little dense but what i want to do is to raise the death animation of the carrion beetle in the Z plane. Right now it dies and sinks into ground so you never see the corpse of the thing.

So I was wondering if there's some way to do this just by editing the .mdl.

If it isn't possible then I guess I'll have to go to the requests forum and get someone to help me with it, but I'd much rather not trouble someone else.
05-09-2004, 05:30 PM#2
Oinkerwinkle
Indeed you can. First, identify where exactly you want to change the keyframe. We do this by looking at the sequences. Here is the death one:
Code:
    Anim "Death" {
        Interval { 33400, 36433 },
        NonLooping,
        MinimumExtent { -63.6743, -40.3552, -69.655 },
        MaximumExtent { 48.5795, 39.2026, 79.2601 },
        BoundsRadius 75.3906,
}
As you can see, the death goes from frame 33400 to 36433.

Next, we need to know which bone we want to mess with. In this case, it's Bone_Root because the whole model is moving. Search for Bone_Root and it will bring you to it. Because we are messing with movement (not rotation or scaling), find the Translation section. Next, scroll down to frame 33400. You should find this:

Code:
    34300: { -8.65782, 5.85875, [u][b]-2.83528[/b][/u] },
        InTan { 0.716451, -3.70484, 0 },
        OutTan { 0.83586, -4.32232, 0 },
That bolded number is how far up/down. At this point, it is only about -3, which isn't far under ground. The real problem comes later in the animation. If you look on later (but before 36433), you'll see it decreases dramatically.

Code:
    34833: { -2.56999, -21.2162, [u][b]-41.689[/b][/u] },
        InTan { 5.47905, -7.64563, -34.9683 },
        OutTan { 0.608784, -0.849515, -3.88537 },

....

    36433: { -2.56999, -21.2162, [u][b]-55.933[/b][/u] },
        InTan { 0.210099, 1.82899, 4.82181 },
        OutTan { 2.22704, 19.3873, 51.1112 },

Go through and change all the y's to something higher, probably about -10. You can always make changes and check again to see what looks best.
05-09-2004, 07:24 PM#3
th15
Mmm. I don't know which number you have in bold up there, it doesn't show up.

I've tried changing all of the Y values and it's had absolutely no effect on the way it dies :(
05-09-2004, 11:06 PM#4
Oinkerwinkle
Ok, I underlined it too. Also, here's the MDX with it not going under so you can compare.
05-10-2004, 12:34 AM#5
WC3player2
I'm trying to lower the tauren's right arm.(I removed the log) So I can make an alpha tuaren, but what do I do if the translation looks like this?

Translation 11 {
DontInterp,
3333: { 0.000128678, 0, 0 },
20000: { 0.000128032, 0, 0 },
30000: { 0.000130198, 0, 0 },
33333: { 0.000129781, 0, 0 },
36667: { 0.000129781, 0, 0 },
46667: { 0.000133918, 0, 0 },
53333: { 0.000128032, 0, 0 },
113333: { 0.000129781, 0, 0 },
133333: { 0.000126394, 0, 0 },
133367: { 0.000126394, 0, 0 },
193333: { 0, 0, 0 },
}
05-10-2004, 02:46 AM#6
th15
Oh hell, that explains it. I've been poking the wrong value, thanks a bunch oink :)