Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
AFKMud 2.2.2
Mar 3, 2019 5:35 pm
By Samson
Development
Nov 28, 2018 12:10 pm
By Keirath
First Immortal
Oct 12, 2018 2:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018 7:31 pm
By joeyfogas
question on overland code
May 31, 2018 12:03 pm
By joeyfogas
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
AFKMud 2.2.2
Author: AFKMud Team
Submitted by: Samson
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Bing

Members: 0
Guests: 20
Stats
Files
Topics
Posts
Members
Newest Member
483
3,743
19,401
655
RodrickMci
Today's Birthdays
There are no member birthdays today.
Related Links
Files
Upload Rules File Index | Search | Recent Uploads
» Root » SmaugFUSS » Smaug Snippets
Weather Snippet
Author Submitted by Version D/L File Size Date Added Last Updated

Kayle Kayle 391 41.76 KB Jan 26, 2008 Mar 10, 2010

Description
[Edit by Samson: Be aware that right now this code is only compatible with the use of g++ as the compiler.]

When I undertook this project, I figured it would be something real simple, like adding a few things
here and there to the existing weather code. I was very, very, very wrong. No offense to Fireblade,
but that system was seriously lacking in a lot of places. There are a lot of things addressed in this
system, and while it's tedious as hell to install, I will admit, I think most people will find the
Pros, far outweigh the Cons.

PROS
# Real seasons calculated from the calendar settings.
# Climate regions which impact other climate regions nearby.
# Sensible weather events based on season. No snowstorms in summer. No scorching heatwaves in winter.
Stuff like that. -This one is actually a little bit touchy. It will depend entirely on which hemisphere the cell is assigned to as to which will occur in which season.
# Terrain changes based on season. ex: lakes which freeze in winter, and that sort of thing.
# Settable number of hours in a day, days in a month, and months in a year.
# Holidays which can be created and set to the desired date.
# Allows for Weather to persist over reboots/shutdowns/hotboots.
# Allow for full influence over all surrounding cells, and surrounding cells influence cell.
# Dynamic messages that will notify players of changes in weather for example:
"The pouring rain lessens a bit and changes over to a steady snow."
# Easily inegrate weather into other systems via the use or prewritten interaction functions. These functions
are used to prevent corruption of the map, and to emulate encapsulation.

CONS
# Tedious Installation and initial setup.
# Control Weather still a cheesy spell, just modified to fit the new implementation. Hopefully
I'll be capable of writing a better version of control weather for a later, updated release.


Update 1 - Fixed problem with installation instructions where it was left out that several blocks of code should have been removed.
Update 2 - Fixed problem with weather messages displaying where they shouldn't be.
Update 3 - Fixed issue with showweather command.
Update 4 - Fixed issue with cells having multiple climates, weather command working indoors, and misuse of a macro.

Revisions: 4
Rating: | Download | Comments(0)