05-25-2012, 01:00 PM
Dynamic Weather and Time System
Version: 1.0
By: ThallionDarkshine
May 25 2012
Introduction
When the game starts, the weather system picks a random time of day. The screen tone changes as time passes, with each minute taking a certain amount of seconds specified in configuration. After a random amount of time, the weather changes, either to normal, rain, storm, snow, fog, or clouds. The storm includes random lightning as well.
Features
Script
Instructions
To use, place directly under main.
To turn on or off random weather (replace true with false to turn off):
To change the varience of weather:
To change the base time between weather changes:
To change the second equivalent of one minute realtime:
FAQ
No questions yet.
Compatibility
I'm trying to make this compatible with MAWS (Modified Advanced Weather System), which is a rewrite of the weather module incorporating many extra weather effects.
Credits and Thanks
Right now, I am using a rewrite of MAWS in my demo, so thank you Ccoa, ForeverZer0, and Agckuu Coceg
[size=Medium][b]Author's Notes
Right now, I'm trying to add in some extra weather functions to go with the dynamic weather.
Terms and Conditions
I don't care what you use it for, just don't claim that it's yours.
Version: 1.0
By: ThallionDarkshine
May 25 2012
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.
No support is given. If you are the owner of the thread, please contact administration.
Introduction
When the game starts, the weather system picks a random time of day. The screen tone changes as time passes, with each minute taking a certain amount of seconds specified in configuration. After a random amount of time, the weather changes, either to normal, rain, storm, snow, fog, or clouds. The storm includes random lightning as well.
Features
- Specify if a map is indoors by placing (in) in the map name
- Completely dynamic weather with user-defined varience and base time between switching of weather
- Screen tint changes with time of day
Script
script
Instructions
To use, place directly under main.
To turn on or off random weather (replace true with false to turn off):
Code:
$weather.rand_weather = true
$weather.update
To change the varience of weather:
Code:
$weather.varience =
To change the base time between weather changes:
Code:
$weather.base =
To change the second equivalent of one minute realtime:
Code:
$weather.min_equiv =
FAQ
No questions yet.
Compatibility
I'm trying to make this compatible with MAWS (Modified Advanced Weather System), which is a rewrite of the weather module incorporating many extra weather effects.
Credits and Thanks
Right now, I am using a rewrite of MAWS in my demo, so thank you Ccoa, ForeverZer0, and Agckuu Coceg
[size=Medium][b]Author's Notes
Right now, I'm trying to add in some extra weather functions to go with the dynamic weather.
Terms and Conditions
I don't care what you use it for, just don't claim that it's yours.