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
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
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