HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dividing animations..

07-16-2004, 12:49 PM#1
Gooi
I've just taken out a Neverwinter nights model, and it only got 1 animation. That's "stand". All of it's animations is in the "stand" animation, and now i wonder if anyone could help me divide 'em.
07-16-2004, 02:12 PM#2
MaD[Lion]
u must get 3dsmax working and get art tool and read its tutorial, i bet everyone else would say that. Or u can copy the anim sequences from the original model and give it to ur model for war3
07-16-2004, 03:39 PM#3
Oinkerwinkle
Was this imported into 3ds max and then exported? If so, pretty much anyone with max could add the appropriate keys. Even you could manually add the sequences using some guessing and patience. Just scroll down to a bone with lots of rotation keys and look for largish gaps between them. They would probably be the pause that people generally put in between animations. Then, you could take the starting and ending frames of that closed packed group and put them as a sequence.

Code:
	Anim "NewAnimation" {
		Interval { 167, 1667 },
	}

After seeing it in the previewer, you would then just have to name it appropriately.

_________

To further explain what I mean by the gaps between them, here are part of the a unit's rotations for one bone.

Code:
	Rotation 44 {
		Hermite,
		12500: { 0, 0, 0, 1 },
			InTan { 0, 0, 0, 1 },
			OutTan { 0, 0, 0, 1 },
		12700: { 0, 0, -0.108867, -0.994056 },
			InTan { 0, 0, -0.108867, -0.994056 },
			OutTan { 0, 0, -0.108867, -0.994056 },
		12900: { 0, 0, -0.130526, 0.991445 },
			InTan { 0, 0, -0.130526, 0.991445 },
			OutTan { 0, 0, -0.130526, 0.991445 },
		13133: { 0, 0, -0.0958458, 0.995396 },
			InTan { 0, 0, -0.0958458, 0.995396 },
			OutTan { 0, 0, -0.0958458, 0.995396 },
		13367: { 0, 0, -0.0348995, 0.999391 },
			InTan { 0, 0, -0.0348995, 0.999391 },
			OutTan { 0, 0, -0.0348995, 0.999391 },
		13500: { 0, 0, 0, 1 },
			InTan { 0, 0, 0, 1 },
			OutTan { 0, 0, 0, 1 },
		13667: { 0, 0, 0, 1 },
			InTan { 0, 0, 0, 1 },
			OutTan { 0, 0, 0, 1 },
		13900: { 0, 0, -0.108867, -0.994056 },
			InTan { 0, 0, -0.108867, -0.994056 },
			OutTan { 0, 0, -0.108867, -0.994056 },
		14067: { 0, 0, -0.130526, 0.991445 },
			InTan { 0, 0, -0.130526, 0.991445 },
			OutTan { 0, 0, -0.130526, 0.991445 },
		14200: { 0, 0, -0.0958458, 0.995396 },
			InTan { 0, 0, -0.0958458, 0.995396 },
			OutTan { 0, 0, -0.0958458, 0.995396 },
		14533: { 0, 0, -0.0348995, 0.999391 },
			InTan { 0, 0, -0.0348995, 0.999391 },
			OutTan { 0, 0, -0.0348995, 0.999391 },
		14667: { 0, 0, 0, 1 },
			InTan { 0, 0, 0, 1 },
			OutTan { 0, 0, 0, 1 },             <----Very large gap; 3000 frames between 14667 and 17667
		17667: { 0.026177, 0, 0, 0.999657 },
			InTan { 0.026177, 0, 0, 0.999657 },
			OutTan { 0.026177, 0, 0, 0.999657 },
		17800: { 0, 0, 0, 1 },
			InTan { 0, 0, 0, 1 },
			OutTan { 0, 0, 0, 1 },
		17967: { 0, 0, 0, 1 },
			InTan { 0, 0, 0, 1 },
			OutTan { 0, 0, 0, 1 },
[i]...continues[/i]
From that snippet, you could conclude that there's an animation going from 12500 to 14667. That may or not be exactly the case. However, it gives you a good place to start in dividing them up.
07-16-2004, 04:31 PM#4
MaD[Lion]
he havent got 3dsmax to work yet, so he didnt exported with 3dsmax, he have never used art tool b4., he use gmax or milkshape or something
07-16-2004, 05:28 PM#5
Gooi
Quote:
Originally Posted by MaD[Lion]
he havent got 3dsmax to work yet, so he didnt exported with 3dsmax, he have never used art tool b4., he use gmax or milkshape or something
Hmm, i actually exported the model, by using 3dsmax 5. I have fixed it, so it works just fine now.
Oinkerwinkle, can you try divide its animations, so i can study and compare to the unfixed version afterwards. To learn from what you've done. I think that will be easier. Here's the mdx.
07-16-2004, 07:51 PM#6
MaD[Lion]
if u have done that then the rest should be no problem, if you have the animation sequences of the original model(before its converted into 1 anim).

You must have the old sequences to divide animation