Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,089 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animation beginner-question #67668
03/22/06 10:09
03/22/06 10:09
Joined: Mar 2006
Posts: 27
R
rogerant Offline OP
Newbie
rogerant  Offline OP
Newbie
R

Joined: Mar 2006
Posts: 27
Hello,

in the animation of an .mdl-file the animation is saved in frames, or?
Why is it important to have made the animations from bone or on the
other side from vertex-animation??
In the game I call the frames, and they are like .bmps,or?

I don't unterstand the importance why it's important, which animation was used for creating the animations??


Re: Animation beginner-question [Re: rogerant] #67669
03/22/06 12:39
03/22/06 12:39
Joined: Aug 2003
Posts: 275
Germany
kopitzki Offline
Member
kopitzki  Offline
Member

Joined: Aug 2003
Posts: 275
Germany
With vertex animation you can change the position of each vertex per frame individually, this way you can change the SHAPE of body parts etc.
With bone animation you can move WHOLE body parts, even independently from each other, but you cannot change their shapes.
Bone animation, from what I have learned, is better for moving parts
and vertex animation is the better choice for animating shapes.

Re: Animation beginner-question [Re: kopitzki] #67670
03/22/06 13:09
03/22/06 13:09
Joined: Mar 2006
Posts: 27
R
rogerant Offline OP
Newbie
rogerant  Offline OP
Newbie
R

Joined: Mar 2006
Posts: 27
Thank's for answer.

But, if a call in the script an animation with framename and number,
it is equal for the engine, if I had made the animation before with an vertex- or an boneanimation, or??

Re: Animation beginner-question [Re: kopitzki] #67671
03/22/06 13:17
03/22/06 13:17
Joined: May 2005
Posts: 338
Brasil
Filipe Offline
Senior Member
Filipe  Offline
Senior Member

Joined: May 2005
Posts: 338
Brasil
the main thing about bones animation is that you can change bones angles and add bones position in runtime. you can't do that with vertex animations.

for instance, say you have a character holding a gun, pointing forward.
now the player looks up, and you want the character to aim up.
with bones animation you can simply change the arms bone angle with ent_bonerotate(), like
Code:

ent_bonereset(player, "arm");
ent_bonerotate(player, "arm", camera.pan);



also, the most commom use for bones is adding bones positions. for instance, you can have in your mdl scenes animating only the legs of a character, like 'stand', 'walk' and 'run', and other scenes just for the arms, like 'hold_gun', 'shoot', 'reload'.
then you use ent_animate with the ANM_ADD flag to combine the animations. you can't do that with vertex animations.

hope that helped to clarify a little...

Filipe

Re: Animation beginner-question [Re: Filipe] #67672
04/13/06 13:41
04/13/06 13:41
Joined: Mar 2006
Posts: 27
R
rogerant Offline OP
Newbie
rogerant  Offline OP
Newbie
R

Joined: Mar 2006
Posts: 27
Thank's again for the help.

I start a little bit with blender.

Now I want to make a fightgame.
The problem is that maybe two models have to wrestle.
Easier is I think to animate the two together, or?
Then I would export the first model with its animation and then the other.
-And if the fall right or left, have I to make two different animations, or it is possible to mirror the animation in MED or Blender?

Re: Animation beginner-question [Re: rogerant] #67673
04/13/06 19:36
04/13/06 19:36
Joined: Jun 2003
Posts: 261
Broken Arrow ,OK
BERG Offline
Member
BERG  Offline
Member

Joined: Jun 2003
Posts: 261
Broken Arrow ,OK
what u could do for the wrestling is have an animation for different moves like "SWING_LEFT" or "SWING_RIGHT" for each character and make them do random moves, or u can set them up in any order u like. never tried this before but it seems like a good idea.

best of luck,
Alex


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1