OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: DucusSumus on 05 May 2007, 11:06:18

Title: Forcing Storms
Post by: DucusSumus on 05 May 2007, 11:06:18
Is there any way to force the storm effect?  I'm trying to create a mission that relies on the fact that it takes place during a thunderstorm, but the occurence of the thunderstorm, while likely, is never guaranteed by the editor sliders or setOvercast. 
Title: Re: Forcing Storms
Post by: Mandoble on 05 May 2007, 12:54:08
May be this (http://www.ofpec.com/forum/index.php?topic=29252.0) is what you want.
Title: Re: Forcing Storms
Post by: DucusSumus on 06 May 2007, 00:44:17
Excellent.  Thanks!

Does anyone know how to make the lightning visible though?  I like the default "storm mode" in ArmA, but there doesn't seem to be a way to directly control it. 
Title: Re: Forcing Storms
Post by: JasonO on 06 May 2007, 05:22:17
There is no way to force it, but if you set the overcast to 1 then the lightning will randomly appear.
Title: Re: Forcing Storms
Post by: Mandoble on 06 May 2007, 11:23:54
Ups, forgot that small detail, now I added visible thunderbolts to the script  :D
Title: Re: Forcing Storms
Post by: JasonO on 06 May 2007, 15:11:15
Ohh ok. I take back what I said  :whistle:
Title: Re: Forcing Storms
Post by: Cold on 16 May 2007, 09:25:42
I usually just put:

0 setovercast 1;
0 setrain 1;

in the init.sqs file.