Track Limits Track Configuration
For an overview of how the track limits system works please see: https://docs.studio-397.com/users-guide/track-limits
AIW Configuration
Cut Corridors
To ensure that your AI works correctly with track limits, please ensure that all cut corridors are setup correctly and mark all areas legal that they should.
This includes in the pit lane, make sure that areas upto the garages are marked legal.
Typically this will mean marking all surfaces upto and including the white lines, and where curbs are legally used those too.
If you find areas being too strict with micro penalties, you can increase or decrease the coverage of the corridors ever so slightly adjust the penalization.
Pit Exit Cut Detection
In order for pit exit cuts to be tracked ensure that the AIW is configured correctly via Cut Corridors and Path Connections.
Firstly make sure that the cut track corridors are correct for both pitlane and main race surface, and in general ensure that the pit lane does not cover more area than the main race track unless it should - or this may result in false assignments to the pit path when it should not.
Note that sometimes the road can overlap the pit lane. Make sure this is appropriate.
Secondly check that there are no connections from the Pit Path to the Main Path where you do not want allow cars to join. In the image beneath they need removing. To view these show connections in the AI Editor.
These can be removed by deleting the branch from the pit path waypoint, but needs to be done one by one. The branches going through the cones in the image beneath should be removed.
In order for these connections to not be made automatically, ensure that your corridors and cut track boundaries are correctly configured. The game will not add them if the pitlane cut corridors do not go close enough to the opposite side of the race track. It does attempt to regenerate them each time you load an AI file in the AI editor though.
These are the correct branch connections:
GDB Customization
Much of the previous per track customization has been removed at this time. Note you do not need to specify these unless you wish to change them. The only settings that are available at present and their default values are:
- CutPitlaneLimits = 1 //Enable or disable cut detection when leaving the pits
- CutPitlaneLimitsPractice = 1//Enable or disable cut detection when leaving the pits in practice sessions
- CutPitlaneLimitsQualifying = 1//Enable or disable cut detection when leaving the pits in qualifying sessions
- CutPitlaneLimitsPrivate = 1//Enable or disable cut detection when leaving the pits in private non race sessions
- CutPitlaneLimitsRace = 1//Enable or disable cut detection when leaving the pits in race sessions
- CutLeavingScalar = 0.5 //How many car track widths outside the track boundary are cuts triggered (this is measured from the centre of the car)
- CutJoiningScalar = 0.0 //How many car track widths inside the track boundary is a cut finalized.
- CutNextLapInvalidDist = 500.0 //Manually set the distance at which the next lap will be invalidated. This is auto calculated by default.
- CutNextLapThreshPractice = 3.0 //The number of penalty points in a single infraction to invalidate the next lap in a practice session
- CutNextLapThreshQualifying = 3.0 //The number of penalty points in a single infraction to invalidate the next lap in a qualifying session
- CutNextLapThreshRace = 50000.0 //The number of penalty points in a single infraction to invalidate the next lap in a race session
The intention is to keep all other systems internal.
The majority of the track limits violations can be tweaked by ensuring the cut track corridors in the AIW file are correct.
All previous GDB settings are deprecated.