There is a plugin. It creates a fake brush entity with mins and max equal to the world ones. And this brush is used as a model for a Func_precipitation entity. It works the way it should, only there are 2 bugs. It's very laggy on most maps (especially when there are a lot of players). And the most unpleasant one - it crashes game-clients. The plugin is called Snowfall, you can get it here: https://forums.alliedmods.net/showthread.php?p=1619374 I have a guess that it works with cubic maps and does not work with concave maps (when part of the brush gets outside the world space). In that case I'd recommend to create multiple brushes to fill the map without getting outside of it. Though it's only my opinion and may not be correct. The best map to test my idea on is zm_kirillconstruction, if use default settings - it crashes clients and causes lags. The simplest way to avoid such problems - create a list of compatible maps and use this plugin only with this maps. You can also edit the map via Hummer editor - add Func_precipitation, than cut it out form *.vmf and recreate in runtime via smx
Сообщение отредактировал Nail - Вторник, 19.12.2017, 21:01:31 |