assetto-corsa-web / acweb

Assetto Corsa Server Management Tool via Web Interface.
MIT License
60 stars 9 forks source link

SOL: Custom weather-types #64

Closed HendrikRoth closed 5 years ago

HendrikRoth commented 5 years ago

I am running SOL weather with acweb at the moment, which works great!

Is there a way to add weather-types in the admin panel manually? Or better said, changing the available weathers?

At the moment i am adding the weather via "Custom server_cfg.ini":

[DYNAMIC_TRACK]
SESSION_START=95
RANDOMNESS=2
LAP_GAIN=10
SESSION_TRANSFER=90

[WEATHER_0]
GRAPHICS=sol_35_Rain
BASE_TEMPERATURE_AMBIENT=18
BASE_TEMPERATURE_ROAD=6
VARIATION_AMBIENT=1
VARIATION_ROAD=1
WIND_BASE_SPEED_MIN=0
WIND_BASE_SPEED_MAX=0
WIND_BASE_DIRECTION=0
WIND_VARIATION_DIRECTION=0

[WEATHER_1]
GRAPHICS=sol_51_Light Snow
BASE_TEMPERATURE_AMBIENT=15
BASE_TEMPERATURE_ROAD=-1
VARIATION_AMBIENT=1
VARIATION_ROAD=1
WIND_BASE_SPEED_MIN=0
WIND_BASE_SPEED_MAX=0
WIND_BASE_DIRECTION=0
WIND_VARIATION_DIRECTION=0

[WEATHER_2]
GRAPHICS=sol_43_Heavy Thunderstorm
BASE_TEMPERATURE_AMBIENT=18
BASE_TEMPERATURE_ROAD=6
VARIATION_AMBIENT=2
VARIATION_ROAD=1
WIND_BASE_SPEED_MIN=0
WIND_BASE_SPEED_MAX=0
WIND_BASE_DIRECTION=0
WIND_VARIATION_DIRECTION=0

[__CM_SERVER]
NAME=SOL Server
DETAILS_ID=V5Vq

It would be also great to change the time multiplier to an higher value than 10, and after 18.00 oclock :-).

Kugelschieber commented 5 years ago

That's hard coded in the frontend.