nuclearsilo583 / zephyrus-store-preview-new-syntax

My rewritten zephyrus store
61 stars 40 forks source link

[CS:GO] Colored smoke density and fps drop #165

Closed VaaLaaKi closed 1 year ago

VaaLaaKi commented 1 year ago

Is it possible to make the smoke more dense? I tried different values for "density", but I couldn't get results like the default smoke ingame.

My settings:

                "Red"
                {
                    "rgb color"             "255 0 0"
                    "start size"            "220"
                    "end size"              "2"
                    "base spread"           "100"
                    "speed spread"          "20"
                    "twist"                 "5"
                    "speed"                 "80"
                    "rate"                  "60"
                    "jet length"            "200"
                    "density"               "200"
                    "lifetime"              "15"
                    "unique_id"             "uid_smoke_color_red"
                    "price"                 "1000"
                    "material"              "particle/particle_smokegrenade1.vmt"
                    "type"                  "ColoredSmoke"
                    "preview"               "1"
                }

These photos were taken from the same angle in the red and default smokes. I'm standing in the center of the smoke.

Red smoke 1 redsmoke1

Default smoke 1 defaultsmoke1

Red smoke 2 redsmoke2

Default smoke 2 defaultsmoke2

VaaLaaKi commented 1 year ago

With the following settings I managed to get a similar performance as the original smoke but it is not the best.

                "Red"
                {
                    "rgb color"             "255 0 0"
                    "start size"            "110"
                    "end size"              "2"
                    "base spread"           "85"
                    "speed spread"          "20"
                    "twist"                 "5"
                    "speed"                 "80"
                    "rate"                  "200"
                    "jet length"            "200"
                    "density"               "200"
                    "lifetime"              "15"
                    "unique_id"             "uid_smoke_color_red"
                    "price"                 "1000"
                    "material"              "particle/particle_smokegrenade1.vmt"
                    "type"                  "ColoredSmoke"
                    "preview"               "1"
                }

Also, the fps drops from 400 to 30 when you get into the smoke, so I'd rather not use this addon. If I may suggest a new color smoke store plugin, I think this plugin works better: https://github.com/vanz666/ColoredSmoke

It is true that, if you stand inside the smoke the colour remains grey, but there is no fps drop and the smoke is the same as the original.

VaaLaaKi commented 1 year ago

I found a good working version on another website. (https://hlmod.net/resources/grenade-smoke-colors.3920) I'll upload it here in case someone needs it. However, there is a small flaw when two smokes overlap. I have attached photos.

colorsmoke1.7.zip

smoke1 smoke2 smoke3 smoke4

I will close this issues as CS2 will be released soon and this smoke plugin will be irrelevant I guess.