Animate transport engines

Ideas and suggestions for how to improve the Warzone 2100 base game only. Ideas for mods go in Mapping/Modding instead. Read sticky posts first!
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Animate transport engines

Post by Olrox »

Berg wrote: Just a thought the baseplates for some structures can use different textures depending on map they are on.
I might be off track but all ideas have to start some place.
This is already available & used - you just have to set the texpages correctly in the "vidmemX.wrf" files, in which X changes depending on the tileset. Sorry if that's not what you meant.

~Olrox
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Animate transport engines

Post by Berg »

The idea was to trigger during the game wrf is fixed at start of map.
I did enquire in IRC channel and it seems my Idea is a no go.

Regards Berg
User avatar
MaNGusT
Art contributor
Posts: 1154
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Animate transport engines

Post by MaNGusT »

We even don't have a plugin to set up frame-animation correctly. yes, I can do this working by editing pie files manually but it's a terrible waste of time.
Image
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Animate transport engines

Post by macuser »

would it be possible to have an animated GIF as the texture? If so that might solve the problem :)

-regards macuser
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
Saberuneko
Regular
Regular
Posts: 558
Joined: 15 Jan 2010, 18:20

Re: Animate transport engines

Post by Saberuneko »

I miss the animations there, and on the other vehicle propulsions...
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Animate transport engines

Post by cybersphinx »

macuser wrote:would it be possible to have an animated GIF as the texture? If so that might solve the problem :)
No. OpenGL only knows about bitmaps, so you would have to load an animated gif into several textures and switch between them yourself, no different than using pngs.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Animate transport engines

Post by macuser »

Would THAT be an option then?
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
MaNGusT
Art contributor
Posts: 1154
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Animate transport engines

Post by MaNGusT »

cybersphinx wrote:
macuser wrote:would it be possible to have an animated GIF as the texture? If so that might solve the problem :)
No. OpenGL only knows about bitmaps, so you would have to load an animated gif into several textures and switch between them yourself, no different than using pngs.
macuser wrote:Would THAT be an option then?
Yeah! I saw this texture animation method in WarCraft III(water, IIRC).
I can create a very realistic animated water and sky with clouds by using this method. :)
Image
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Animate transport engines

Post by macuser »

Animated water great. But clouds don't move very fast and for the amount of time you look at the sky (if ever) it is not likely to change. However I think both me and you are getting off-topic :( maybe we should move to different discussion.

-regards macuser
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Animate transport engines

Post by Emdek »

I think that if ever adding support for animated raster images then it probably should be APNG, not GIF.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Animate transport engines

Post by macuser »

The only problem is that is is an UNOFFICIAL branch of the PNG format and not widely used/accepted/supported. However I HATE GIFs and LOVE PNGs so as long as it works that if fine with me.

-regards macuser
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Animate transport engines

Post by Emdek »

macuser wrote:The only problem is that is is an UNOFFICIAL branch of the PNG format and not widely used/accepted/supported.
But this shouldn't be big a problem here. ;-)
Anyway, the "easiest" way is to use several PNGs, as said before.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Animate transport engines

Post by Berg »

Just a note I have also succeeded in making a simple animation on a structure.
It can't use tcmask and its frame rate is very very slow.
I edited the pie file by hand adding the flag ,frame rate and texture size.
I was please with success but it is hardly world shaking.
Safetyoff has edited the pie format on wiki it contains more useful info now.

regards Berg
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Animate transport engines

Post by Emdek »

Nice, finally some progress. ;-)
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: Animate transport engines

Post by lav_coyote25 »

Berg wrote:Just a note I have also succeeded in making a simple animation on a structure.
It can't use tcmask and its frame rate is very very slow.
I edited the pie file by hand adding the flag ,frame rate and texture size.
I was please with success but it is hardly world shaking.
Safetyoff has edited the pie format on wiki it contains more useful info now.

regards Berg
any chances you could post something on youtube...just to show what can be done. please. :3