Weather
POPULAR LINKS
- BUY IT! Purchase Weather from BigDaddyScripts.com
- ACE PERMS How to use Ace Permissions with BigDaddy Scripts
{:links-list}
INSTALLATION
- Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
- Add your product key (get it here) to the
settings.inifile - Add
start BigDaddy-Weatherto yourserver.cfg.
DO NOT RENAME THE FOLDER.
If you change the name of the folder it will not function correctly so leave the name as it is.
{:is-danger}
READ THIS
You MUST disable all dynamic weather/time functions within vmenu, or any other weather/time script, or they will conflict with this resource and you will get crazy flashing weather.
CONFIGURATION
| SETTING | DEFAULT | DESCRIPTION |
|---|---|---|
| [licensing] | ||
| key1 | none | This is where you put your product key |
| [settings] | ||
| weatherChangeTimer | 20 | How often does the weather change (in minutes) |
| transitionTime | 30 | How many seconds does it take to move from one weather type to the next |
| rainBias | 3 | The percentage chance of rain (this is to cut down on how much it rains) |
| useAcePermissions* | true | Restrict who can change the weather with commands |
| acePermission* | command | The permission to use for the previous option (default is the command permission) |
| startupWeather | EXTRASUNNY | valid types: EXTRASUNNY, SMOG, FOGGY, OVERCAST, CLOUDS, CLEARING, RAIN, THUNDER, SNOW, BLIZZARD, SNOWLIGHT, XMAS, HALLOWEEN |
| weatherWhiteList | (blank) | List of valid weather types the server will use. Leave blank to use all weather types (this is for things like apocalyptic servers to have cloudy/rainy/gloomy all the time) |
| weatherCloudsWhiteList | (blank) | Optional clouds whitelist |
| syncTime | true | sync time between all clients so everyone is at the same time of day |
| timeModificationFactor | 1 | Time speed multiplier. Example: 0.1 is slower and 1.2 is faster. Can cause clouds, moon, and sun stutter |
| serverStartHour | 7 | this is the hour of the day that is set when the server starts up (0-23) |
| noNight | false | if you set this to true it will go from latestHour:latestMin to jumpToHour:jumpToMin. It's meant to be a way to make the night very short or non existent |
| latestHour | 21 | the hour at which the time jump will happen |
| latestMin | 01 | the minute at which the time jump will happen |
| jumpToHour | 5 | the hour the time will jump to |
| jumpToMin | 0 | the minute the time will jump to |
| suppressCloudsRendered | false | if you have users using QuantV, this supresses the clouds that totally jack up QuantV screens |
| canBeSnow | false | if set to true, the weather can change to snow within the random weather changes, and back out of snow again. The only drawback is the snow on the ground does not fade in and out, it pops in and out. |
| snowBias | 70 | the chance that snowy weather could be picked in the rotation of weather |
| DesyncKey | 049318456128 | Shared key used for desync handling |
| [temperatureRanges] | These are the high and low temperatures for when it is snowing and for each month. Change them to match the region your server is playing as | |
| snow | 15,32 | |
| 01 | 30,58 | |
| 02 | 30,58 | |
| 03 | 62,80 | |
| 04 | 62,80 | |
| 05 | 62,80 | |
| 06 | 62,80 | |
| 07 | 82,98 | |
| 08 | 82,98 | |
| 09 | 45,70 | |
| 10 | 45,70 | |
| 11 | 33,60 | |
| 12 | 30,58 |
NOTE
The new canBeSnow settings are a new BETA feature and are not fully tested. Use with caution.
{:links-list}
HOW TO PLAY
All commands require permissions that you set in the settings.ini (or disable there)
/weather Brings up the menu
/weather type - changes the weather manually. Valid types are EXTRASUNNY, CLEAR, NEUTRAL, SMOG, FOGGY, OVERCAST, CLOUDS, CLEARING, RAIN, THUNDER, SNOW, BLIZZARD, SNOWLIGHT, XMAS, HALLOWEEN
/settime Brings up the menu
/settime HH:MM - changes the time manually.
/snow - toggles snow off and on. Weather patterns will follow snow if it is toggled on and it will persist until toggled off
/pauseweather - toggles dynamic weather changes. If paused, it will just stay on whatever weather it is currently on
/forecast - shows the current weather and the next 5 iterations of weather. This is the only command exempt from the restricted setting so anyone can use it
MENU
Change Weather - Choose a weather type to change to
Change Clouds - Change clouds without affecting the weather
Pause Weather Changes - Pause automatic weather changes
Freeze Time - Freeze the current time so time doesn't move anymore (or unfreeze it if it is frozen)
Set Time - Force set time to a specific point in the day
NOTE
When you manually set the weather to XMAS or HALLOWEEN, it will stay on either of those until you manually change it again. Unless the server/script is restarted in which case it will be reset to the starting weather in the settings.
ALSO NOTE
If you manually set it to a snow type of weather, it will automatically toggle snow on. If you then manually set it to a rain type of weather, it will automatically toggle the snow back off.
EXPORTS
| EXPORT | ARGS | RETURN | TYPE | NOTE |
|---|---|---|---|---|
exports['BigDaddy-Weather']:ToggleNaturalDisaster(toggle) |
toggle [bool] | null | SERVER | For Night's Natural Disasters compatibility only |
exports['BigDaddy-Weather']:SuspendWeatherSync |
none | null | SERVER | Server export for suspending dynamic weather changes globally |
exports['BigDaddy-Weather']:ResumeWeatherSync |
none | null | SERVER | Server export for resuming dynamic weather changes globally |
exports['BigDaddy-Weather']:ResumeWeatherSync |
none | null | CLIENT | Enables time and weather sync after using DisableSync to disabled it on this particular client. It will sync the weather and time to the server when called. |
exports['BigDaddy-Weather']:SuspendWeatherSync |
none | null | CLIENT | Disables time and weather sync on this particular client (specifically for houseing scripts etc.) |
exports['BigDaddy-Weather']:ForceWeather(weather) |
string | null | CLIENT | After using DisableSync above, you can force the weather to a valid weather until you enable the sync again (see list of valid weather types above) |
exports['BigDaddy-Weather']:ForceTime(time) |
string | null | CLIENT | After using DisableSync above, you can force the time. It can be either just the hour, i.e. 23 or hour and minutes, i.e. 23:15. |
CONFLICT WARNING
This will conflict with other weather scripts so it cannot be run with any other script that modifies or controls the weather. If you do not disable vMenu weather/time functionality (or any other weather/time script), the weather will flash and kind of freak out because both scripts are trying to control it.