Particle sync

Particle sync

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Particle sync

Post by AF »

Can we have unnecesaryily synced particles be unsynced?

For example nanospray, there's no justifiable reason for keeping it sync that does not rely on the player watching the map like a hawk while being extremely lucky to catch a single nanoparticle while being stupid enough to not already know there's something there anyway.
User avatar
Lindir The Green
Posts: 815
Joined: 04 May 2005, 15:09

Post by Lindir The Green »

My understanding from the last time this was brought up is that the only thing that makes them synced is that they use the same random number generator.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

They're greatly affected by network timeouts and network traffic, which shouldnt be the case for purely graphical effects.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Indeed there's no reason it's synced, but at the same time you will see no improvements at all if it's made unsynced, with the exception of nanoparticles possibly being affected by the maxparticles setting.

There will be no change in amount of network traffic, network lag or anything like that tho, most probably you wouldn't even notice it if it was made unsynced.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Except that people with crap computers (me) would be able to remove them from their modfiles, and possibly be able to play at >10 fps.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Thats what I said yes.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Tobi wrote:with the exception of nanoparticles possibly being affected by the maxparticles setting.
Considering the number of nanoparticle sources mods can include, the number of particles that exist per source (a few hundred I think), the lack of customizability (mods with more nanoparticle sources can't reduce the number of them, only turn them off completely and hope for the best) and the inability of players to reduce the number displayed on weaker computers that should be reason enough.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

All I have to say about this is that going to the system I used for NanoBlobs, which involves a lot more code on my end (thus having to go through parser, etc.) and is much more complex... still runs a lot better than the default, at least in my experience. Just like getting rid of the default explosions, I was pleasantly surprised :-)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

@KDR_11k, I'm not arguing against it... I'm just pointing out that certain improvements people think they'll see from it won't be seen. Splitting up unsynced particles and synced projectiles is still on my todo list somewhere, and has been there for a long time. For entirely different reasons then those mentioned here tho.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

Surely the more things can be removed from sync, the more things that can be eliminated from the possible causes of desyncs?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Surely the more things can be removed from sync, the more things that can be eliminated from the possible causes of desyncs?
Not really. For example, smoke particles even if synced (like with the explosion generator), dont affect anything but themself. Same for many other particle types.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

with the exception of nanoparticles possibly being affected by the maxparticles setting.
I thought they already did!

This explains a lot. A lot of the time I see noticeable lag increases when lots of nanoparticles are onscreen and despite that I shouldnt ever see more than 300 particles onscreen according to my manual setting of the maxpaticles value.

Nanoparticles should be unsynced for this reason alone.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Of course. Now get someone to code it.
Post Reply

Return to “Feature Requests”