I have some questions about the explosion graphics.

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
fisk0
Trained
Trained
Posts: 245
Joined: 17 Aug 2008, 16:59
Location: Stockholm, Sweden

I have some questions about the explosion graphics.

Post by fisk0 »

I've been thinking about creating new explosion sprites for Warzone for some time now. but the texfiles were really confusing, does anybody have info on how big the sprites for the different explosions are, which explosions are used in which situations (those 16 frames on page-20-fx.png are those that are used for artillery and such, but there are a lot of smaller explosions also, and some I don't think I've ever seen ingame, like those on page-21-fx).
Also, I noticed the png's use 256 color palettes, do I have to use those exact palettes or could I edit them without strange things happening in game, or could I possibly even set the color depth higher (like 16 or 24-bit colors)?

I've attached a small 5-frame animation I drew (64x64 at the moment), please say what you think of it as well, I don't know if people would prefer the original WZ explosions over this style?
5 frame test animation
5 frame test animation
wzexplosiontest2.gif (10.24 KiB) Viewed 4930 times
(edit: changed the animation to a bit slower so you can actually see the frames, sorry).
Last edited by fisk0 on 25 Sep 2008, 15:42, edited 1 time in total.
Desktop: AMD Athlon X3 440 3.0ghz, 4GB RAM, Radeon HD4200, Windows 7 Professional 64-bit
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
EvilGuru
Regular
Regular
Posts: 615
Joined: 23 Jun 2007, 22:41

Re: I have some questions about the explosion graphics.

Post by EvilGuru »

Feel free to turn the palette-based PNGs to 32-bit PNGs. A 256 colour palette is only ever used to reduce the file-size of the textures. They are usually the result of running the application through pngcrush.

Edit: Corrected typo (24-bit => 32-bit).

Regards, Freddie.
fisk0
Trained
Trained
Posts: 245
Joined: 17 Aug 2008, 16:59
Location: Stockholm, Sweden

Re: I have some questions about the explosion graphics.

Post by fisk0 »

EvilGuru wrote:Feel free to turn the palette-based PNGs to 24-bit PNGs. A 256 colour palette is only ever used to reduce the file-size of the textures. They are usually the result of running the application through pngcrush.

Regards, Freddie.
ok, how does transparency work in 24-bit pngs though? does warzone support alpha transparency or should there be one transparency colour?
Desktop: AMD Athlon X3 440 3.0ghz, 4GB RAM, Radeon HD4200, Windows 7 Professional 64-bit
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
EvilGuru
Regular
Regular
Posts: 615
Joined: 23 Jun 2007, 22:41

Re: I have some questions about the explosion graphics.

Post by EvilGuru »

We support a full alpha channel (sometimes known as ARGB32, R8G8B8A8, ...), which, like the R, G and B channels is 8-bits (0-255).

Regards, Freddie,
fisk0
Trained
Trained
Posts: 245
Joined: 17 Aug 2008, 16:59
Location: Stockholm, Sweden

Re: I have some questions about the explosion graphics.

Post by fisk0 »

EvilGuru wrote:We support a full alpha channel (sometimes known as ARGB32, R8G8B8A8, ...), which, like the R, G and B channels is 8-bits (0-255).

Regards, Freddie,
OK, thanks a lot for the answers!
Desktop: AMD Athlon X3 440 3.0ghz, 4GB RAM, Radeon HD4200, Windows 7 Professional 64-bit
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: I have some questions about the explosion graphics.

Post by Per »

The sizes and frames of the various animations are defined in PIE files. You can change them.
Post Reply