Question about rain

Discussion in 'Mapping Questions & Discussion' started by matou, Sep 17, 2010.

  1. matou

    matou L2: Junior Member

    Messages:
    86
    Positive Ratings:
    10
    I've been wondering how to get rain working in TF2 similar to the one in sawmill.

    Any tips are of course appreciated :D
     
  2. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    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
     
    • Thanks Thanks x 1
  3. matou

    matou L2: Junior Member

    Messages:
    86
    Positive Ratings:
    10
    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
     
  4. sniprpenguin

    sniprpenguin L6: Sharp Member

    Messages:
    266
    Positive Ratings:
    126
    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.
     
    • Thanks Thanks x 1
    Last edited: Sep 17, 2010
  5. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    you can also use func_precipitation on a trigger box, and just make a box where you want the rain.
     
  6. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    136
    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.
     
  7. sniprpenguin

    sniprpenguin L6: Sharp Member

    Messages:
    266
    Positive Ratings:
    126
    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
     
  8. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    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).