View Full Version : Storm Effects
Hotshot
07-16-2006, 2:22 AM
How do you give a map lightning storm environmental effects like in the expantion campaign?
(See Chaper 4 of the Night Elf Campaign 'Wrath of the Betrayer' for example)
Nevermind, found out how it's done by extracting the campaign map from the game. It uses a series of triggers incorporating random events, sounds and variables.
If anyone is interested and would like me to explain how to do it I would be happy to.
Trigger Storm
E
- Periodic Event... Preferably 2 to 5 secs.
C
- None
A
- set TempPoint = Random point in Playable map area
- Create a special effect using Lightning(Doodad, Cinematic) at TempPoint
- Destroy las created special effect.
- Play Sound : RollingThunder.wav (Found under DoodadEffects section of MPQ)
- Cine : Fade out and Back in using White Mask and color 100%, 100%, 100%, 0% for 1 second.
- call RemoveLocation(udg_TemnpPoint)
Hotshot
07-16-2006, 5:21 PM
Trigger Storm
E
- Periodic Event... Preferably 2 to 5 secs.
C
- None
A
- set TempPoint = Random point in Playable map area
- Create a special effect using Lightning(Doodad, Cinematic) at TempPoint
- Destroy las created special effect.
- Play Sound : RollingThunder.wav (Found under DoodadEffects section of MPQ)
- Cine : Fade out and Back in using White Mask and color 100%, 100%, 100%, 0% for 1 second.
- call RemoveLocation(udg_TemnpPoint)
Well, that's kinda how its done, only that'll do bolt lightning strikes and every 2 to 5 seconds would be a bit annoying, lol.
gamer102
07-16-2006, 8:59 PM
Events
- Every Random Real Number between 5.00 and 25.00 Seconds of game time
That way, it wont be so annoying
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.