Question about rain

matou

L2: Junior Member
Oct 25, 2008
86
20
I've been wondering how to get rain working in TF2 similar to the one in sawmill.

Any tips are of course appreciated :D
 

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
It's a particle system. particle_rain_001, IIRC.

If you want it to collide and kill on brush surfaces, particle_rain_001_collision
 

matou

L2: Junior Member
Oct 25, 2008
86
20
But how do i get it in is it an entity? and if so what to be specific :p i'm completely lost on the subject of rain and particles
 

sniprpenguin

L6: Sharp Member
Mar 14, 2008
266
258
info_particle_system

Name: env_rain_001
Start Active?: Yes
Flag as weather: Yes

EDIT: It has a radius of 512 and a height of 1024, so be sure that each system is not any closer than 700 units to each other.

The way I've handled it in the past is by creating a 1024x1024x1024 cylinder, placing an info_particle_system with the proper info at the top dead-center, and then shift-dragging it to where I need. In the overhead x/y view, you can see these cylinders and where they overlap.

Also, it'll go through buildings (unless you're using that collision rain, but it's very intensive on systems), so be sure to place it mainly outside.
 
Last edited:

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
Name: env_rain_001

Of course. Duh.
But I am at work, so I couldn't look it up.

By the way, what does "flag as weather" do? Because on sawmill the rain isn't "flagged as weather" and I haven't found or seen any difference in the particle system's function.
 

sniprpenguin

L6: Sharp Member
Mar 14, 2008
266
258
By the way, what does "flag as weather" do? Because on sawmill the rain isn't "flagged as weather" and I haven't found or seen any difference in the particle system's function.

It's in the advanced options to toggle weather on/off. If a player wants it off (due to low FPS or whatever), it won't run. Valve's weather particles are hard-coded as weather, and the flag as... option is mainly for custom particles.

It still can't hurt to set it, though. :p
 

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
Ahhh.

So you could mark some rain as weather, and others as not. Then those with "weather" turned off would still get rain, but only in the important areas (the filler systems would be turned off).