Attack animation while moving

Help regarding development/scripting, troubleshooting or just general gameplay -- anything that hasn't already been answered in the Wiki or pinned FAQs.

Moderator: Developers

Post Reply
Dark
Tranch (Novice)
Tranch (Novice)
Posts: 148
Joined: Mon Mar 30, 2009 4:05 pm

Attack animation while moving

Post by Dark »

Ive been working on the steam walker I mentioned here.
I took the Hotdog files as a template. Everything works fine in Egoboo.
Currently I am animating the walker but I stumbled on a problem.
The walker has both attack and walking animation.
It looks weird when hes both attacking and walking at the same time since its the attack animation that is shown (and his legs dont move). Also sometimes the movement animation speed is being applied to attack animation what looks a bit odd.
I wanted to ask if theres any simple fix for that problem.

The attack animation is important as the walker points his arm forward to breath fire.
Without the attack animation he points it at the ground.

As far as I read there wasnt any animation code for a shared walk+attack. (I mean those Action Codes.)
Perhaps there could be a way to force the walker to stop and stand still while hes attacking?
Probably something with scripting but Im not good with it yet.

Heres what I got so far in case someone needs the files:
hotdog.obj.zip
(103.47 KiB) Downloaded 293 times
Image
Dark
Tranch (Novice)
Tranch (Novice)
Posts: 148
Joined: Mon Mar 30, 2009 4:05 pm

Re: Attack animation while moving

Post by Dark »

Ok. Nevermind. I got it working somehow.
In the end the walker stops while attacking.

Heres the finished model.
Image
Post Reply