Config

🧪 Evidence Configuration

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


⚙️ Main Settings

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

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

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.

Last updated