View Single Post
  #4  
Old 12-12-2005, 04:20 PM
dave61 is offline dave61
dave61's Avatar
I.C.U.

Join Date: Jul 2005
Location: Here & There
Posts: 2,155

Send a message via Yahoo to dave61
Wink

Quote:
Originally posted by CoyoteCDS
The weather is controlled by .WAC scripts.

Click on tools, then open mission WAC, then copy & paste the following into the .WAC




if never() then // start rainfall and fast-moving clouds

rain(75,1)

overcast(70,30)

skyspeed(80)


// Random Lightning and Thunder
If past(10) and random (33) then
farflash
endif

lightning(250,250,250)
wave("thdrcrk2.wav",1000)

To have snow instead of rain, then replace the word Rain with the word Snow.
Don't forget the "endif" statement. It won't work without it.

if never() then // start rainfall and fast-moving clouds
rain(75,1)
overcast(70,30)
skyspeed(80)
endif

Then combine the lightning flash with the color statement and wav :


If past(10) and random (33) then // Random Lightning and Thunder
farflash
lightning(250,250,250)
wave("thdrcrk2.wav",1000)
endif
Reply With Quote