RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Atmosphere Final Beta 2.4 (only for B35&B36)

dreamerwolf

Wanderer
Atmosphere Final Beta 2.4 (only for B35&B36)

Summary:
Having weathers and seasons.

Warning : Only RunUO Beta 35 & 36 may run.

Description:
Commands:
Season (spring | summer | fall | winter | desolation)
Weather (rain | storm | snow | brewingstorm | shine)

Configrations:

BaseSeason.cs
Change season delays

Codes:
//delay 10 secs, and restart after 12 hours
public SeasonTimer() : base(TimeSpan.FromSeconds(10),TimeSpan.FromHours(12))
{
this.Start();
}


BaseWeather.cs
Change weather delays

Codes:
//You may set your "TimeSpan.FromHours" to change the weather delays.
//Don't touch "TimeSpan.FromSeconds".

public WeatherTimer() : base(TimeSpan.FromSeconds(10),TimeSpan.FromHours(1))
{
this.Start();
}

Installation:
1.Put into your "/script/customs" or others.
2.Add this into the OnLocationChange of PlayerMobile.cs at the beginning

//========Weather Systems
if ( !Utility.InRange( oldLocation, Location, 3 ) ) Misc.Weather.SetWeather( this, Regions.WeatherTimer.m_Weather, true );
//========
 

Attachments

  • AFB2.4.zip
    5.7 KB · Views: 184
Top