Raox2 / sunrust-issues

A place for bugs and the like.
2 stars 0 forks source link

[ZS] Remove collisions from particles that don't need it #19

Closed ghost closed 6 years ago

ghost commented 6 years ago

Particles with the following "particle:SetCollide(true)", cause fps loss in Particle Simulation. Particles which have an origin point from a model or world shouldn't have a need for collisions. There may be other cases where they aren't needed or are just pointless.

Examples: Chem Burster status_bursterambience, which is spammable due to being attached to a zombie class.

Smoke damage from prop_gunturret and it's variants.

prop_obj_sigil - this one seems pointless to me, and since sigils are set to transmit_always, I've seen that they still get culled, but it's not as reliable as other entities are.

prop_creepernest, same deal as the sigil.

zombiegasses

Some particles actually need it, as it's part of their effect to collide with the world and leave behind decals, most are just placing unnecessary burden on the client for little benefit.

ritzbits commented 6 years ago

Raox2 [sunrust-zs:master] 1 new commit 3c09cb4 Another quick fix and remove particle collision from a few things - Raox2

Particle collisions removed from prop_creepernest, prop_gunturret, prop_obj_sigil, status_chemzombieambience, zombiegasses