OpenXcom Forum

Modding => Help => Topic started by: wcho035 on January 05, 2020, 03:35:07 pm

Title: Separate Underwater Fire and smoke particles.
Post by: wcho035 on January 05, 2020, 03:35:07 pm
Hi, I am looking to implement underwater fire and dye particles from TFTD so it will go concurrent together with UFO's fire and smoke in my mod.

Does anyone know where in extrasprite.rul I can implement this? If this is possible.

For example. Smoke grenade generate smoke and dye grenade generate bubbles underwater.

Just like land and sea, projectiles and explosions have separate and segregates entries. I assume fires and smoke particles has the same?
Title: Re: Separate Underwater Fire and smoke particles.
Post by: Meridian on January 05, 2020, 05:45:40 pm
Same way as in vanilla TFTD.

Dye grenades do smoke on surface and bubbles underwater.

In the ruleset reference, check "smokeOffset", "underwaterSmokeOffset".
Sprites are in "SMOKE.PCK".
Title: Re: Separate Underwater Fire and smoke particles.
Post by: wcho035 on January 05, 2020, 06:32:45 pm
Thanks Meridian, what about fire? Like there is the greenish fire from TFTD, is there an offset for this?
Title: Re: Separate Underwater Fire and smoke particles.
Post by: Meridian on January 05, 2020, 10:44:54 pm
no
Title: Re: Separate Underwater Fire and smoke particles.
Post by: ohartenstein23 on January 06, 2020, 01:42:13 am
Greenish fire in TFTD was just the different palette from UFO.
Title: Re: Separate Underwater Fire and smoke particles.
Post by: wcho035 on January 06, 2020, 02:34:34 pm
Thank you Meridian and Ohartenstein23.

Feature has been inplimented.