rain in hl?

rain in hl?

Re: rain in hl? Posted by trampus on Sun Jan 11th 2004 at 8:19am
trampus
60 posts
Posted 2004-01-11 8:19am
trampus
member
60 posts 6 snarkmarks Registered: Aug 29th 2003
ive got the rain.spr i just dont know which entity i should use and wat values should be put in

help would b much apreciated :biggrin:
Re: rain in hl? Posted by beer hunter on Sun Jan 11th 2004 at 1:44pm
beer hunter
281 posts
Posted 2004-01-11 1:44pm
281 posts 602 snarkmarks Registered: Jul 6th 2003 Occupation: Beer taster Location: The Pub
Use env_sprite, in the Sprite Name field enter the folder where the sprites stored and its name, something like - sprites/rain.spr. It should work with the default values used for the other settings.

For a rainfall fx you can use an animated sprite, DOD's xrain.spr is quite nice looking.

There's a couple of problems with animated sprites - they're laggy so don't use too many and they have to be positioned so that you don't get rain coming in thru building roofs and walls.

ttfn
Re: rain in hl? Posted by Leperous on Sun Jan 11th 2004 at 2:10pm
Leperous
3382 posts
Posted 2004-01-11 2:10pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Well, it depends on what type of rain sprite you have:

If you have a 'single' rain drop sprite, you'll need to use an env_beam entity for each drop, with info_targets as the start and end entity for every drop you have. Set the life to 0, texture scroll to -20 or so, and tick the start on flag.

Or if you have a large rain sprite which shows more than one drop, just use an env_sprite entity. Both ways need the sprite name value to be sprites/rain.spr (or linking to wherever your rain sprite is kept), with render mode set to additive, and play around with the FX amount.

And again, as he said above, too many can cause serious slow-down in game :smile:
Re: rain in hl? Posted by scary_jeff on Sun Jan 11th 2004 at 2:18pm
scary_jeff
1614 posts
Posted 2004-01-11 2:18pm
1614 posts 191 snarkmarks Registered: Aug 22nd 2001
A prime example of a question that has been asked many times before?
Re: rain in hl? Posted by trampus on Sun Jan 11th 2004 at 4:24pm
trampus
60 posts
Posted 2004-01-11 4:24pm
trampus
member
60 posts 6 snarkmarks Registered: Aug 29th 2003
thanx lep, much apreciated.

youll c the rain in de_altitude
Re: rain in hl? Posted by Hornpipe2 on Mon Jan 12th 2004 at 2:45am
Hornpipe2
636 posts
Posted 2004-01-12 2:45am
636 posts 123 snarkmarks Registered: Sep 7th 2003 Occupation: Programmer Location: Conway, AR, USA
http://collective.valve-erc.com

tutorial on their site, from the old valve-erc.
Re: rain in hl? Posted by Jinx on Mon Jan 12th 2004 at 9:17pm
Jinx
874 posts
Posted 2004-01-12 9:17pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
another way to do it is with func_illusionaries and scroll textures. depending on how big an area it is, whether it's just outside a window, etc. that can look better and be more practical. It's what DeepQantus used in his map Noir which I finished for him:

User posted image

I know DQ won't mind me loaning the scrollrain texture from Noir, and I asked Hondo if it was okay to share his rain-on-ground (or skylight) animated textures and he said it was okay. I zipped them up for you HERE, please credit those guys if you use them (see readme). Anyone else is welcome to try them, too. I used them in Revenant as well.

oh, and it was made for ahl's env_rain entity, but the rain sprites here might be useful. I think the HL one is way too 'blue'.

edit: the problem with using env_beam sprite stuff is that it uses so many entities for just a few drops. But can't you use models to put a bunch of sprites in one place for grass etc.? maybe someone who knew what they were doing could make some 'rain models' that fill a decent sized area with falling rain sprites, so you could cover a good-sized area with just a few env_sprite or cycler_sprite entities used to place the 'model' in the map.
Re: rain in hl? Posted by Forceflow on Mon Jan 12th 2004 at 9:36pm
Forceflow
2420 posts
Posted 2004-01-12 9:36pm
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
(just a little bit off-topic: god, beautiful screenshot !)
Re: rain in hl? Posted by Jinx on Mon Jan 12th 2004 at 9:47pm
Jinx
874 posts
Posted 2004-01-12 9:47pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
hehe thanks. it's mostly DQ's work, though I redid the lightposts and made the env_glows look a lot better. I lost the final source, though, otherwise I'd do a HLDM version too. If someone is good with ripent and has time to alter it for HLDM...
Re: rain in hl? Posted by Forceflow on Mon Jan 12th 2004 at 10:12pm
Forceflow
2420 posts
Posted 2004-01-12 10:12pm
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
It would be worth it, but sorry, can't do that. :sad:
Re: rain in hl? Posted by beer hunter on Tue Jan 13th 2004 at 12:28am
beer hunter
281 posts
Posted 2004-01-13 12:28am
281 posts 602 snarkmarks Registered: Jul 6th 2003 Occupation: Beer taster Location: The Pub
Very nice looking indeed and a psuedo reflective fx in such a big area. Was a bit weird running around in black and white :smile:

