Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Blending Animations in Lite-C A7 #142437
07/20/07 19:02
07/20/07 19:02
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

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
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

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
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

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
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

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
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

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 Offline
Senior Expert
Pappenheimer  Offline
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
O
oldschoolj Offline OP
Senior Member
oldschoolj  Offline OP
Senior Member
O

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

Moderated by  old_bill, Tobias 

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