|
0 registered members (),
631
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Blending Animations in Lite-C A7
#142437
07/20/07 19:02
07/20/07 19:02
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
Is is possible to blend animation sequences together. For instance: During a Run cycle a Cast "" Spell sequence occurs During a Walk cycle a Knocked Back sequence occurs
So far all of my animations are broken up like the manual says, and they all work, but I don't know how to make them blend or if thats possible.
Thanks conitec
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Blending Animations in Lite-C A7
[Re: oldschoolj]
#142438
07/20/07 19:14
07/20/07 19:14
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
looks like ent_blend is what I need, however, I have no bones and just vertex animations. So if that is the only real way then please let me know.
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Blending Animations in Lite-C A7
[Re: oldschoolj]
#142439
07/20/07 19:29
07/20/07 19:29
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
It also says that with ent_blend it assumes the animation is cyclic, and cuts off the animation. What if I need to play a "getting hit" animation, while "casting a spell" animation. Would I need to then write a script that will cause the animation to pick up from the frame it stopped at after the "getting hit" animation is over. Is that possible, and relatively easy or complex?
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Blending Animations in Lite-C A7
[Re: oldschoolj]
#142440
07/20/07 20:30
07/20/07 20:30
|
Joined: Aug 2000
Posts: 7,490
Orange Brat

Senior Expert
|

Senior Expert
Joined: Aug 2000
Posts: 7,490
|
Check the first item out in my Master List in my signature. All of the motions are blended with it and are bones based. Also, The Kingdom Hearts tutorial in User Contributions does it nicely as well (and it's much easier to read and most likely expand). Here's a stripped down version of the blending example...the one in the list is the big version: http://www.geocities.com/hainesrs/special_blending.zip
My User Contributions master list - my initial post links are down but scroll down page to find list to active links
|
|
|
Re: Blending Animations in Lite-C A7
[Re: Orange Brat]
#142441
07/20/07 21:25
07/20/07 21:25
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
yes but is that going to work wiht vertex animation, I won't beable to use bones. Thanks alot for the info btw.
Last edited by oldschoolj; 07/20/07 21:25.
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Blending Animations in Lite-C A7
[Re: oldschoolj]
#142442
07/20/07 21:47
07/20/07 21:47
|
Joined: Sep 2003
Posts: 5,900 Bielefeld, Germany
Pappenheimer
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
|
ent_blend works with vertex animations too, there is no need to 'close' their cycle. You can start the blending from any frame of the cycle. From the manual: Quote:
Example: //Sets the entity to a vertex frame within 50% of the walk cycle, //and then blends over to the first frame of the stand cycle. ent_cycle("walk",50); ent_blend("stand",0,25); //The result of this code is a frame mixed from 75% of the middle //of the "walk" cycle and 25% of first frame of the "stand" cycle.
Skip the line with ent_cycle. Ent_blend will start from any animation and any frame of that animation that is performed in that moment.
|
|
|
Re: Blending Animations in Lite-C A7
[Re: Pappenheimer]
#142443
07/20/07 23:39
07/20/07 23:39
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
thanks a bunch ill test it out
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
|