OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Mandoble on 05 May 2007, 12:53:18

Title: (Accepted) Mando Storm
Post by: Mandoble on 05 May 2007, 12:53:18
// mando_storm.sqs v1.0
// by Mandoble
//
// Purpose:
// Forms up a storm
//
// What do you need:
// trueno1,trueno2,trueno3,trueno4,viento1 ogg files in your mission's Sound folder and in description.ext
//
// Parameters:
// Storm overcast level (0.0 to 1.0)
// Storm rain level (0.0 to 1.0)
// Storm fog level (0.0 to 1.0)
// Seconds to wait before storm starts
// Seconds to wait after strom ends (original overcast, rain and fog levels will be set along this time)
// Storm duration in seconds (you may use a big number and stop the storm whem needed setting mando_storm = false
// Lightning colour [R, G, B]
//
// Example for a storm forming up in 1 minute, lasting 30 minutes and disipating in 5 minutes:
//
// [1, 1, 1, 60, 1800, 300, [1,1,1]] execVM "mando_storm.sqf"
//


EDIT:
Updated to v1.1, now with visible thunderbolts.
Title: Re: Mando Storm
Post by: JasonO on 06 May 2007, 15:21:44
Very nice script, some nice effects.

However, you said you added visible thunderbolts but I never saw them. I could hear the thunder and see a flash on the ground but couldn't see any bolts. Is that the thunderbolts or have I missed something.
Title: Re: Mando Storm
Post by: Mandoble on 06 May 2007, 15:33:49
The thunderbolts last for a quite short fraction of second, and they are generated in any direction so in the demo storm (3 mins only of storm) you may notice few of them (ony those in your field of view). Play it again and probably you will see some of them.

EDIT:
You may "tweak" mando_storm.sqf to see them changing  _ang = random 360; by _ang = 0; and then keep looking to the North.
Title: Re: Mando Storm
Post by: Blanco on 06 May 2007, 17:20:02
I've seen the thunderbolts but they appear without any sound. Where is that typical sharp & scary thunderbolt sound?
Good script but wind and thundersounds need more subtility and variation imo.





Title: Re: Mando Storm
Post by: Mandoble on 06 May 2007, 18:15:39
Dont you hear the sounds?  :blink: Wind and thunderbolt sounds are there, not quite loudly but at least clearly audible. You have a lightning and less than 2 secs after it the sound. From time to time you should notice also strong wind.
Title: Re: Mando Storm
Post by: D_P_ on 06 May 2007, 20:25:10
it says I don't have permission to dl the file! :(
Title: Re: Mando Storm
Post by: Mandoble on 06 May 2007, 20:37:32
Same problem here  :blink:

EDIT: Download problem fixed  :)
Title: Re: Mando Storm
Post by: JasonO on 07 May 2007, 02:23:39
Hmmm, I can download it ok.

Shall I attach it?
Title: Re: Mando Storm
Post by: Blanco on 09 May 2007, 05:21:59
Dont you hear the sounds?  :blink: Wind and thunderbolt sounds are there, not quite loudly but at least clearly audible. You have a lightning and less than 2 secs after it the sound. From time to time you should notice also strong wind.

I mean these :
http://www.audiolicense.net/sfx/subcat_search.asp?subcat_id=9798&type=basic&keywords=lightning&match=n&ch=&dur_min=&dur_max=   :)
Title: Re: Mando Storm
Post by: Mandoble on 09 May 2007, 22:48:58
For some reason the samples of these sounds sound metalic for me  ??? And the non-metalic versions are 2 sterlings each  :P
Title: Re: Mando Storm
Post by: Eymerich on 10 May 2007, 09:51:57
I've had a look to this very interesting idea...

The concept is very good but there is a thing which worries me: the script itself looks a bit resource demanding, isn't?

 :)
Title: Re: Mando Storm
Post by: Mandoble on 10 May 2007, 10:17:09
Isnt at all, quite the opposite. In every loop it has a sleep of 10~25 seconds.