Weather

  • Thread starter Thread starter KevinBagu
  • Start date Start date
Could try something like:
Code:
Random Weather
    Events
        Time - Every 240.00 seconds of game time
    Conditions
    Actions
        Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)

Then Create another like:
Code:
Random Weather
    Events
        Time - Elapsed game time is 420.00 seconds
    Conditions
    Actions
        Environment - Create at (Playable map area) the weather effect Northrend Blizzard

And just do lots of different variations...
Hope that helped,
-Husky
 
Actually, no offense, but that method is terrible :P

There are no ways of removing that type of weather, so it would simply add on and you'd have rain AND snow >|. And then it might keep adding on, if there isn't a limit to it, and eventually it would crash the game.

I believe you need to either get a random number (one inside the free trigger code by acehart) or an interger array, then choose a random # from that, and then order the game to do a weather effect based on what number was chosen.

OR, you could do a large, random effect, as husky suggested, although you would need to turn it off for either method.

Btw, I'd suggest you not worry about weather effects until your map nears completion.
 
Oops, yeah sorry forgot to add like: Disable after 60 seconds :P.
Apoliges...
 
I'd rather use shadowy's idea, no offense husky.

btw, i do infact, almost have a finished map that I just started today.. I might finish in 3 days(me and my bro alternate comp usage everyday.. >.<)

thanks guys :P
 
isolate the area you want to have weather into an array of rects, then make an array of weather effects of the same size. assign a weather effect to each rect using the type of weather that would be there.

Code:
For each (Integer A) from 0 to 10, do (Actions)
    Loop - Actions
        Environment - Create at Whatever[(Integer A)] the weather effect Northrend Snow (Heavy)
        Set weather[(Integer A)] = (Last created weather effect)

then have this trigger running...

Code:
weather
    Events
        Time - Every (Random real number between 0.00 and 60.00) seconds of game time
    Conditions
    Actions
        Set Random_Area = (Random integer number between 0 and 25)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 0 and 10) Greater than or equal to 5
            Then - Actions
                Environment - Turn weather[Random_Area] On
            Else - Actions
                Environment - Turn weather[Random_Area] Off
 
do a search for a map I posted on this forum called "The Neverending Warcraft III Battle". It has random weather effects in there.

Note that I did toy around with it awhile, and found there to be some odd bugs I couldn't solve. Many of the weather effects refused to display at all, I only got some to work. So you can only probably work with the ones I put into that particular map.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top