Talk:Func precipitation

From Valve Developer Community
Revision as of 20:50, 19 December 2008 by Mummyjohn (talk | contribs) (Texture)
Jump to: navigation, search

Is there some hidden mojo to using this entity properly? Some days my rain shows up, some days it doesn't, and as far as I'm aware, it isn't as a consequence of changes I've made (either to the func_precip entities, or to the many rain related console commands). I'm using it in HL2SP as well, so it's not like it's one of those shady CVar-changing "anti-cheat" server mods messing with it either.

Are there any skilled meteorologists reading who might provide some pointers as to where I am going wrong? Thanks. --Giles 10:00, 28 May 2006 (PDT)

Avoid using cloudless skyboxes :D --Deadity 10:19, 28 May 2006 (PDT)
I'm going to guess here, but if you're sending multiple I/Os at the same time, they're likely interfering. This is the cause of a lot of my "random sometimes works" issues. Space out your fires with a .1 second gap, so they have time to resolve. --Spektre1 15:49, 28 May 2006 (PDT)
Thank you for the responses (though the entity has no inputs and my skybox is already overcast :P). Embarrassing as it is to admit it, I think I am simply suffering user-error. I've been trying out various settings and squinting at my screen, and it seems that the rain is always there, just barely noticeable, even at 100% density and coloured black. Against most backgrounds, the rain is effectively invisible. Guess I will try editing the rain sprite/some console variables and see if that improves matters. --Giles 05:49, 29 May 2006 (PDT)
I couldn't see any effect of RGB on the rain myself. Also, when using func_precip, I always get a console message stating that the texture wasn't cached and the refcount was bumped (apparently to ensure retention). Hadn't seen that elsewhere. —BJ(talk) 15:05, 29 May 2006 (PDT)
You should try making a brighter alpha channel to make it more may also be because of "$vertexalpha" 1ts2do 14:56, 29 May 2006 (PDT)
Thanks for the further suggestions. As an epilogue, I got great results with r_raindensity and r_rainalpha. The console commands offer far finer control than the entity's own keyvalues and changing my mod's config file seems much less work than getting mucky with the VMT. Once the rain is more visible, the RGB values do have an effect - my black rain looked like a biblical plague of insects, raining down from the sky. --Giles 15:15, 29 May 2006 (PDT)


The external link at the bottom of the page just links to wikipedia's "stupidity" article...


Hey all, I've made a nice outdoor area with water and whatnot, and saw that could place in rain. However i dont have Func_Percipitation in my list of items in Hammer... why is this? I've never made rain so its new to me and could be missing something? SDK is the most update one. Any ideas would be great :D

This is a BRUSH based entity, tie it to a brush that fills any area you want rain. --Sbrown 14:33, 13 Dec 2008 (PST)


I get it to rain fine; I used the Black tool texture for the func_precipitation entity. Is there a specific texture that you're "supposed" to use, or just any I feel like?