Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Multiple Character Animations

Author
Message
Jorcee
11
Years of Service
User Offline
Joined: 24th Jul 2012
Location:
Posted: 23rd Nov 2012 20:34
I am working on a little project, and I have my character standing still and running. But I need an animation for an attack. How would I make it switch to an attack animation from the walking animation?

The idle is just a paused walking.

Any answers will be much appreciated.
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 23rd Nov 2012 21:26
You can use the command loop object or play object with extra parameters:



So, if the object needs to attack, just tell it to play its animation from the start of the attacking animation to the end of the attacking animation.

TheComet

Jorcee
11
Years of Service
User Offline
Joined: 24th Jul 2012
Location:
Posted: 24th Nov 2012 20:57
I tried to do the start frame,end frame but the problem is that I am using a model from DarkMatter. All of the animations for walking and such are all in separate files. Each of which has to be loaded as a separate object.
Phaelax
DBPro Master
20
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Nov 2012 06:35
Lookup append object.

"You're not going crazy. You're going sane in a crazy world!" ~Tick
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th Nov 2012 07:42
That's the command.

Basically, you load the object, and then you can use append object to load the animation data from another file and add it to the existing object. This would be how you use it:



Afterwards you can use the object just as I described in my post above.

TheComet

Jorcee
11
Years of Service
User Offline
Joined: 24th Jul 2012
Location:
Posted: 27th Nov 2012 00:34
Awesome! Thank you for helping me out with this.

Login to post a reply

Server time is: 2024-03-28 23:33:59
Your offset time is: 2024-03-28 23:33:59