Configuration
Basic Configuration
Edit config.lua to set your F1 vehicle model:
Config = {}
Config.CarModelName = "cw2020" -- Change to your F1 car spawn nameImportant: The model name must match your F1 vehicle's spawn name exactly (case-sensitive).
Checkpoint Configuration
Checkpoints are defined in client.lua starting around line 133. The system uses three types of checkpoints:
Checkpoint Types
Start/Finish Line (
type = "start")Marks lap start and finish
Uses rectangular detection zone
Only one start checkpoint allowed
Between Checkpoints (
type = "bet")Validation points along the track
Must pass all to achieve a valid lap
Uses circular detection zones
Sector Markers (
type = "sector")Divides lap into sectors (typically 3)
Also counts as validation checkpoint
Uses circular detection zones
Checkpoint Structure
Adding/Editing Checkpoints
Get Coordinates: Use a coordinate tool or in-game method
Add to Array: Insert new checkpoint in racing order
Set Type: Choose
start,bet, orsectorSet Detection Zone:
Start line:
width,length,headingOthers:
radius(in game units)
Test: Drive through to verify detection
Example Track Layout:
Minimum Lap Time
Prevents accidental lap triggers from brief checkpoint crossings:
Adjust based on your track length:
Short tracks: 5000-10000 ms (5-10 seconds)
Medium tracks: 15000-30000 ms (15-30 seconds)
Long tracks: 60000+ ms (1+ minute)
Last updated
