The purpose of this system is to create a global weather system which takes into account the current season of the module based upon the month of the year. The system is also global in that all outside areas will be affected by the weather, making weather the same throughout the module. Features: - Global weather accross all outdoor areas. - Four Seasons run off default (or your custom calendar). - 5 Default Climate Zones: Moderate, Desert, Polar, Jungle, & Highland. Areas are able to be specified as belonging to any climate. - Random Storm System: Thunderstorms, Blizzards, and Sandstorms can pop up at anytime. - Heat/Chill damage from weather/climate. - All systems customizable & able to be toggled on/off. - Misc other features.
From what I've seen and tried out it looks very good, and its easy to use too. Adds a more realistic feel to the modules, which I love!
Posted by DrowBlade at 2007-06-2622:33:27
Nice system, but i haven't fully tested it yet. I noticed some things. On line 114 and 115 of "area_inc" couldn't this be used ----- nRanX = Random(GetAreaSize(AREA_WIDTH, oArea)); nRanY = Random(GetAreaSize(AREA_HEIGHT, oArea)); ----- instead of what was there before Also in "weather_inc" from line 266 to 271 there is no 'if' check, it should be ----- nClimateZone = GetLocalInt(oArea, "CLIMATEZONE"); if (nClimateZone == 103) { nWeatherFactor += 1; //SendMessageToPC(oPC, "Desert Climate!"); } -----
Posted by Damned_and_loving_it at on06/08/07
Brilliant for the work I am doing very easy to use. Great addition to the community.
Posted by rikki.o at on04/02/07
Will test this as I think this is something for my modules. rikki.o
Posted by Ubersaint at on02/17/07
Great Weather system but i'm having problems with the Lightning and other storm effects hitting the lower corner of the map and not hitting randomly around it. IF there is still support or someone knows what the problem is please email me or post here. _________________________ Trimaris - Kingdom of the 3 Seas PW Story Link
Posted by hekt0 at on01/17/07
Almost forgotten to vote for such a brilliant idea. Sorry.
Posted by hekt0 at on01/17/07
ca1izard: Indeed, the following line cause the constant stack increase: ----- DelayCommand(60.0 * IntToFloat(nDuration), SetGlobalWeather()); ----- I changed the code slightly, so it works now via OnHeartbeat event w/o necessity of recursion. Probably not the best solution, but works to me and does not consume 200Mb per day. Sure, the author can do the same or even better.
Posted by ca1izard at on10/04/06
MJ...I love this weather system, but it appears to be losing memory with 1.68. I have it on an XP Pro machine, and after it has been running for a few hours, my task manager shows the nwserver memory climb from a starting 11MB to almost 200MB. This is on a test machine with noboby logged in. I delete the weather system, and it stays at 11MB. I only have 50 areas, 40 outdoor ones. I really want the weather, but my server runs out of memory after a day and I have to reboot the nwserver. Any ideas?
Posted by Rami_Ahmed at on03/09/06
Not much to say, very nice! _________________________ NWN2 stuff: - Persistent Player Owned Shop System Some stuff made by me for NWN: - Persistent Player Owned Shop v2.1 - Item Breakage System (Updated)
Posted by FaethX at 2005-12-2917:05:30
I only seem to have one problem with the system, and I can't seem to resolve it. And that is, no matter what, the Lightening Strikes, Blizzards and whatnot ONLY happen in the lower left hand corner area of my areas instead of randomly around the area. :( Following the install exactly, and for everything else, weather works fine. Delays, effects, etc etc. It's just the actual lightening and blizzards only happen in that one small area of my areas and ONLY there. And these are only 10x10 areas, not large areas.