Weather Trigger Issue

Deathspade

New Member
Reaction score
0
These are my weather triggers....

Trigger:
  • Light Rain
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Environment - Create at (Entire map) the weather effect Ashenvale Rain (Light)
      • Set LightRain = (Last created weather effect)

Trigger:
  • Heavy Rain
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Environment - Create at (Entire map) the weather effect Ashenvale Rain (Heavy)
      • Set Heavyrain = (Last created weather effect)

Trigger:
  • Weather on
    • Events
      • Time - Every 150.00 seconds of game time
    • Conditions
    • Actions
      • Set Randomweather = (Random integer number between 1 and 3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Randomweather Equal to 2
        • Then - Actions
          • Environment - Turn LightRain On
          • Sound - Play RainAmbience <gen> at 100.00% volume, located at (Target of current camera view) with Z offset 0.00
          • Wait 149.50 seconds
          • Sound - Stop RainAmbience <gen> After fading
        • Else - Actions
          • Environment - Turn LightRain Off
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Randomweather Equal to 1
        • Then - Actions
          • Environment - Turn Heavyrain On
          • Sound - Play RainAmbience <gen> at 100.00% volume, located at (Target of current camera view) with Z offset 0.00
          • Wait 149.50 seconds
          • Sound - Stop RainAmbience <gen> After fading
          • Trigger - Turn on Lightning <gen>
        • Else - Actions
          • Environment - Turn Heavyrain Off

Trigger:
  • Lightning
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Cinematic - Fade out and back in over 0.50 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 50.00% transparency
      • Wait 1.00 seconds
      • Cinematic - Fade out and back in over 0.50 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 75.00% transparency
      • Wait 3.00 seconds
      • Sound - Play ThunderClapCaster <gen> at 100.00% volume, located at (Target of current camera view) with Z offset 0.00
      • Wait 149.50 seconds
      • Trigger - Turn off (This trigger)


So when I tested it, the light rain came on, no rain sound. Then the lightning came on with the thunder sound, but no heavy rain. wtf? Any ideas?
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Try, instead of turning it on, run it. And for lightning dont use any event. Also, for ur if/then/else, at the else, u dun have to turn it off, because it was nver turned on at all. Plus if u put it tht way, its doing.

If/then/else
Checks for condition,
if true does actions, else do action
After doing the actions, check for another condition
then do action if true,
else blah blah blah.
U shld put it
Check for condition,
if true turn on,
else check for another conditon, true do wad
Leave else blank. Hope I helped, if its unclear, u nid only to ask. :thup:
 

Deathspade

New Member
Reaction score
0
yea im a bit confused....Ill cuninue working on it....but heres my question, wouldnt I need to turn off light rain if heavy rain gets turned on??
 

Baltazhar

Active Member
Reaction score
55
I'm not all that into the weather part of the triggers, but I think it wise to keep your current trigger. Turning them off when not used, and turning on the one that is used.

As for the sound, you might wanna use another action to play sound. Instead of attaching it to a point, just use the "Sound - Play", that tends to work easily :)
 

Baltazhar

Active Member
Reaction score
55
Hmm, only guess I have is that your Rain might be music, and needs to be played with a different action? If I recall correctly, there is some "Music - Play" actions.

Try giving those a go.
 

Exide

I am amazingly focused right now!
Reaction score
448
I don't have WE with me atm, so I can't help much.
I do know that I made a similar weather system for one of my maps once, though. -You can download and take a look at the triggers if you like (it's not protected.)

Map can be found here.
 

Argos

New Member
Reaction score
7
I have created a micro map to test. And after long time fixing stupid bugs I think i make it. Another problem is that now i only have RoC version, so some triggers could be "upgraded" and/or merged.

the system is very simple:

Every random time the game check and change rain style.
There are 3 status: no rain, light rain and heavy rain. If the previuos status is the same that new status, change wont happen.

Also, every random time a lightning (in light & heavy rain) or a thunder (no rain) appear.

If this isnt that you wanted, tell me and I will try something different.


I am uploaded the map to Rapidshare, I dont know if this is allowed (sorry for that!)

The map is totally editable and all triggers have little explanations. Enjoy!

Rapidshare link: http://rapidshare.com/files/243691295/TEST_RainForest.w3m.html

Feedback is welcome


PD: Sorry for my english


EDIT: There is a Variable called "Rain" that is useless, but i forgot revome it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top