MPowell1944 has sent us an excellent tutorial lately on how to use triggers to modify the fog in your maps. This is for single player maps.
Curious? Read it here.
New tutorial!
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Hey hey hey!
Cool! Really easy to do, and I did not think of it!
Well I dont do SP so I cant use it, but it gives me other cool ideas like:
- Pulsating fog.
- The level gets more / less fog as time goes by.
- As the sun sets / rises the fog gets / looses a red tint.
- Smoke bomb ojective / fan objective that decreases / increases visibility distance.
Exelent MPowell1944 !
Cool! Really easy to do, and I did not think of it!
- Pulsating fog.
- The level gets more / less fog as time goes by.
- As the sun sets / rises the fog gets / looses a red tint.
- Smoke bomb ojective / fan objective that decreases / increases visibility distance.
Exelent MPowell1944 !
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:
- ZeroSkaten
- Second Lieutenant
- Posts: 159
- Joined: Sun Jan 12, 2003 11:03 pm
- Location: Canada
- Contact:
nice tut man. keep it up 
Together we will leave no posts un awnsered!
BTW that me in the picture

Visit my site: http://www.planetmedalofhonor.com/hk/
As I say: A 3d model a day keeps the career consultant away.
BTW that me in the picture

Visit my site: http://www.planetmedalofhonor.com/hk/
As I say: A 3d model a day keeps the career consultant away.
-
Oddball_Woof
- Sergeant
- Posts: 74
- Joined: Tue Aug 06, 2002 9:32 am
- Location: London UK
nice making a tutorial,
though it has been sitting there in Omaha m3l1a.scr clear as day for sometime LOL
eg:
//*** pulling the fog back
main_boat_ride_fog:
println "FARPLANE: the g_ddayfog value: " (getcvar(g_ddayfog))
if (getcvar(g_ddayfog) == "2") //*** low setting
{
local.farplane_start = 2000
local.farplane_done = 2500
}
else if (getcvar(g_ddayfog) == "1") //*** medium setting
{
local.farplane_start = 3500
local.farplane_done = 5000
}
else //*** high setting
{
local.farplane_start = 3500
local.farplane_done = 8300
}
println "FARPLANE: starting fog: " local.farplane_start
println "FARPLANE: rolling back fog to: " local.farplane_done
for (local.i = local.farplane_start ; local.i <= local.farplane_done ; local.i += 50)
{
$world farplane local.i
wait .1
}
end
before you ask if you do. yes I have posted about it a few times but I don't have your scripting skills Powel, far from it... if only I had.
So respect for your ability dude.
though it has been sitting there in Omaha m3l1a.scr clear as day for sometime LOL
eg:
//*** pulling the fog back
main_boat_ride_fog:
println "FARPLANE: the g_ddayfog value: " (getcvar(g_ddayfog))
if (getcvar(g_ddayfog) == "2") //*** low setting
{
local.farplane_start = 2000
local.farplane_done = 2500
}
else if (getcvar(g_ddayfog) == "1") //*** medium setting
{
local.farplane_start = 3500
local.farplane_done = 5000
}
else //*** high setting
{
local.farplane_start = 3500
local.farplane_done = 8300
}
println "FARPLANE: starting fog: " local.farplane_start
println "FARPLANE: rolling back fog to: " local.farplane_done
for (local.i = local.farplane_start ; local.i <= local.farplane_done ; local.i += 50)
{
$world farplane local.i
wait .1
}
end
before you ask if you do. yes I have posted about it a few times but I don't have your scripting skills Powel, far from it... if only I had.
So respect for your ability dude.
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:

