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 );
//========
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 );
//========