Rain

Tutorial collection, comprehensive listings on main site.

Rain

Postby Tutorial on Mon Mar 07, 2005 12:35 am

category
General Half-Life 2/Effects

description
It's crude but can add that nice touch.

keywords
rain, func_precipitation.

Adding Rain to your map

Creating Rain is a simple process which takes only a few minutes, not only does it look good but it also helps create a certain atmosphere. I have made a small sample map to show how rain can be used to help build atmosphere in your map.

So just how do you make rain? All will be explained in this tutorial.

Create a brush with the “nodraw” texture covering the area you want the rain to appear in your map.

Example:

Image Image


With the brush selected right click it in the 2d view and then left click on “Tie to Entity” or with the brush selected just hit “Ctrl+T”.
Once you have done this a properties box should pop up.
Go to the “Class” menu located in the top left, click on the arrow and scroll down until you find “func_precipitation” click on it, then click on apply in the bottom left of the “Object Properties” box.

Example:


Image Image


Congratulations you have just created rain, compile your map and check it out.


Image

Now you have rain in your map how about customising it so it fits in with your maps atmosphere? I’ll explain the rains properties below.

Name = the name that other entities refer to this entity by.
Just type in the name you would like to give to the entity and hit the “apply” button located in the bottom left. Remember entity names cannot have spaces in.

Parent = the name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
To connect this entity with a parent entity just scroll down the menu till you find the name of the entity you would like to tie your rain entity to.

Density = this setting determines how hard you want it to rain, the setting ranges from 1-100%.


1% is a light shower.
100 is a heavy down pour.


Colour = this setting is used to define the colour of your rain. Just hit the pick colour button and choose one you like.

Precipitation type = this setting is used to define what your rain looks looks like in game.
If you want to give it the look of snow, select snow from the pop down menu.
If you want to make it look like rain, select rain from the drop down menu.

To view the object properties box, just select the entity/brush, right click and scroll down to properties.

And there you have it ladies and gents. That’s all there is to know about rain, hope this has helped, happy mapping.

Related
Example Map
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

Postby Pinworm45 on Thu Mar 10, 2005 7:37 am

Excellent tutorial. thinking it was the same as hl1, I used env_beams to make rain.. needless to say this took hours.

Thanks!
Off Topic : Hail Pink Floyd!
Pinworm45
Member
Member
 
Joined: Thu Mar 10, 2005 7:08 am

Postby Cr4ig on Thu Mar 10, 2005 5:35 pm

In HL1 you just get the expert.fgd and use env_rain, but owell :P
Image
Cr4ig
Senior Member
Senior Member
 
Joined: Mon Nov 08, 2004 10:55 pm

Postby Blink on Thu Mar 10, 2005 6:39 pm

Cr4ig wrote:In HL1 you just get the expert.fgd and use env_rain, but owell :P


That was CS 1.6, not HL
User avatar
Blink
Cool 'n that
Cool 'n that
 
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Postby 9f1062f623f9 on Thu Mar 10, 2005 6:57 pm

Fool!

:P
Level Designer :: Natural Selection 2
Online Portfolio :: http://dux.interlopers.net

Image
User avatar
9f1062f623f9
Unknown Worlds
 
Joined: Tue Nov 09, 2004 10:07 pm
Location: United Kingdom

Postby wiggle987 on Thu Mar 10, 2005 7:05 pm

<3 the new update allowing us to use rain and snow in hl2 now
Image
User avatar
wiggle987
Veteran
Veteran
 
Joined: Mon Nov 22, 2004 8:54 pm
Location: O RLY?

Postby Cr4ig on Thu Mar 10, 2005 8:05 pm

dux wrote:Fool!

:P


LoL

/cries
Image
Cr4ig
Senior Member
Senior Member
 
Joined: Mon Nov 08, 2004 10:55 pm

Postby Pinworm45 on Fri Mar 11, 2005 4:26 am

wiggle987 wrote:<3 the new update allowing us to use rain and snow in hl2 now


Yeah it's quite nifty. My only complaint is that there are no snow textures (asside from CS:S), making snow pretty pointless. It's still helpful for mods though :P.
Off Topic : Hail Pink Floyd!
Pinworm45
Member
Member
 
Joined: Thu Mar 10, 2005 7:08 am

Postby Someth|ng W|cked on Thu Mar 24, 2005 8:42 am

It is also better to use the "trigger" instead of the "nodraw" texture on env brushes so you can see the brush but still see the rest of your map with no problem in hammer

I am going to look into making a point entity for weather fx like the one in dod, i liked that method much beter then having to use a brush
User avatar
Someth|ng W|cked
Regular
Regular
 
Joined: Thu Mar 24, 2005 7:48 am

Postby smeerkat on Sun Apr 03, 2005 6:24 pm

Someth|ng W|cked wrote:It is also better to use the "trigger" instead of the "nodraw" texture on env brushes so you can see the brush but still see the rest of your map with no problem in hammer


very cool tip. 8)
über dumpling.
User avatar
smeerkat
Regular
Regular
 
Joined: Sun Apr 03, 2005 5:36 pm
Location: Babylon 4

Postby Idono on Tue Apr 12, 2005 8:38 pm

Dosen't work.
Idono that's me!!

Image
Idono
Regular
Regular
 
Joined: Fri Mar 18, 2005 6:33 pm

Postby Persol on Tue Apr 12, 2005 10:28 pm

It works fine for me....
Persol
1337 p0st3r
1337 p0st3r
 
Joined: Sun Apr 03, 2005 5:53 pm

Postby RabidGoat on Tue Apr 12, 2005 10:35 pm

the tutorial isn't that clear, and it kinda got me mixed up also........but I figured it out after looking closely at the pictures.

My mistake was I just put the nodraw texture covering the floor thinking that rain would just magicaly appear above it

not so

you can to make the nodraw box go up into the sky, and not just place it on the ground like I did :oops:

I hope my mistake will teach someone a lesson.

ha-ha
Your friendly neiborhood Hammer n00b
-Rabid Goat
RabidGoat
Regular
Regular
 
Joined: Sun Mar 20, 2005 4:52 am
Location: Florida (It's just as hot as you think it is) =P

Postby Idono on Wed Apr 13, 2005 5:44 am

yeah figured it out 30 mins later :)
Idono that's me!!

Image
Idono
Regular
Regular
 
Joined: Fri Mar 18, 2005 6:33 pm

Postby serpent666 on Wed Apr 13, 2005 6:33 am

errmmm i dunno if this has been coverd or not but

in all my maps when i add rain .. it rains inside the building :shock:


anyway is there a way to fix that? i was thinkin of something like putting a clip over the roofs ... but that proved to not work....
Image
User avatar
serpent666
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Thu Apr 07, 2005 1:03 pm
Location: Perth , Western Australia
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users