I played with parameters a bit and made it normal density, so game plays on 23-30 fps which is good IMO.
[quote="The 4th Class":3kn277nv]Wouldn't it be easier and more efficent just to make the snow a screen effect? Like, instead of particles occuping space on the map, the code just generates various white dots on the screen.
That would be worst of all. General idea of particles is that they give 3d effect. that is - you can see that snow falls not just "anyhow" but before and beyond some objects.
By the way, I noticed that this effect quickly fades if you look on that static picture above. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Perhaps it is effective only in action.
Then, more about this. First of all, this feature will require override of default particles limit, otherwise most of the snow will not be visible.
Secondly. It would be a craziest idea to spawn it just everywhere at once. First, I used to spawn it around player with 2048 radius, and it slowed game down to 3-4 fps. Currently I decided to choose 768 units radius. Still, I think it is possible that player would be fast enouph to run out of this area so quickly that snow won't appear in time (but that's fixable issue).
After some thinking I have planned following methods to use snow (and maybe some other effects in future):
1. ACS command that starts snow over whole map (still it would be created only in player sight). This should detect those sectors with sky texture and spawn snow there.
2. Special thing to spawn snow in exact sector.
3. Particle limiters (basically - floor limiter, which won't allow particles to go beyond some height)
At the moment I have 1st and 3rd. 3rd one is a nice thing, I believe, I managed to make so that particles will not go beyond 3d floor, so it looks like they are stopped by "roof". Looks fine, still imperfect however, primarily because Vavoom progs lack square root function <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> which is needed to calculate particle lifetime depending on its velocity and acceleration, so currently I take only velocity in consideration.