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?
(edit: changed the animation to a bit slower so you can actually see the frames, sorry).
I have some questions about the explosion graphics.
I have some questions about the explosion graphics.
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
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
Re: I have some questions about the explosion graphics.
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.
Edit: Corrected typo (24-bit => 32-bit).
Regards, Freddie.
Re: I have some questions about the explosion graphics.
ok, how does transparency work in 24-bit pngs though? does warzone support alpha transparency or should there be one transparency colour?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.
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
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
Re: I have some questions about the explosion graphics.
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,
Regards, Freddie,
Re: I have some questions about the explosion graphics.
OK, thanks a lot for the answers!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,
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
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
Re: I have some questions about the explosion graphics.
The sizes and frames of the various animations are defined in PIE files. You can change them.


