Race system overview

Above is a gameplay screenshot showing a race in progress and the new checkpoint indicator. Keep in mind this is a work in progress, especially the UI. That said the race system is coming along quite well we thought we would explain how it works.

First up there is now a races.json file in the main level folder, this is used to list the races available for that level. Below is an example of a race used for the rallycross track on Industrial.

{
  "rc_4": {
    "prefabs": {
      "race_rallycross_boundary":{"filename":"levels/Industrial/race_rallycross_boundary.prefab"},
      "race_rallycross_checkpoints":{"filename":"levels/Industrial/race_rallycross_checkpoints.prefab"},
      "race_rallycross_start3":{"filename":"levels/Industrial/race_rallycross_start3.prefab"},
      "race_rallycross_barriers_1a":{"filename":"levels/Industrial/race_rallycross_barriers_1a.prefab"},
      "race_rallycross_barriers_2c":{"filename":"levels/Industrial/race_rallycross_barriers_2c.prefab"},
      "race_rallycross_barriers_3c":{"filename":"levels/Industrial/race_rallycross_barriers_3c.prefab"},
      "race_rallycross_barriers_4a":{"filename":"levels/Industrial/race_rallycross_barriers_4a.prefab"}
    },
    "name": "Rallycross East (3 laps)",
    "startPosition": "114.196 104.316 42.307 141.253",
    "lapConfig": ["rc_start3", "rc_3", "rc_4", "rc_5", "rc_6", "rc_18", "rc_19", "rc_20", "rc_21", "rc_2"],
    "laps": 3,
    "endCheckpoint": "rc_start3"
  }
}

The system loads in prefabs when you select a race. The most important one is a series of checkpoints that are used by the race system to define the course as you can see below. For Industrial I have separated the checkpoints into areas (rallycross, offroad and race track) and created prefabs out of them which are loaded and shared for all races that use that area. For example the screenshot below shows the contents of the rallycross checkpoint prefab. These checkpoints cover all possible configurations of the rallycross area.

The next thing you define in the race file is the barriers, these are used to block off sections of the track that are not in use. For each intersection there are prefabs (collections of objects, in this case concrete barriers) for each road that may need to be blocked. Below is a screenshot of a road that has been blocked off. On this intersection there are two more barrier prefabs which can be loaded to block off the other two roads for different track layouts.

Below is a reference image showing the various checkpoints, start gates and barrier configs. This makes creating races much easier.

BeamNG Major Updates

Sprouting Makeovers in BeamNG.drive v0.32
BeamNG.drive v0.32 release highlights
Festive Freight in BeamNG.drive v0.31
BeamNG.drive v0.31 release highlights
Gear Up for Fall Adventures in BeamNG.drive v0.30
BeamNG.drive v0.30 release highlights
Gambler 500 x BeamNG.drive - v0.29
BeamNG.drive v0.29 release highlights
Spring Renovations - BeamNG.drive v0.28
BeamNG.drive v0.28 release highlights
Conquer the desert in v0.27
BeamNG.drive v0.27 release highlights
BeamNG.drive v0.26 - Covet the Moment
BeamNG.drive v0.26 release highlights
BeamNG.drive v0.25 - Spark Your Passion
BeamNG.drive v0.25 release highlights
Festive Update v0.24.1 Released
BeamNG.drive v0.24.1 release highlights
The 2021 Winter Release – BeamNG.drive v0.24
BeamNG.drive v0.24 release highlights
The 2021 Summer Release – BeamNG.drive v0.23
BeamNG.drive v0.23 release highlights
The 2021 Spring Release – BeamNG.drive v0.22
BeamNG.drive v0.22 release notes
The 2020 Winter Release – BeamNG v0.21
BeamNG.drive v0.21 release notes
The 2020 Summer Release – BeamNG v0.20
BeamNG.drive v0.20 release notes
“La Vie à Toute Vitesse” – BeamNG.drive v0.19
BeamNG.drive v0.19 release notes
The 2019 Winter Release – BeamNG.drive v0.18
BeamNG.drive v0.18 release notes
Buckle up, heavy traffic ahead: Update 0.17 released
BeamNG.drive v0.17 release notes
Electrifying 0.16
BeamNG.drive v0.16 release notes
A Small Car on a Big Map – Version 0.15 released
BeamNG.drive v0.15 release notes
Light Runner – Version 0.14 Released
BeamNG.drive v0.14 release notes