Content

Post new topic Reply to topic
1, 2  >>

[3DSmax] Animation and Exportation

Author Message
Malek View user's profile Send private message

Reply with quote Thursday, August 04, 2011

This is a rather long tutorial about how getting your (or another's) fully rigged, textured and skinned character in-game with your own custom animations.

It requires you own 3DS Max, have downloaded the SVN repository and have a lot of patience, so if you unfortunetly don't have the program or simply aren't ready, ... well.. buy it ! Razz


First step: Preparation

There are plenty of max files in the SVN repository, some of them are pretty much ready to be added in the game or simply edited (Goku,Vegeta,Piccolo,Frieza forms,Saibaman,Brolly all forms, Trunks etc.) Pick up one of those then open it using 3ds max.

Generally, you find your selected character with a visible biped (colored bones surrounding the character). That should be okay. Then you can move on to second step.
If your character is already animated (you can see him in a foetus-like pose), go directly to the third step.

If none of those, you first have to make sure that all meshes (3D objects) and skeletal bones are visible.
To do so, right-click the screen and select Unhide All. Planes, lights, cameras and even other bipeds often appear in the process, they can be hidden by clicking Select per Name , selecting the objects you want to hide and then right-click the screen , Hide button.

You can make your work easier if you select the meshes
(3D head, torso, legs, sword , boots etc.) and ALT+X to make them transparent and clearly see the bipedal bones, you can even freeze the objects by selecting them , right-click, Freeze, then you can move the bones without selecting the object instead.


Second Step: Applying bipedal default animations

You did all what was mentioned above, but your character still doesn't have any animation! It's normal. You still didn't apply the biped file.
You can do that by downloading the default one already here http://ZEQ2.com/lite/forums/download.php?id=207 There's some good animations made by Zeth himself in Media/Animations that you can use, but we'll come to that later.

Now that you have it, put it on your desktop, then go back to 3DS Max, click on Select per Name, type Bip in the search field then press okay.

To explain, you have selected all your character's bones to apply Goku's default animations to it, so he will move exactly like Goku in-game after exportation, don't worry, you can customize each animation frame later but now, let's apply the thing shall we ?

With the bones selected, click on the movement tab on the right, then on the Biped sub-tab, click on load file, select your default.bip file that you downloaded, press okay.



Your character should be instantly updated to a foetus-like pose and keys appear in the motion bar, much like this picture.



Now that most of the basics are done, time to get to the serious things (Yes, it begins from this point! Razz)
You can move to the next step if you want (certainly) to edit some or all of the animation frames or skip it and directly begin the fourth one.


Third Step :Customizing Animations and Applying Morph Targets

In this step, you will learn the basics of animation, how to edit/make your own frames and even how to make facial/clothing animations using "Morph targets".

First, you have to make sure your character has the 509 frames you added it in the last step, just put your mouse on the animations' slide and try to move it left to right and vice-versa:

You can now see the various poses your character has!

(Note: If you followed the last step, it should be Goku's animations poses, if you don't see any pose when moving the slide bar, please re-do the last step carefully)

Each pose is part of an animation, animations change the way you see your character in the game, so you can make your favourite character look the way you want (for example. serious, energetic, sarcastic etc.) and move exactly like you can see it in the manga/anime!
If you master the animations customization, you can even make new animations totally different from the ones that were there before. (Protip: Using the media folder can be really useful to know how to animate frame by frame, it has several references and biped files.)

Now, make sure you know what is each animation (when it triggers) how each animation begins and which frames it ends at, generally, it begins with the normal standing pose and ends at a specific one matching the animation you are at, that means you will select the pose that follows the standing one.
(Note: if you change the first standing one, you WILL have to change the standing and fly animation to match it, because all the animations begin from the standing animation, so it obviously needs the same standing pose to begin with.)

This is an example of the first standing pose of the death on-ground animation (the first animation in the slide)



Enough of the long explanations, let's get this settled, shall we?

First, the easiest way to edit frames is to set auto-key mode under the frames' slide, the screen's borders and the button turn red, now you can edit any frame and it will be saved like you set it, offering you thousands but millions of patterns to express your creativity! (Yeah, I got carried away Razz )

For example, I picked the standing (idle) animation [frames:107-115] (which is 8 standing poses with a different chest rotation each to give a breathing animation) and then I decided to make Goku's hands crossed with keeping the breathing animation, I simply select and drag Goku's forearm to his chest with the movement tool (without putting his hand inside the chest model, Attention!) and rotate it and the upper arm with the rotate tool, like this:



This result should be close to this:



(if you rotated/moved it correctly, note that you should use the different views to make sure you didn't make the arm in the chest model : Goku won't look good in-game! at that animation, that is.)

Now, instead of doing the same for the other forearm, select the moved/edited bones (Forearm, Upperarms, Hand and fingers if you ever happened to edit them) then click on the mouvement tab, then on the copy/paste submenu, select "New collection" then on "Posture" (What you are going to do is copying the pose you've made on a side to apply on the matching bones of the other side.)



Now click on Copy posture (the selected bones become red in the sub-menu) then on the third button "Paste posture on the opposed side" (Note: You can even copy the whole pose [all the bones] to another frame if you want by selecting the "Pose" tab and copy/paste Wink )

Something like this should happen:



This is in no way what we want, but don't forget we can move the bones the way we want, so after moving the bones you need to move, you can easily get this:



Now the best part of copying/pasting frames! Select both upper/forearms and any other bone you've edited (rotation/position), press "Copy posture" then move on to the next frame by clicking the little arrow on and click "Paste posture" and so on until the last frame of the idle animation (frame 107 to 115) , that's how you edit specific bones and copy/paste them to different frames: Well done, you have edited/customized your first animation!!! (if you did that is Razz)

(Note: for the matching of all the animations in-game, remember to copy/paste this standing pose at the beginning of each animation, Goku has to uncross his hands first before shooting kames! also, the idle animation is a looping one, means that all it's frames repeat when it is triggered in-game, but for example the lock-on animation, only the three last frames repeat, so now we are going to see what this type of animation is and how to edit it)

Zielan has made already a tutorial for morph targets,so I guess you can use it now you've read all of this :
http://www.ZEQ2.com/lite/forums/viewtopic.php?t=4710
(with his permission of course), for definition, Morph targets are used for vertex animations (that use vertexes instead of bones) to make facial/clothing/hair animation, they are indispensable if you want to customize your character to it's very end.
On the next part of animation step, we will see how to edit a non-looping animation, stay tuned.

SAMCROSS View user's profile Send private message

Reply with quote Thursday, August 04, 2011

Great ! Can't wait to see the next part

Malek View user's profile Send private message

Reply with quote Thursday, August 04, 2011

SAMCROSS wrote : Great ! Can't wait to see the next part


Thank you, It takes me some time to find the right words so I need a rest *intense laughter*

SAMCROSS View user's profile Send private message

Reply with quote Thursday, August 04, 2011

Malek wrote :

SAMCROSS wrote : Great ! Can't wait to see the next part


Thank you, It takes me some time to find the right words so I need a rest *intense laughter*



no problem, but I've looked at the pictures again and I have one question, are you french ?

Zielan KoRnified View user's profile Send private message

Reply with quote Thursday, August 04, 2011

SAMCROSS wrote :

Malek wrote :

SAMCROSS wrote : Great ! Can't wait to see the next part


Thank you, It takes me some time to find the right words so I need a rest *intense laughter*



no problem, but I've looked at the pictures again and I have one question, are you french ?

He speaks french ,but he isn't from France Very Happy

ssj6vegeta View user's profile Send private message

Reply with quote Thursday, August 04, 2011

Zielan wrote :

SAMCROSS wrote :

Malek wrote :

SAMCROSS wrote : Great ! Can't wait to see the next part


Thank you, It takes me some time to find the right words so I need a rest *intense laughter*



no problem, but I've looked at the pictures again and I have one question, are you french ?

He speaks french ,but he isn't from France Very Happy



now I can try to export and if I rule I send it to Zielan Very Happy

Zay View user's profile Send private message

Reply with quote Sunday, August 07, 2011

I was wondering when the next one comes because I want to make friezas forms

LegendarySS4 View user's profile Send private message

Reply with quote Sunday, August 07, 2011

SAMCROSS wrote :

Malek wrote :

SAMCROSS wrote : Great ! Can't wait to see the next part


Thank you, It takes me some time to find the right words so I need a rest *intense laughter*



no problem, but I've looked at the pictures again and I have one question, are you french ?



He lives in Tunisia which Speaks French/Arabic.

SAMCROSS View user's profile Send private message

Reply with quote Thursday, August 18, 2011

What's next dude ? Really want to export a Sonic the Hedgehog in game =D

ssj6vegeta View user's profile Send private message

Reply with quote Thursday, August 18, 2011

I gotta export my super Buu cause he's been done for like 2 weeks D:

RoganX Classy View user's profile Send private message

Reply with quote Thursday, August 18, 2011

ssj6vegeta wrote : I gotta export my super Buu cause he's been done for like 2 weeks D:



Then hurry up!! We want Super Buu!!

JayREEZY View user's profile Send private message

Reply with quote Thursday, August 18, 2011

It says I'm not authorized to view or use the biped Crying or Very sad .

ssj6vegeta View user's profile Send private message

Reply with quote Tuesday, August 23, 2011

malek darn you >:L

SAMCROSS View user's profile Send private message

Reply with quote Thursday, September 01, 2011

Can someone finish this ?

Malek View user's profile Send private message

Reply with quote Thursday, September 08, 2011

First part of the third (longest) step added.

SAMCROSS View user's profile Send private message

Reply with quote Thursday, September 08, 2011

Malek wrote : First part of the third (longest) step added.



Cool

GacktScene View user's profile Send private message

Reply with quote Tuesday, September 13, 2011

Hey, I've read your animation info and stuff, I have completed the animations but I'm having trouble exporting in 3ds max, I have the md3 exporter script but I'm getting an error that says "There was not a one to one correspondence between texture vertices and true vertices. UV map may contain errors.".. and when I go to check the exported file its far too small to work, its somewhere around 150 bytes instead of being multiple megabytes.. I understand that I'm supposed to export the head, upper, and lower separately.. any help would be greatly appreciated.. thanks in advance.

Malek View user's profile Send private message

Reply with quote Tuesday, September 13, 2011

GacktScene wrote : Hey, I've read your animation info and stuff, I have completed the animations but I'm having trouble exporting in 3ds max, I have the md3 exporter script but I'm getting an error that says "There was not a one to one correspondence between texture vertices and true vertices. UV map may contain errors.".. and when I go to check the exported file its far too small to work, its somewhere around 150 bytes instead of being multiple megabytes.. I understand that I'm supposed to export the head, upper, and lower separately.. any help would be greatly appreciated.. thanks in advance.



Sure, I'll finish the exportation step (that everyone is waiting for) as soon as I complete my tasks for the development team, then I'll help you Wink

GacktScene View user's profile Send private message

Reply with quote Tuesday, September 13, 2011

okay thanks, this is a really good tutorial and its helped me a lot!

Mima The Disciple View user's profile Send private message

Reply with quote Tuesday, September 13, 2011

Until you finish the tutorial...
GacktScene, you need to export this:
1) Head with all head tags with 510 animation frames.
2) Upper with all upper tags + head tag + 510 animation frames.
3) Lower with all lower tags + tag_floor + tag_upper + 510 animation frames. That way your file will be bigger trust me Wink
Another thing to note is that you need to build the skin files and shader file for your character as well. I am not sure if this tutorial will cover that as well, but if it does not, you can find it here: http://fallofvar.com/index/?page_id=79 <- This is a tutorial made by Shenku, and his tutorial thread is here as well -> http://ZEQ2.com/lite/forums/viewtopic.php?t=4530
Malek good job on the tutorial Smile So now I ask you, will you include the building of shader/skin files? Or perhaps even animation.cfg and phys/grfx files?

