Skip to content

Configuration

Ryan Lockard edited this page Jul 12, 2018 · 1 revision

Configuration:

WEATHER_SERVER "127.0.0.1"

WEATHER_SPEED_LIMITER 5.0

WEATHER_LIMIT_POS_X 3070.00

WEATHER_LIMIT_POS_Y 3130.00

WEATHER_LIMIT_NEG_X -3370.00

WEATHER_LIMIT_NEG_Y -3110.00

Above are some config variables you can redefine. Next to them are their default values.

#undef WEATHER_SPEED_LIMITER
#define WEATHER_SPEED_LIMITER 7.0

WEATHER_SERVER is the server your weather.php file is located on.

#undef WEATHER_SERVER
#define WEATHER_SERVER "yourdomain.com"

If you have put your weather.php in a directory other than the root one:

#define WEATHER_SERVER "yourdomain.com/directory_to_weather_php/"

WEATHER_SPEED_LIMITER is the wind speed an observer must return in order to move a weather zone.

WEATHER_LIMIT_?_? are used as borders for the map. If a weather zone is completely moved outside of this area, ResetWeatherZone will automatically be called on it.

Clone this wiki locally