Problems with weather.scr

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
IvanTheTerrible
Sergeant
Posts: 55
Joined: Thu Jun 26, 2003 7:35 pm
Location: Upland, CA

Problems with weather.scr

Post by IvanTheTerrible »

I'm trying to utilize the weather.scr in dm/mohdm2, but the sound doesn't work. The visuals work, but the sound doesn't. Also, I did notice that the lightning flashes only seem to light up the lower portion of the map--the sky itself does not flash.
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

lightning flashes change the fog to a bright white color, then back to the original setting. if the map doesnt have fog, you might have to make one.
User avatar
IvanTheTerrible
Sergeant
Posts: 55
Joined: Thu Jun 26, 2003 7:35 pm
Location: Upland, CA

The present script

Post by IvanTheTerrible »

I could have sworn the lightning was flashing in the sky before I installed Counter Intelligence. Her is the pertenent section of the script as it currently exists:

level waittill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
$world farplane 3000
$world farplane_color ( .3 .3 .3)
exec global/weather.scr

level waittill spawn
Post Reply