brun_cot - 4-5-2006 at 11:16 AM
how do i make it snow, rain and have wind?????
mr tarzan - 4-7-2006 at 04:40 AM
Working with weather
You can create weather effects using wac, such as mist , rain , thunder lightning make it daytime or night time etc?
Here is a good example for you of a basic weather effect I found on the nova world forums
Explanation:
After 90 seconds has passed it will begin to rain and go overcast, both reaching full strength 20 seconds later. It also sets variable 1 to 1 with
"set (v1,1)". After another 90 seconds (180 seconds into the round) the rain and overcast will die away to nothing over 20 seconds and the map will
brighten up again. Also the variable 1 is now set to 2. Only if variable 1 is set to 1 will the last part of the script activate... causing thunder
and lighting randomly once in every 30 times.
if never() and Past(90) then
rain(100,20)
overcast(100,20)
set (v1,1)
endif
if never() and Past(180) then
rain(0,20)
overcast(0,20)
set (V1,2)
endif
If eq(v1,1) and random(30) then
farflash
flash
endif
Here is a list of most of the other weather effect which you can use. The best way to learn is to experiment with them
fxrain(fx) rain down effect # somewhere near player
farflash produce a far away flash of lightning & thunder
flash produce a flash of lightning & thunder
fogdist(#) sets fogdist to # meters (same as set(fog,#)
fogtype(#) set fog type 0=fog, 1=haze, 2=haze wall, 3=fog wall
gain(#,#,#) sets the brightness of the whole scene
overcast(#,#) produce an overcast (strength, time it takes to get to that strength)
quake(#) earthquake for # 10th of a seconds
rain(#,#) produce rain (ammount of rain, time it takes to get to that ammount) (Don't use FXRAIN)
skyspeed(#) set the sky speed to #
tod(#:#) set the time of day to #:# eg: tod(12:00)
wind (#,#) produce wind sounds etc (strength, time it takes to get to that strength)
snow(#,#) strength , time it takes to reach max strength
This is a part of Brad G's wac tutorial. I can highly recommend downloading it.
mr tarzan 