BTW the archive needs BN_bulb.spr for HLDM.
Re: rain in hl? Posted by Cassius on Tue Jan 13th 2004 at 5:56am
Cassius
1989 posts
Posted 2004-01-13 5:56am
Cassius
member
1989 posts 238 snarkmarks Registered: Aug 24th 2001
The noir concept has never really done so well in Half-Life - using small textures requires lots of stand-out colors and sharpening to go toe-to-toe with newer games. The puddle effect could be more polished, but it's a good idea.
Re: rain in hl? Posted by matt on Tue Jan 13th 2004 at 8:45am
matt
1100 posts
Posted 2004-01-13 8:45am
matt
member
1100 posts 246 snarkmarks Registered: Jun 26th 2002 Occupation: Student! Location: Edinburgh
Nice effect, theres another tutorial on it here:

http://collective.valve-erc.com/index.php?doc=1046838887-64569500

and another one here:

http://ahlmd.telefragged.com/tutorials.php?tid=25

although the second ones a bit more complex. It was written by Jinx I beleive.
Re: rain in hl? Posted by scary_jeff on Tue Jan 13th 2004 at 9:11am
scary_jeff
1614 posts
Posted 2004-01-13 9:11am
1614 posts 191 snarkmarks Registered: Aug 22nd 2001
What's Hondo up to these days Jinx?
Re: rain in hl? Posted by Jinx on Tue Jan 13th 2004 at 3:13pm
Jinx
874 posts
Posted 2004-01-13 3:13pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
that second tutorial only works for Action Half-Life, matt. and ironically, although Noir is an AHL map, it doesn't use the env_rain- the other rain just looks better for that map, and besides the env_rain wants to fall through the mirror-ground effect if you try it :rolleyes:

Hondo still hangs out in #ahl_mapping in IRC, but he hasn't done any mapping for a long time that I'm away of, scary :cry: . Not sure if he has any gaming-related projects going atm or not.
Re: rain in hl? Posted by matt on Tue Jan 13th 2004 at 5:42pm
matt
1100 posts
Posted 2004-01-13 5:42pm
matt
member
1100 posts 246 snarkmarks Registered: Jun 26th 2002 Occupation: Student! Location: Edinburgh
I stand corrected :smile:
Re: rain in hl? Posted by OtZman on Wed Jan 14th 2004 at 2:17pm
OtZman
1890 posts
Posted 2004-01-14 2:17pm
OtZman
member
1890 posts 218 snarkmarks Registered: Jul 12th 2003 Occupation: Student Location: Sweden
Forceflow said:
(just a little bit off-topic: god, beautiful screenshot !)
I agree: :eek:
Re: rain in hl? Posted by trampus on Wed Jan 14th 2004 at 4:09pm
trampus
60 posts
Posted 2004-01-14 4:09pm
trampus
member
60 posts 6 snarkmarks Registered: Aug 29th 2003
OtZman said:
Forceflow said:
(just a little bit off-topic: god, beautiful screenshot !)
I agree: :eek:
me too :biggrin:

btw thanx to hornpipe2, i saw that tut ages ago but i couldnt remember wat site it was on and i forgot to bookmark it :sad:
Re: rain in hl? Posted by matt on Wed Jan 14th 2004 at 4:27pm
matt
1100 posts
Posted 2004-01-14 4:27pm
matt
member
1100 posts 246 snarkmarks Registered: Jun 26th 2002 Occupation: Student! Location: Edinburgh
you should have a sound for rain as well, so that when people go outside, they can hear it pitter-pattering.
Re: rain in hl? Posted by Jinx on Wed Jan 14th 2004 at 7:52pm
Jinx
874 posts
Posted 2004-01-14 7:52pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
matt said:
you should have a sound for rain as well, so that when people go outside, they can hear it pitter-pattering.
there are several rain sounds in this SOUND PACK, even some good thunder sounds. It's about 6mb, all sounds formatted to use in HL.

(yes I have a link for fricking everything) :rolleyes:

btw, if you are going to use a global ambient_generic for the rain sound, put it in a tiny box waaaayy above the map. that will make it sound like it's coming from everywhere around you. otherwise it will sound like the rain noise is coming from a particular part of the map and that's just weird.