Garry's Mod

Garry's Mod

StormFox 2
mrswormsweat 2024 年 11 月 29 日 上午 3:47
Wind still computes even if wind speed is set to 0 m/s
I enabled this performance metrics addon psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3367512048 , the library it requires, StormFox 2, and this map psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3360227650 with all other addons being disabled. I disabled gmod_mcore_test when testing this. When on the map using the performance metrics with the wind speed set to 0, it claims the sh_wind.lua file using the hook called "StormFox.Wind.EffectProps" takes 15 to 19 ms of time per second. The time decreases to less than 0.2 ms when I uncheck all of the checkboxes in the Wind section of the server settings dialog. It should go down to less than 0.2 ms when the wind speed is set to 0 m/s as it's practically the same as unchecking all of those checkboxes until increasing this speed again.
最后由 mrswormsweat 编辑于; 2024 年 11 月 29 日 上午 3:48