Bablo ResourcesDocs

CSI Scan Mode

CSI scan mode reveals the evidence around an investigator. Turn it on with /csi or the F5 key, or aim a flashlight, and evidence within range is drawn on the surfaces where it lies. Each piece can be inspected up close, lit and photographed before it is collected.

Configuration Options

These settings are in shared/config/ui.lua, shared/config/markers.lua and shared/config/config.lua.

Key

UIConfig.Keys.CSI is the key that toggles CSI scan mode (F5). Players can rebind it in their FiveM key bindings.

Inspection

CSIConfig controls the close-up inspection:

  • InspectDistance: how close the investigator must be to inspect a piece (3 m).
  • Keys: Inspect = 'H', Light = 'J' and Photograph = 'K'.
  • DefaultLight: the starting light colour ('white').
  • MaterialNames: map material names to surface groups (rough, smooth, metal, glass, soft) so evidence looks right on custom maps.

Evidence Visuals

EvidenceMarkers.Styles sets how each evidence type is drawn in the world: a ground-aligned texture for blood and tracks, a small prop for casings and glass, and an exact-place texture for prints and impacts.

Performance

Config.Performance limits how much CSI draws at once, for example CsiMaxActiveEvidence = 32 and CsiMaxNuiMarkers = 18. The defaults are tuned for busy servers.