Tablet, dispatch and explosion options

Reference for the remaining blocks in firescriptv2/config.lua. Behaviour is covered in The dispatch tablet and Dispatch and alerts.

Fire Control tablet (Config.Tablet)

  • Enabled — turn the tablet off
  • OpenCommand — chat command and keybind name that opens it. Defaults to firetablet
  • RegisterKeybind — also register a keymapping, so players can bind it under Settings › Key Bindings › FiveM
  • RestrictToFirefighters — only firefighters, or scenario managers, may open it
  • AcePermission — who counts as a firefighter for the tablet
  • RefreshInterval — seconds between server pushes to open tablets
  • HeartbeatInterval — seconds between a firefighter reporting their position
  • MapImage — the map background, relative to html/
  • MapBounds — the world rect your map image covers
  • MaxZoom — cap the closest zoom. 0.72 keeps it pixel-sharp and stops at about a city block
  • ShowCoords — turn on calibration mode

Hydrants and apparatus

  • HydrantScanInterval — seconds between a client scanning for nearby hydrants
  • HydrantScanRadius — how far around a player hydrants are picked up
  • HydrantModels — the hydrant prop models the scan looks for
  • FireTruckModels — the vehicle models that show on the map as apparatus
  • ApparatusScanRadius — how far around a player fire trucks are picked up
  • ApparatusTTL — seconds an apparatus marker survives without a fresh report
Hydrants are never saved to disk. That is why the map can never show one that is not there any more.

Dispatch (Config.Dispatch)

  • Enabled — turn dispatch off
  • AlertFires — raise calls for standalone fires: command, random or explosion
  • AlertIncidents — raise calls for scenario incidents
  • DedupeRadius — do not raise a second call within this distance of an open one
  • CallTTL — seconds a call stays open before auto-expiring
  • NotifyAlert — the custom GUI alert card. false falls back to a plain game notification
  • AlertDuration — seconds the alert stays on screen
  • MaxAlerts — how many alerts may stack at once. The oldest is dropped
  • NotifyText — the plain game ticker notification, kept as a fallback
  • AlertSound — dispatch tone played as the card slides in. Names a file in html/sounds without the extension. Empty string uses the game's frontend beep
  • AlertVolume — 0..1

Warnings and blips (Config.FireWarnings)

  • IgnoreSpreadFires — do not raise a fresh warning for fires created by natural spread
  • GroupIncidentFires — a scenario or explosion incident is one job, not one per flame
  • Ping.Enabled — the red radius on the map
  • Ping.Persist — keep the radius for as long as the fire burns
  • Ping.Radius — radius for a single fire
  • Ping.Alpha — opacity 0-255. Keep this low — it sits on the map for as long as the fire burns
  • Ping.FadeTimer — only used when Persist is false
  • Ping.Color / Ping.StartAlpha — colour and starting opacity of the one-shot ping
  • Blip — the "Active Fire" blip: Name, Sprite, Color, Alpha
  • Message.Enabled — "Fire started / stopped" as a GUI alert card
If you turn Config.Dispatch off, set GroupIncidentFires false too, or incident fires are announced nowhere.

Game-based explosions (Config.GameBasedExplosions)

  • Enabled — turn explosion fires off
  • MaxRange — metres between the reporting player and the explosion they claim to have seen
  • Cooldown — seconds before the same player's next explosion is accepted
  • AllExplosionTypes — reference list. Do not touch this
  • IncidentNames — the incident name and category per explosion type, so a car fire shows as "Vehicle Fire" rather than an anonymous row. Anything not listed falls back to Default
  • WhitelistedExplosionTypes — the explosion types that actually trigger fires, with the flames, spread, type and timeout each one produces. Covers CAR, BIKE, TRUCK, TANKER, GAS_TANK, PLANE, MOLOTOV, GRENADE, STICKYBOMB and more
explosionEvent is reported by a client, so it is only as trustworthy as that client. MaxRange and Cooldown are what stop a modded client spawning fires across the map as fast as it can send.
Can't find what you need? Ask on Discord — response in under 5 hours.