=========
ATTENTION!
=========
IMPORTANT: If you wish to set the GlobalInt to determine weather straightaway, please recognise that SetNewConditions MUST be run at least once on an area before you change the GLOBAL int. Therefore, if you intend to have an area be a certain weather condition upon first enter, then you must use something like this in the area On Client Enter script ...
=======================================================================
Inside On Client Enter:
SetGlobalInt("FOGCHECK", 1); SetNewConditions();
DelayCommand(1.0, SetLocalWeather(6)); // EG: UNCOMMENT AND USE 6 FOR SNOW (BUT IF USED, REMEMBER TO RESET TO -1 TO RESTART RANDOM)
=======================================================================
NOTE: This is the latest adapted version of the LB Weather System being used in The Scroll. It should be the final version, but if you want to be sure, then please check out my module, The Scroll. This is the version that is currently being used in v1.09E of The Scroll.
THE SCROLL: http://neverwintervault.org/project/nwn2/module/scroll
VIDEO LINKS FOUND HERE: https://worldofalthea.blogspot.com/2012/10/whats-weather-like-outside.html
VERY IMPORTANT: The ON CLIENT ENTER needs to be attached to every area where you want the weather to work. It ignores interior areas by default now.
FOG COLOUR SETTINGS: I not very good when it comes to colour (being colour blind) and so I often find my colours (fog related ones included) may not be to your liking. Kamal has posted some other settings in the posts below. Please feel free to post any other settings you feel may benefit the system!
NOTE TO USERS OF VERSIONS < 2.00: There have been many changes from the original. You will need to replace the original hak for the new one. (Or copy the files and overwrite existing ones if you use the campaign folder.) Furthermore, you need to add a new Sound Object (the Blizzard/Dust storm sound) to each area as a fifth sound object. Lastly, the core include script has undergone many changes and will also need to be imported over the original. I would recommend importing the new erf and overwriting all files.
=======================
An easy to implement comprehensive weather system. Automatic variation in weather according to time of year.
Features Incuded:-
1) Sound variations (including thunder - close and distant).
2) Three cloud covers: Grey, dark grey and black. (Auto use correction check.)
3) Lightning flashes wth thunder claps.
4) Three snow types: Light, heavy and blizzard.
5) Three dust storm settings.
6) Fog added to help blend the sky and horizon contrast.
Advanced Settings:
==================
A GLOBAL variable can be set to immediately update the weather condition for the module.
A LOCAL variable can be set on an area to force "desert" or "snow" settings.
A LOCAL variable can be set on an area to override the automatic cloud setting.
Simple Setup:
=============
It takes only four easy steps to have the basic system up and running in your module:-
1) Import the erf.
2) Associate the hak.
3) Place the five sound objects in each outdoor area using the system.
4) Attach the On Client Enter script to exterior areas using the system.
A PDF (v2.0) has been included to help explain the running of the system and step by step setup and FAQ. (Contains the updates and fixes since v1.00)
Attachment | Size |
---|---|
![]() | 4.67 MB |