UFO:Alien Invasion

Technical support => Bugs in stable version (2.5) => Topic started by: kurja on December 28, 2012, 08:24:01 pm

Title: odd smoke spread
Post by: kurja on December 28, 2012, 08:24:01 pm
See screenshot; a smoke nade generated about 1 square worth of smoke (bottom of screen), second one a bit more but with a tunnel (?) through the middle (middle in the screenshot). Smoke nades during previous and later turns worked as expected.
Title: Re: odd smoke spread
Post by: H-Hour on December 29, 2012, 12:27:05 am
The smoke may actually be there but not appear. This is due to the fact that the smoke grenades cause errors by exceeding our max particle allowance and so throwing more than one smoke grenade can easily result in the game failing to render some smoke particles. It's annoying, but will be fixed eventually.

See bug #2764 (https://sourceforge.net/p/ufoai/bugs/2764/).
Title: Re: odd smoke spread
Post by: Charlie on January 01, 2013, 03:32:41 am
In the meanwhile you can edit ufoai/base/ufos/ptl_misc.ufo, find "particle smokefield" and change tps from 50.0 to something low, say 3.0. Smoke will not look as dense but still perfectly playable.
Title: Re: odd smoke spread
Post by: kurja on January 01, 2013, 08:29:17 am
and this will render help to render the "missing" smoke?
Title: Re: odd smoke spread
Post by: Charlie on January 01, 2013, 07:14:19 pm
It will render less particles, so if the problem is that your game generates too many of them this should work around the problem.
Title: Re: odd smoke spread
Post by: kurja on January 07, 2013, 09:14:39 pm
same seems to happen with gas grenades, would that be "particle green_smoke" particle?
Title: Re: odd smoke spread
Post by: DarkRain on January 08, 2013, 12:27:32 am
Yes stun grenades are using the green_smoke particle (but they should probably get their own particle some time)