2 enviroments at once?

esb

Because none of us are as cruel as all of us.
Reaction score
329
Use regions and triggers?
 

RueK

New Member
Reaction score
11
i tried regions,


i have a trigger, when it becomes night, it uses blue fog, when its day it changes to sun light rays.

but regions do not work along with these i dont know why ...
 

Azlier

Old World Ghost
Reaction score
461
It's quite impossible to have more than one weather type in one 512x512 square or something of that nature.
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
that isnt true, you can activate as many as you like. moonlight, fog, wind, dalaran shield, they can all run at once.

however, fog (red) and fog (blue) for example cannot run at once, same for moonlight and sunlight i guess.
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
course you can.

at map init, create both weather effect using the action:
Trigger:
  • Enviroment - Create Weather effect

then save both in a variable:
Trigger:
  • Set WeatherEffectMoonlight = (Last created Weather Effect)

and then you need 2 triggers, one firing when time becomes 18:00, in this trigger you enable both weather effects:
Trigger:
  • Enviroment - Enable Weather Effect

and the other running at 6:00 which disables both effects again.

of course you can change the time to whatever values you like.
 

RueK

New Member
Reaction score
11
how could be the entire trigger? i tried but i get my mind messed up lol, can yo uexplain me? or show me the entire trigger so i can do it?
 

RueK

New Member
Reaction score
11
I done it, but it only allows me to put 2 enviroment, i need an ray of lights for daytime but it doesnt work anymore with this method, it only allows 2 enviroments effects i think?
 

RueK

New Member
Reaction score
11
Trigger:
  • init2
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Game - Set the time of day to 6.00
      • Environment - Create at (Entire map) the weather effect Dungeon Blue Fog (Heavy)
      • Set WeatherEffectMoonlight = (Last created weather effect)
      • Environment - Create at (Entire map) the weather effect Rays Of Moonlight
      • Set WeatherEffectBlueFog = (Last created weather effect)



Trigger:
  • init3
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • Conditions
    • Actions
      • Sound - Play DaybreakRooster <gen>
      • Environment - Turn WeatherEffectBlueFog Off
      • Environment - Turn WeatherEffectMoonlight Off
      • Environment - Reset fog to default values



Trigger:
  • init4
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
    • Conditions
    • Actions
      • Environment - Turn WeatherEffectBlueFog On
      • Environment - Turn WeatherEffectMoonlight On
      • Environment - Set fog to style Linear, z-start 1000.00, z-end 8000.00, density 300.00 and color (0.00%, 0.00%, 100.00%)


i would want to add Rays Of Light (sun) to the day but its not more posible using this method... any help?
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
of course it is:
Trigger:
  • init2
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Game - Set the time of day to 6.00
      • Environment - Create at (Entire map) the weather effect Rays Of Moonlight
      • Set WeatherEffectMoonlight = (Last created weather effect)
      • Environment - Create at (Entire map) the weather effect Dungeon Blue Fog (Heavy)
      • Set WeatherEffectBlueFog = (Last created weather effect)
      • Environment - Create at (Entire map) the weather effect Rays Of Sunlight
      • Set WeatherEffectSunlight = (Last created weather effect)
      • Environment - Turn WeatherEffectSunlight Off



Trigger:
  • init3
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • Conditions
    • Actions
      • Sound - Play DaybreakRooster <gen>
      • Environment - Turn WeatherEffectBlueFog Off
      • Environment - Turn WeatherEffectMoonlight Off
      • Environment - Turn WeatherEffectSunlight On
      • Environment - Reset fog to default values



Trigger:
  • init4
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
    • Conditions
    • Actions
      • Environment - Turn WeatherEffectBlueFog On
      • Environment - Turn WeatherEffectMoonlight On
      • Environment - Turn WeatherEffectSunlight Off
      • Environment - Set fog to style Linear, z-start 1000.00, z-end 8000.00, density 300.00 and color (0.00%, 0.00%, 100.00%)


what is your problem with this?
 

RueK

New Member
Reaction score
11
of course it is:
Trigger:
  • init2
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Game - Set the time of day to 6.00
      • Environment - Create at (Entire map) the weather effect Rays Of Moonlight
      • Set WeatherEffectMoonlight = (Last created weather effect)
      • Environment - Create at (Entire map) the weather effect Dungeon Blue Fog (Heavy)
      • Set WeatherEffectBlueFog = (Last created weather effect)
      • Environment - Create at (Entire map) the weather effect Rays Of Sunlight
      • Set WeatherEffectSunlight = (Last created weather effect)
      • Environment - Turn WeatherEffectSunlight Off



Trigger:
  • init3
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • Conditions
    • Actions
      • Sound - Play DaybreakRooster <gen>
      • Environment - Turn WeatherEffectBlueFog Off
      • Environment - Turn WeatherEffectMoonlight Off
      • Environment - Turn WeatherEffectSunlight On
      • Environment - Reset fog to default values



Trigger:
  • init4
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
    • Conditions
    • Actions
      • Environment - Turn WeatherEffectBlueFog On
      • Environment - Turn WeatherEffectMoonlight On
      • Environment - Turn WeatherEffectSunlight Off
      • Environment - Set fog to style Linear, z-start 1000.00, z-end 8000.00, density 300.00 and color (0.00%, 0.00%, 100.00%)


what is your problem with this?

i tried that already before you posted it, it doesnt work, it doesnt show rays of moonlight too i dont know why
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
most likely the moonlight and the sunlight effects collide and cannot be created simultaniously.

i'd say, try to destroy the moonlight effect at dawn, create the sunlight effect and at dusk do it vice versa.
 

RueK

New Member
Reaction score
11
most likely the moonlight and the sunlight effects collide and cannot be created simultaniously.

i'd say, try to destroy the moonlight effect at dawn, create the sunlight effect and at dusk do it vice versa.

omg that could work, destroying the variable and then creating another one


yes that could posibly work! i will try it thanks! :banghead:
 
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