OpenXcom Forum

Modding => Work In Progress => Topic started by: Amiga on May 17, 2013, 03:24:42 pm

Title: Better smoke mod?
Post by: Amiga on May 17, 2013, 03:24:42 pm
I just wonder is it possible tomod this ugly smoke. On PSX version was a nice smoke - of course its different colour pallette. Any ideas?
Title: Re: Better smoke mod?
Post by: Yankes on May 17, 2013, 07:19:00 pm
right now is impossible because they use RGB colors not Palette colors and OpenXcom work like original game (OpenGL is used only for upscaling graphic and filters)
Title: Re: Better smoke mod?
Post by: mercy on May 26, 2013, 11:55:10 am
Not much better smoke. Even it seems the original animates better.

https://youtu.be/ZxCQ_E59tz4?t=4m37s (https://youtu.be/ZxCQ_E59tz4?t=4m37s)
Title: Re: Better smoke mod?
Post by: Yankes on May 26, 2013, 01:09:22 pm
Only thing that OpenXcom could fix is to made smoke pseudo-transparent, but I dont know if it will look any good.
Title: Re: Better smoke mod?
Post by: mercy on May 27, 2013, 08:44:26 pm
Only thing that OpenXcom could fix is to made smoke pseudo-transparent, but I dont know if it will look any good.

The PSX version is actually quite sophisticated effect in itself, not that it looks good in the game. Its a looped transparent smoke. The looping is perfect. The transparency however is ugly.

A better solution:
I'm thinking about opaque smoke puffs and less transparent smoke parts than the PSX version. The soldier standing in smoke should be partially obscured in thick smoke patches per frame, but since the whole smoke is animated, different parts of the soldiers or aliens are visible at every frame. 

Example
Frame 1..2:  soldiers head is visible
Frame 3..4:  soldiers torso is visible, head is covered by thick smoke
Frame 5..6:  soldiers legs are visible, rest is covered by thick smoke.

The genius of UFO DEFENSE-s smoke - DOS version - is that it seems voxel-based and perfect for thickening and looping. While any conventional "sprite-based" smoke in the shape of an oblong rectangle doesn't look good on this grid system, since it does not tile horizontally and looks separated. The PSX smoke doesn't look good, it is ugly in its separated columns. Smoke should be a big thick mass, several tiles wide, for which the original smoke effect is perfect. 

Any new smoke effect should be made tileable horizontally - isometrically - so we can see the genial thinking of Julian Gollops coder team here and implementation.

Lot of effects in the game just look simple to re-create, they are quite sophisticated in reality.