Raining Question?

TMB

Banned
Jun 7, 2015
821
323
I know that for make rain its neccesary info_particle_system, but, can someone explain how it works and how to put it on my map?
 

seth

aa
May 31, 2013
1,019
851
The method to create rain in TF2 is really shit. You use an info_particle_system with env_rain001 and you space them out roughly 1024 units around the map. This is the because env_rain001 casts itself in 1024 unit sphere. If only we could use func_precipitation...
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
ye, thanks for that vmf but i need an explication of how it works, to make dont enter on interiors and that stuff

You can create a 512 by 512 (I think?) brush textured in Skip and place the rain particle in the centre. The rain will only fall within the area of the brush, so you can use the brush as reference to ensure that rain only falls in exterior spaces.
 

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
The method to create rain in TF2 is really shit. You use an info_particle_system with env_rain001 and you space them out roughly 1024 units around the map. This is the because env_rain001 casts itself in 1024 unit sphere. If only we could use func_precipitation...

That sounds quite inconvienent, though that's good to know I guess. I wonder though if Valve would make our lives easier with func_precipitation.
 

TMB

Banned
Jun 7, 2015
821
323
You can create a 512 by 512 (I think?) brush textured in Skip and place the rain particle in the centre. The rain will only fall within the area of the brush, so you can use the brush as reference to ensure that rain only falls in exterior spaces.
but if i want that falls over a roof?
 

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
You mean in like, the rain hits the roof, but doesn't get through? I need to check sawmill decompiled someday. You probably have to place it high enough so you have the rain on top of the roof, but no rain indoors.




At least it's not raining.
 

seth

aa
May 31, 2013
1,019
851
You keep asking about how to place the particles and we keep telling you they have a radius of effect. It's not the most efficient, but you just need to place them every 1024 units. Just imagine a 1024 unit sphere around the particle, or you can do as Psy says and put a big skip box around it.

Surprised Psy didn't mention it but he made a rain particle that has collisions so it will detect solid geometry and not pass through it. I don't know how much of an effect it has on performance, but that's an option.
 

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
Surprised Psy didn't mention it but he made a rain particle that has collisions so it will detect solid geometry and not pass through it. I don't know how much of an effect it has on performance, but that's an option.

I don't think it would have a heavy effect on performance, however is there a download link for it?
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
I don't think it would have a heavy effect on performance, however is there a download link for it?
You'd be wrong in saying that I think. It's a lot of particles, all with collisions. When you get a decent amount of them going on a map it can hurt performance. Then again, you should really be using them only above buildings you can get into. On the other spots just use the normal particles. Nobody will notice.

As for the radius: I know @Crash had a prefab or something like that when making cp_overgrown during the last 72hr contest (not the jam, the 2015 summer contest). It was basically the particle with a skip brush parented to it showing the size of the particle. Makes it handy when lining it up to buildings. Don't know where he got it though, that's why I poked him here.
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Surprised Psy didn't mention it but he made a rain particle that has collisions so it will detect solid geometry and not pass through it. I don't know how much of an effect it has on performance, but that's an option.

Yeah. Nobody sure every use them because they kill performance.
 

Requiesta

L1: Registered
Feb 23, 2016
26
12
Yeah. Nobody sure every use them because they kill performance.

Really? I've used the cheap version and never seen an issue, though I have mad sure to flag it as weather so it can be turned off.