Author Topic: Maprotation/Event loop for server.cfg  (Read 192 times)

Heavymaxx

  • Posts: 3
I would like to create a cool map rotation for my new server. Unfortunately I haven't found an up-to-date and complete list of all maps and game modes yet.  ???

If someone has a complete list, I think that would help many new server owners! Especially if you would already post it to fit the server_config.cfg. I would do it sticky and share it with others ->

#1 Gravel1 Main Loop Racing
el_add=gravel1_main_loop
el_gamemode="racing"
el_laps=4
el_car_reset_disabled=0
el_wrong_way_limitel_disabled=0
el_car_class_restriction=a
el_car_restriction=
el_weather=random
el_bots=4

« Last Edit: June 21, 2018, 01:27:50 AM by Heavymaxx »

St. Jimmy

  • *
  • *
  • Posts: 1465
I just yesterday shared car and track list:

http://community.bugbeargames.com/index.php/topic,11160.0.html

Use the "server command" column stuff in your config

Gamemodes:
racing
derby
derby deathmatch
team derby
team race
elimination race

Weathers:
sunrise
noon
afternoon
sunset

« Last Edit: June 21, 2018, 01:28:02 AM by St. Jimmy »
Unofficial  WreckFest Discord!

i7 2600K @ 4,7GHz
GTX 1070 8GB
16GB CL9 2133 MHz
750W PSU
Win7 Ultimate 64-bit
Fanatec CSR

St. Jimmy

  • *
  • *
  • Posts: 1465
Also here's a topic where CFodder has collected all kinds of stuff http://community.bugbeargames.com/index.php/topic,7798.0.html
Unofficial  WreckFest Discord!

i7 2600K @ 4,7GHz
GTX 1070 8GB
16GB CL9 2133 MHz
750W PSU
Win7 Ultimate 64-bit
Fanatec CSR

Finsku

  • *
  • *
  • Posts: 683
Check file initial_server_config.cfg , there's a great examples how to set different events:

Code: [Select]
#-------------------------------------------------------------------------------
#  If enabled, server will automatically rotate pre-configured events.
#  Using "el_add=trackname" you can add as many events to the rotation as you wish.
#  Note that "el_*" parameters override corresponding global settings for the event.
#  Remove the first # from setup parameters to enable.
#  Use the console command /eventloop to enable/disable rotation.

## Add first event to Loop
#el_add=gravel1_main_loop
#el_gamemode="racing"
#el_laps=3
#el_car_reset_disabled=0
#el_wrong_way_limitel_disabled=0
#el_car_class_restriction=a
#el_car_restriction=
#el_weather=

## Add second event to Loop
#el_add=tarmac1_main_circuit
#el_gamemode="team race"
#el_num_teams=2
#el_laps=3
#el_car_reset_disabled=0
#el_wrong_way_limitel_disabled=0
#el_car_class_restriction=a
#el_car_restriction=
#el_weather=

## Add third event to Loop
#el_add=speedway2_demolition_arena
#el_gamemode="derby"
#el_car_reset_disabled=0
#el_car_class_restriction=a
#el_car_restriction=
#el_weather=

EDIT: DON'T ecit the initial server file. It will be reseted every time when Steam downloads new Wreckfest update or you verify your game files.

You don't have to use every lines on every event. If you have only tracks, you could have only el_add, el_laps and el_weather. Here's couple events from my server:

Code: [Select]
el_add=field_derby_arena
el_gamemode="derby"
el_weather=noon

el_add=field_derby_arena
el_gamemode="derby"
el_weather=noon

el_add=mixed3_long_loop
el_laps=3
el_weather=noon

el_add=mixed3_long_loop
el_laps=3
el_weather=noon

Couple things. With this your config file is shorter and maybe easier to edit, but it could cause random problems. For example, if you have weather set on "normal" configs (not on eventloop settings), it still changes weathers randomly when eventloop is on.

Thats why I have weather set on eventloop for every tracks.

If you want to repeat same track twice copy-paste the same event twice. When you put the same weather it will not reload track between same events.

Oh, also. Every event on my server are races, but if you have derby event then you should put extra line el_gamemode. Not sure will server automatically change gamemode type if it notices derby arena is next in a row.