emergency: add nearest-city emergency vehicle routes

This commit is contained in:
Richard Zink committed 2026-10-13 06:43:09 +02:00
1 parent 6553d2fd1d
commit fec1941e12
2 files changed
+233 -1

No files matched your search

+23
View File
@@ -118,6 +118,29 @@ window.CONFIG = {
// weatherSimProfile: { rain: { code: 80, tempC: 9, precipMm: 2.0, windKmh: 28 } }
},
// ------------------------------------------------------------------
// Emergency vehicles
// ------------------------------------------------------------------
// Emergency vehicles start from the nearest city/town to CONFIG.location
// and drive a selected secondary/primary road chain out and back. The
// route selection is intentionally conservative: it uses already loaded
// road chains and does not run a full routing engine.
emergencyVehicles: {
enabled: true,
count: 3,
speedKmh: 85,
minKm: 40,
maxKm: 80,
rankMax: 1, // 0=city, 1=town
color: [0.22, 0.55, 1.0],
flashHz: 2.2,
nightOnly: true,
bright: 1.35
// emergencyVehicles: { enabled: false }
// emergencyVehicles: { count: 6, speedKmh: 110, minKm: 25, maxKm: 120 }
// emergencyVehicles: { color: [1.0, 0.18, 0.12], flashHz: 3.0 }
},
// ------------------------------------------------------------------
// Weather effects
// ------------------------------------------------------------------