# Configuration

Everything is in `seeker_dual/shared/config.lua`, commented in place. These are first-run defaults: once a player has used the radar, their own saved settings win.

## Keys and access

| Option | Default | What it does |
|---|---|---|
| `Config.defaultKeybind` | `'F5'` | Open the remote |
| `Config.keybindPower` | `''` | Power on or off without the remote. Unset by default |
| `Config.keybindLockFront` / `Rear` | `'NUMPAD8'` / `'NUMPAD2'` | Lock front / rear speed |
| `Config.keybindPlateLockFront` / `Rear` | `'NUMPAD7'` / `'NUMPAD1'` | Lock front / rear plate |
| `Config.allowedVehicleClasses` | `{ 18 }` | Vehicle classes that can use it (18 = emergency) |
| `Config.speedUnit` | `'mph'` | `'mph'` or `'kmh'` |

## Antennas and detection

| Option | Default | What it does |
|---|---|---|
| `Config.antennaMaxDist` | `1000.0` | How far the antennas can see, metres |
| `Config.antennaRangeMin` / `Max` | `100` / `500` | The SEN range steps |
| `Config.sameSensitivity` | `0.6` | Sensitivity to traffic going your way, 0.2-1.0 |
| `Config.oppSensitivity` | `0.6` | Sensitivity to oncoming traffic, 0.2-1.0 |
| `Config.targetPriority` | `'echo'` | Which car takes the TARGET window |
| `Config.radarRangeFalloff` | `4` | How fast returns weaken with distance |
| `Config.radarBeamLateralSigmaM` | `14.0` | Beam width: higher picks up wider |
| `Config.fastRequiresFasterThanTarget` | `true` | FAST must beat the TARGET speed |
| `Config.fastMaxDistanceBeyondPrimaryM` | `70.0` | Ignore FAST cars further than this beyond TARGET |
| `Config.closingDeadbandMph` | `1.5` | How much closing speed lights an arrow |
| `Config.patrolSpeedThresholds` | `{ 1, 5, 10, 20 }` | The PS button's steps |

## Audio

| Option | Default | What it does |
|---|---|---|
| `Config.dopplerPitchMin` / `Max` | `0.7` / `2.5` | Doppler pitch range |
| `Config.dopplerPitchMaxSpeedMph` | `100` | Pitch stops climbing at this speed |
| `Config.dopplerVolMin` / `Max` | `0.2` / `1.0` | Doppler volume range |
| `Config.dopplerStationaryMaxMph` | `2.0` | Speed that still counts as parked for Doppler |

## Self-test

| Option | Default | What it does |
|---|---|---|
| `Config.autoSelfTest` | `false` | Re-run the self-test on a timer |
| `Config.autoSelfTestInterval` | `600` | Seconds between them (the real unit's interval) |

## Dash unit

| Option | Default | What it does |
|---|---|---|
| `Config.radarProp.enabled` | `true` | `false` removes the dash unit and `/seekerplace` |
| `Config.radarProp.placeAce` | `'seeker_dual.place'` | Permission for `/seekerplace` |
| `Config.radarProp.screenGlow` | | A small light in front of the screen after dark. See [Overview](/docs/seeker_dual/overview#the-dash-unit) |

## Display defaults

`Config.displayDefaults` sets where the radar, plate reader and remote first appear. Players move them with the remote or `/seeker_move` and `/prmove`, and their layout is saved.

## ALPR

`Config.alpr` and `Config.imperialCad`. See [Plate reader (ALPR)](/docs/seeker_dual/alpr).

## Debug

| Option | Default | What it does |
|---|---|---|
| `Config.remoteDebug` | `false` | Show the remote's button hitboxes |
| `Config.detectionZoneDebug` | `false` | Draw the radar beam in the world |
