Skip to content

Config

πŸ§ͺ Evidence Configuration#

This section controls how evidence (blood, GSR, etc.) behaves in the police evidence system.


βš™οΈ Main Settings#

lua
Evidence = {
    DecayMinutes = 30,
    DropCooldownMs = 250,
    BloodDrop = { enabled = true },
    GSRDrop = { enabled = true },

    Labels = {
      blood = "Collect Blood Sample",
      gsr_shooter = "Collect GSR (Shooter)",
      gsr_impact = "Collect GSR (Impact)"
    },

    FlashlightMarker = {
      maxDistance = 18.0,
      scale = 0.18
    },
}

πŸ“ Field Reference#

  • DecayMinutes = 30
    How long evidence remains in the world before it decays/disappears (30 minutes).
  • DropCooldownMs = 250
    Minimum delay (in milliseconds) between dropping evidence to prevent spam.
  • BloodDrop.enabled = true
    Enables/disables blood evidence being dropped at crime scenes.
  • GSRDrop.enabled = true
    Enables/disables Gunshot Residue (GSR) evidence being left behind.

🏷 Labels#

lua
Labels = {
  blood = "Collect Blood Sample",
  gsr_shooter = "Collect GSR (Shooter)",
  gsr_impact = "Collect GSR (Impact)"
}
  • blood β†’ Interaction text when collecting blood evidence.
  • gsr_shooter β†’ Interaction text when collecting GSR directly from a shooter.
  • gsr_impact β†’ Interaction text when collecting GSR from a bullet impact site.

πŸ”¦ Flashlight Marker#

lua
FlashlightMarker = {
  maxDistance = 18.0,
  scale = 0.18
}
  • maxDistance = 18.0 β†’ Maximum range at which evidence can be detected with a flashlight.
  • scale = 0.18 β†’ Size of the flashlight marker used to highlight evidence.

πŸ‘‰ In short:
This config defines how evidence spawns, how long it lasts, how often it can drop, and how police officers detect and interact with it.