PDA

View Full Version : Animation question



Kiwibird
February 9th, 2008, 05:54 PM
I'm sure there is a way of doing this but I don't know how. I'd like to know how to make a bar in the back of a gun reduce, relative to the ammo left in the clip. This picture should explain it.

http://i13.photobucket.com/albums/a269/DarthKiwibird/clip.png

Any ideas? Thanks.

Sever
February 9th, 2008, 05:57 PM
I have no experience with it at all, but I believe you could look at how the Needler is done.

FRain
February 9th, 2008, 05:57 PM
First-Person ammunition.jmO (iirc)
Make it 2 frames (or how ever many bullets there are, if there are fifty bullets, make 50 frames.)

At frame 0 through half of the animation make it (if 50 then 0-25) make it full.

From 25 through 49 make it half clip.

Last frame (frame 50) make it empty.

Unless you want it to slowly dissapate, then delete inbetween frames (frame 0 full frame 25 half, frame 50 empty)

Kiwibird
February 9th, 2008, 06:03 PM
First-Person ammunition.jmO (iirc)
Make it 2 frames (or how ever many bullets there are, if there are fifty bullets, make 50 frames.)

At frame 0 through half of the animation make it (if 50 then 0-25) make it full.

From 25 through 49 make it half clip.

Last frame (frame 50) make it empty.

Unless you want it to slowly dissapate, then delete inbetween frames (frame 0 full frame 25 half, frame 50 empty)

Ah, ok. I was thinking I would use the firing animation for that, which is why I was confused. Thanks.