Animations: Who do I talk to

Discussion area for user-created Allegiance models, textures, voicechats, music, and other ingame content.
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

see topic.

Does anybody know somebody?

note: I just want to know how it's done, or where to look for an example. Who can teach me?
Last edited by Bunnywabbit on Mon Nov 22, 2010 5:10 pm, edited 1 time in total.
ImageImage current version r158 new beta as of jan 23 2012
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post by SP4WN »

What sort of animated art?
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

Hud elements changing color, sliding in, smooth transitions from one state to another. That sort of thing.

We're not talking Toy Story here.
Last edited by Bunnywabbit on Mon Nov 22, 2010 5:12 pm, edited 1 time in total.
ImageImage current version r158 new beta as of jan 23 2012
parcival
Posts: 2872
Joined: Tue May 03, 2005 7:00 am
Location: Greece

Post by parcival »

I do not know how to include animation into in game content, if that's what you are asking.
But if you ask how to create animations from my little experience creating animated sigs I can tell you that I just use GIMP animated package (GAP). It's a GIMP plugin. Get it from here.

Some tutorials about it:
Tutorial 1
Tutorial 2

It's a little hard to understand it but it does the job well (look at Idan's Avatar :) ).
ImageImageImageImageImageImage
" There is good in everyone. You just need the eyes for it. "
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

I already tried doing that, Parci :)

Figured that if alleg supported animated png's or gifs i'd be home free, and I do love me an easy route. Unfortunately this is not the case, and i have created a feature ticket on trac requesting as much.
ImageImage current version r158 new beta as of jan 23 2012
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

Find the source image file for the thing you want to change, make your changes, generate bmp.mdl with mdlc.

Animated elements are just one image, with each frame next to each other (for explosions) or in a grid (for the door). Gauges just have separate images for full gauge and empty gauge (parci has done fancy things with software hud I think).

See: http://www.freeallegiance.org/forums/index...showtopic=27787 I link to some images - the launch door and explosions
Also for gauges you can examine the end products http://www.freeallegiance.org/forums/index...showtopic=23439 - I can't find my original gauge mod thread, must have been on the old forums.
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

but what if I want to make and play a new animation from scratch?

Say I want the cloak icon to fade in, rather than pop up?
ImageImage current version r158 new beta as of jan 23 2012
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post by SP4WN »

Heres something I was just thinking about.

The door animation is done via the mouseover effect which we discussed in PM. The sprite animation is executed via a keypress. If you could figure out a way to define the animation to start on a keypress and then not repeat or hold on the last frame of the image you idea could work. I think il look into this, Im not sure if I am explaining my though process correctly.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

Bunnywabbit wrote:QUOTE (Bunnywabbit @ Nov 29 2010, 07:48 PM) but what if I want to make and play a new animation from scratch?

Say I want the cloak icon to fade in, rather than pop up?
If it's not already animated, then it's likely a code change to animate it.
Exception being particles fired from guns - you can add extra frames (like the explosions) and then frames are chosen at random (not played in order unfortunately).
You could try putting in a version of things you want to animate with multiple frames (like the explosions), but I would imagine it wouldn't work and allegiance would crash.

Probably need someone to examine the code.
Adaven
Posts: 1959
Joined: Sat Oct 25, 2003 7:00 am
Location: Greater Ozarks

Post by Adaven »

madpeople wrote:QUOTE (madpeople @ Nov 29 2010, 04:24 PM) you can add extra frames (like the explosions) and then frames are chosen at random (not played in order unfortunately).
Are you sure? My experiments a few years ago using the explosion graphics as sprites seemed to play the frames in order.



Or, at least the same random seed is being used for each sprite.
Post Reply