How do you make fog in half life?

How do you make fog in half life?

Re: How do you make fog in half life? Posted by Tyler on Sun Oct 5th 2003 at 6:45pm
Tyler
2 posts
Posted 2003-10-05 6:45pm
Tyler
member
2 posts 0 snarkmarks Registered: Oct 5th 2003 Occupation: None Location: Massachusetts
I would like to know how you put fog in CS maps because i wanna make fog in them

:lol: - :smile: - :confused: - :evil: - :mad: - :sad: - :cry:
Re: How do you make fog in half life? Posted by KoRnFlakes on Sun Oct 5th 2003 at 6:55pm
KoRnFlakes
1125 posts
Posted 2003-10-05 6:55pm
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
you cant. or at least not to my knowledge.
Re: How do you make fog in half life? Posted by Sim on Sun Oct 5th 2003 at 7:19pm
Sim
257 posts
Posted 2003-10-05 7:19pm
Sim
member
257 posts 96 snarkmarks Registered: Sep 30th 2002 Occupation: Student Location: UK
Jinx seems to be good with special effects, and I think he did fog (no not the ground-level stuff).  I don't see him around here anymore though.
Re: How do you make fog in half life? Posted by Gollum on Sun Oct 5th 2003 at 7:53pm
Gollum
1268 posts
Posted 2003-10-05 7:53pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Yes, look up Jinx's website.  Sadly, the only fog-effects I've come across use several layers of sprites and absolutely kill framerates.

Unless, that is, you wish to use the wonderful Spirit of Half-Life mod., which has excellent global fogging.

*warning: Spirit doesn't work in multiplayer (but I have a special ultra-secret copy that does.  Oh yes :biggrin: )

*EDIT: fat lot of use Spirit will be if you're making maps for CS

