MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: titi on 14 September 2013, 23:30:09

Title: [fixed] splash particles visible in fog of war ( 3.8.0 beta1 )
Post by: titi on 14 September 2013, 23:30:09
Splash particles are visible in fog of war.

To see it setup a game like this:

map conflict:
you on slot 0 team0
cpu-ultra on slot 2 team1
cpu-ultra on slot 3 team2

now look to the place where teh two CPU players are . As they are close to each other they will instantly see each other and start to fight adn you see all teh splash particles in the dark...
Title: Re: splash particles visible in fog of war ( 3.8.0 beta1 )
Post by: tomreyn on 16 September 2013, 17:08:40
AKA last long-standing bug in the list at https://forum.megaglest.org/index.php?topic=7243.0
Title: Re: splash particles visible in fog of war ( 3.8.0 beta1 )
Post by: titi on 18 September 2013, 08:57:32
Hm, ok, I think these particles were needed for damage calculation and thats why they are shown.
If this is the case, would it be an option to just don't render those particles ? SO calculation yes, render no.
Title: Re: splash particles visible in fog of war ( 3.8.0 beta1 )
Post by: softcoder on 19 September 2013, 20:05:16
I have added some code (but commented out the actual non rendering). What is the unit is not visible but the particle should be visible because it is a projectile? The current code i have hides the particle of the unit is hidden from view (thus it is commented out).

I'm not sure there is an easy solution for this.
Title: Re: splash particles visible in fog of war ( 3.8.0 beta1 )
Post by: titi on 19 September 2013, 22:04:47
should be fixed in svn ( rev 4554)