Malek View user's profile Send private message

Reply with quote Wednesday, September 14, 2011

Mima wrote : Until you finish the tutorial...
GacktScene, you need to export this:
1) Head with all head tags with 510 animation frames.
2) Upper with all upper tags + head tag + 510 animation frames.
3) Lower with all lower tags + tag_floor + tag_upper + 510 animation frames. That way your file will be bigger trust me Wink
Another thing to note is that you need to build the skin files and shader file for your character as well. I am not sure if this tutorial will cover that as well, but if it does not, you can find it here: http://fallofvar.com/index/?page_id=79 <- This is a tutorial made by Shenku, and his tutorial thread is here as well -> http://ZEQ2.com/lite/forums/viewtopic.php?t=4530
Malek good job on the tutorial Smile So now I ask you, will you include the building of shader/skin files? Or perhaps even animation.cfg and phys/grfx files?



Thanks for helping this person, and yes, I intend to finish it to the very end, it would be a tutorial to export a rigged character fully in-game ^^ Very Happy

Djosama View user's profile Send private message

Reply with quote Monday, September 19, 2011

*bump* How do I create a biped like that in 3DS 2010? Those thick bones seem way more efficient than the ones I'm used to

Mima The Disciple View user's profile Send private message

Reply with quote Monday, September 19, 2011

Create -> Systems -> Biped -> Draw it out.

ssj6vegeta View user's profile Send private message

Reply with quote Monday, September 19, 2011

Mima wrote : Create -> Systems -> Biped -> Draw it out.



*stunned*

in 2011 you can choose classic biped for that
Razz

Djosama View user's profile Send private message

Reply with quote Wednesday, September 21, 2011

Mima wrote : Create -> Systems -> Biped -> Draw it out.



Picture PLEASE?

1, 2  >>
Post new topic Reply to topic

Actions

Online [ 0 / 6125]