/slaps self
Re: How do you make fog in half life? Posted by Hornpipe2 on Mon Oct 6th 2003 at 6:04pm
Hornpipe2
636 posts
Posted 2003-10-06 6:04pm
636 posts 123 snarkmarks Registered: Sep 7th 2003 Occupation: Programmer Location: Conway, AR, USA
CS should include Spirit.  Hell, every mod should include Spirit.
Re: How do you make fog in half life? Posted by Finger on Mon Oct 6th 2003 at 6:11pm
Finger
672 posts
Posted 2003-10-06 6:11pm
Finger
member
672 posts 1460 snarkmarks Registered: Oct 13th 2001
Haven't seen this question in a while.
Re: How do you make fog in half life? Posted by Dex on Mon Oct 6th 2003 at 6:26pm
Dex
8 posts
Posted 2003-10-06 6:26pm
Dex
member
8 posts 11 snarkmarks Registered: Aug 31st 2003 Occupation: Architect in process ;) Location: Netherlands, Leeuwarden !!!
If you have a sprite of one 'fog', you can place lots of fog sprites in your map and then make them wink(or something), I made my rain like this, it wasnt for MP btw
Re: How do you make fog in half life? Posted by scary_jeff on Mon Oct 6th 2003 at 11:36pm
scary_jeff
1614 posts
Posted 2003-10-06 11:36pm
1614 posts 191 snarkmarks Registered: Aug 22nd 2001
I think the best you can do is to place sprites that have been set to only rotate around the Z axis (see jinx' tutorial) along corridors, using a fog type sprite that has been stretched. This looks ok on some corridors but only if it's dark, and you have to make sure you don't use too many sprites...
Re: How do you make fog in half life? Posted by Hornpipe2 on Tue Oct 7th 2003 at 12:48am
Hornpipe2
636 posts
Posted 2003-10-07 12:48am
636 posts 123 snarkmarks Registered: Sep 7th 2003 Occupation: Programmer Location: Conway, AR, USA
Good idea, Jeff.  I saw an NS map that used that same idea, but I can't for the life of me remember what it was.  Make sure you put the "fog" in dark rooms though - I tried to darken a bright pit with this same effect once, and it didn't work at all.
Re: How do you make fog in half life? Posted by KoRnFlakes on Tue Oct 7th 2003 at 8:13am
KoRnFlakes
1125 posts
Posted 2003-10-07 8:13am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
Hornpipe2 said:

Good idea, Jeff.  I saw an NS map that used that same idea, but I can't for the life of me remember what it was.  Make sure you put the "fog" in dark rooms though - I tried to darken a bright pit with this same effect once, and it didn't work at all.
ns_hera
Re: How do you make fog in half life? Posted by half-dude on Tue Oct 7th 2003 at 6:34pm
half-dude
580 posts
Posted 2003-10-07 6:34pm
580 posts 76 snarkmarks Registered: Aug 30th 2003 Occupation: male Location: WH
You could put a bunch of sprites everywere, of you do that then might I recomend making the sprites vary big and to use the ballsmoke sprite.
Re: How do you make fog in half life? Posted by Leperous on Tue Oct 7th 2003 at 11:06pm
Leperous
3382 posts
Posted 2003-10-07 11:06pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Methinks Gollum's answer requires an 'in the right direction' category for answers...
Re: How do you make fog in half life? Posted by Orpheus on Tue Oct 7th 2003 at 11:13pm
Orpheus
13860 posts
Posted 2003-10-07 11:13pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Leperous said:
Methinks Gollum's answer requires an 'in the right direction' category for answers...
like i said before "incorrect" and "rejected" are not the same :sad:
Re: How do you make fog in half life? Posted by Cash Car Star on Tue Oct 7th 2003 at 11:18pm
Cash Car Star
1260 posts
Posted 2003-10-07 11:18pm
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
Or I could just change it back to a comment from an answer and then it won't look like he's wrong or something. I think. Gonna try. I've done the reverse to close a few unanswered threads a few times.

Edit: There we go. That way half-right answers won't be marked wrong, at least if a mod happens to notice.

Second Edit: I like Scary_jeff's answer.

Also: The old flf_qcity used a few scaled up, mostly invisbile, smoke sprites to create a foggy city; I think the most recent one had em removed to make things easier to see but it looked half-decent, which is the best you can do really. Better than the Hera technique IMO (though that could be due to which sprite was chosen and density of the sprite)
Re: How do you make fog in half life? Posted by Leperous on Tue Oct 7th 2003 at 11:50pm
Leperous
3382 posts
Posted 2003-10-07 11:50pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
True Orph, but they still don't give you the answer so they're pretty 'useless' still.
Re: How do you make fog in half life? Posted by Orpheus on Wed Oct 8th 2003 at 12:00am
Orpheus
13860 posts
Posted 2003-10-08 12:00am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Leperous said:
True Orph, but they still don't give you the answer so they're pretty 'useless' still.
yeah, i know you are right, but somehow it hurts to see that big red box :sad:

at least it doesn't count against you in the polls :smile:
Re: How do you make fog in half life? Posted by scary_jeff on Thu Oct 9th 2003 at 5:47pm
scary_jeff
1614 posts
Posted 2003-10-09 5:47pm
1614 posts 191 snarkmarks Registered: Aug 22nd 2001
What does this accepted answer stuff mean... it all seems very advanced Lep... not seen it on any other forum.
Re: How do you make fog in half life? Posted by Cash Car Star on Thu Oct 9th 2003 at 6:51pm
Cash Car Star
1260 posts
Posted 2003-10-09 6:51pm
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
It means that I get to spend my time making sure questions in this forum actually get answered. It makes it more useful for people to reference old posts, because they can easily see through color which posts answer the question posed in the beginning of the thread. When you post to a thread with an unanswered question, there is a drop-box where you can choose if your post is an answer or a comment. It defaults to comment. Since you gave the million dollar answer, I edited your post to make it an answer, and then the poster and mods of the forum see YES / NO buttons above possible answer posts which they can use to make thje post red for rejected answer, or blue for accepted answer. Suggested answers (before anything has been marked YES) are gold.
Re: How do you make fog in half life? Posted by scary_jeff on Fri Oct 10th 2003 at 9:14am
scary_jeff
1614 posts
Posted 2003-10-10 9:14am
1614 posts 191 snarkmarks Registered: Aug 22nd 2001
Ohh thats cool.... do I get bonus SnarkMarks as well?
Re: How do you make fog in half life? Posted by KoRnFlakes on Fri Oct 10th 2003 at 9:26am
KoRnFlakes
1125 posts
Posted 2003-10-10 9:26am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
scary_jeff said:
Ohh thats cool.... do I get bonus SnarkMarks as well?
yus
Re: How do you make fog in half life? Posted by Leperous on Fri Oct 10th 2003 at 10:57am
Leperous
3382 posts
Posted 2003-10-10 10:57am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
If you get it right, yes, but if not it doesn't matter. Seems to be working fairly well though, so far avoided a torrent of the same old noobish questions :smile:
Re: How do you make fog in half life? Posted by Orpheus on Fri Oct 10th 2003 at 11:06am
Orpheus
13860 posts
Posted 2003-10-10 11:06am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Leperous said:
If you get it right, yes, but if not it doesn't matter. Seems to be working fairly well though, so far avoided a torrent of the same old noobish questions :smile:
or,...

we have fewer n00bish questioneers :wink:

with, or without a snarkmark reward, i think the new system is a success.. nice addition lep :smile:
Re: How do you make fog in half life? Posted by Jinx on Fri Oct 10th 2003 at 4:03pm
Jinx
874 posts
Posted 2003-10-10 4:03pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
I've seen the method of using ballsmoke sprites scattered about used in a 1player mod once. It worked reasonably well, but I think it's only going to look right in more linear areas (ie not a big open room etc.). Not sure how laggy it could get, either. I don't know that you would need to fix the axis for this effect, in some situations it might be better not to.

What I had used a sprite to do was create a low-lying or ceiling-clinging fog effect. It's pretty limited, but it can look really nice in some situations. There's a tutorial on that here, as well as on making fixed-direction sprites etc.

I've created a few neat special effects for some of my new maps; it can take a lot of experimenting to get something just right. For what you are doing sprites and func_illusionaries are probably the way to go. I would make a small test map of the area you want foggy (so it compiles super-fast) and slowly tinker around with these to see if you can get the effect you want.

(btw, I might make prefabs of the water fountain, 3d lightbeams, and spark-spitting fires from Temple once AHL v1 is out.)