how to make fog?
Moderator: Moderators
-
sKsMudvayne
- Lance Corporal
- Posts: 20
- Joined: Wed Aug 18, 2004 7:49 pm
- Location: Canada, Ont.
- Contact:
how to make fog?
hey i was wondering any of you could tell me how to make fog in my map.....i tried checking in the tut but couldnt find it unless i missed it ....well anyways i was wondering how to make fog in my map.....and not to much fog just a little 
Thy shall pay in blood
I believe that the best way to make fog is to script it.
For example:
This is the actual piece that generates the fog:
The density of the fog:
600 is very heavy fog while 8000 is allmost nothing
The color of the fog
for colors, in radiant, press "k"
I dont know much about scripting, but i think that this is the best way (and please, if my script is wrong then correct me!
)
Ne0
For example:
Code: Select all
main:
setcvar "g_scoreboardpic" "none"
level waitTill prespawn
exec global/DMprecache.scr
level.script = maps/dm/yourmap.scr
level.farplane = 3000.000000
$world farplane level.farplane
$world farplane_color (.7 .7 .7)
level waittill spawn
end
Code: Select all
level.farplane = 3000.000000
$world farplane level.farplane
$world farplane_color (.7 .7 .7)
Code: Select all
level.farplane = 3000.000000
The color of the fog
Code: Select all
$world farplane_color (.7 .7 .7)
I dont know much about scripting, but i think that this is the best way (and please, if my script is wrong then correct me!
Ne0
Ne0[be]
better known as El Sarcasm0!
better known as El Sarcasm0!
The fog is called "farplane" and you set the distance and color in worldspawn.
1. Select one of your skybox brushes.
2. Hit key N.
3. In the "Key:" box type farplane.
4. In the "Value:" box type in the longest distance (in units) found on your map. Example: 8000.
5. Hit enter.
6. Now type farplane_color in the key box.
7. In the value box type three numbers for the color. Example: 0.33 0.33 0.33 .
8. Hit enter and key N again on the keyboard.
9. Save your map
1. Select one of your skybox brushes.
2. Hit key N.
3. In the "Key:" box type farplane.
4. In the "Value:" box type in the longest distance (in units) found on your map. Example: 8000.
5. Hit enter.
6. Now type farplane_color in the key box.
7. In the value box type three numbers for the color. Example: 0.33 0.33 0.33 .
8. Hit enter and key N again on the keyboard.
9. Save your map
-
sKsMudvayne
- Lance Corporal
- Posts: 20
- Joined: Wed Aug 18, 2004 7:49 pm
- Location: Canada, Ont.
- Contact: