Your web browser, Internet Explorer is out of date.

Please download one of these up-to-date, free and excellent browsers:

Microsoft Edge, Mozilla Firefox or Google Chrome

RandomEnvironment

This mod only for multiplayer!

This simple plugin adds on your server the weather, which changes automatically.

You shouldn't anymore to use /weather command. This plugin will change the weather from time to time.

Each weather has the chance of emergence. For example, snow always has chance 2%. It means that it's very rare.

Note: chances change in depending of time. For example, at night fog is more probable than rain. At day rain is more probable than fog. The thunderstorm is also possible


You can set up speed of changing day. By default one in-game minute = three real seconds. Also time is displayed in the left from bottom.

// ToDo: synchronization with real time. Time locker.

Attention! It's recommended to disable time changing in default freeroam package (if you've installed it)

Go to /packages/freeroam/gm/ and open file timeManager.js.

On 11thline you should find next line:

setInterval(this.syncTime, 1875, this);

Just remove this code or comment it (Add // (two slashes) before this code)

//setInterval(this.syncTime, 1875, this);

[ Github ]

Drop "RandomEnvironment" folder to "packages" which is in root of your server.

1.2.3 (27.08.2017)

Small bug-fix


1.2.2 (27.08.2017)

Added new events:

RandomEnvironment_SetTimeEnabled(true/false) - enable/disable auto update for player (time will go, but won't be updated for players)

RandomEnvironment_SetWeatherEnabled(true/false) - enable/disable auto update weather ONLY FOR PLAYER, not for server.

RandomEnvironment_ResetWeatherSettings

RandomEnvironment_ResetTimeSettings

RandomEnvironment_HideTime - hide time for players

RandomEnvironment_ShowTime - show time for players if it's hidden


Also bug-fix

Semyon
  • 6Mods
  • 0Followers

RATING
3
Version
1.2.3
Views
9056
File size
6.66 kB
Downloads
148
Updated
August 27, 2017
Categories

Comments

Leave a Reply

Sort by:
Semyon
  • 6Mods
  • 0Followers

RATING
3
Version
1.2.3
Views
9056
File size
6.66 kB
Downloads
148
Updated
August 27, 2017
Categories

The open modding platform

VGM brings modding communities together under a unified network. The original community creator retains control over the content and community for the game

Get started

Start your own Modding Community

We allow modders to manage their own modding community using our platform for hosting and sharing mods, unlimited usage to grow your community without the hassle of hosting

Get in touch

Follow us on social media

Please take a moment to follow us on social media, we will be posting new updates and featued mods. There will be exciting new competitions with great prizes