SIMPLIX IT · SCRIPT DOCUMENTATION
INVESTIGATION &
EVIDENCE.
A comprehensive investigation and evidence system for RedM: shell casings and blood stains appear automatically, an investigator mode reveals evidence on the map, ballistics and DNA analysis identify suspects, and a fingerprint system rounds out the process.
Dependencies
- VORP Core
- vorp_inventory
- oxmysql
Installation
-
Upload
mulderdev_forensicsto yourresourcesdirectory and addensure mulderdev_forensicsto yourserver.cfg. - Run this SQL to create the required items:
INSERT INTO `items` (`item`, `label`, `limit`, `can_remove`, `type`, `usable`) VALUES
('investigation_kit', 'Investigation Kit', 1, 1, 'item_standard', 1),
('empty_evidence_bag', 'Empty Evidence Bag', 20, 1, 'item_standard', 1),
('evidence_bag', 'Evidence Bag', 20, 1, 'item_standard', 1),
('cleaning_kit', 'Cleaning Kit', 5, 1, 'item_standard', 1),
('ink_pad', 'Ink Pad', 1, 1, 'item_standard', 1),
('fingerprint_card', 'Fingerprint Card', 10, 1, 'item_standard', 1);
- Make sure matching images for these items exist in your inventory resource.
- Restart the server.
The forensics_evidence table for ground evidence is
created automatically on first start — no manual SQL is needed for
that.
Usage — Step by Step
- Crime scene: After a shooting or an injury, invisible evidence is left on the ground.
-
Investigation: Use the
investigation_kitto toggle investigator mode. Yellow markers are shell casings, red markers are blood. Walk up and press[G]to inspect — you need an empty evidence bag for this. -
Lab analysis: Use the received
Evidence Bagin your inventory. It turns into a Forensics Report: casings immediately reveal weapon, ammo, and serial number (plus a fingerprint hint if present); blood reveals the blood type. -
DNA comparison: Use the
dna_samplernear a suspect (or on yourself for an exclusion sample). Then use the resultingDNA Sample— the system automatically checks your reports for a match. -
Fingerprint comparison: Use the
ink_padon a suspect for afingerprint_card, then use that card — on a match, the report updates with "MATCH: [name]". - A confirmed report (via DNA or fingerprint) can be handed over to judges or other officers.
Config Reference — General & Retention
| Setting | Description |
|---|---|
Config.Debug | Debug output in the console |
Config.Locale | 'en' or 'de' |
Config.SaveEvidenceToDB | Saves ground evidence to the DB so it survives restarts (default: true) |
Config.EvidenceRetentionDays | Days before ground evidence is auto-deleted (default: 3) |
Config.EvidenceLifetime | Fallback time in seconds if DB storage is disabled |
Config.CleaningKitUses | Number of uses before a Cleaning Kit is consumed |
Config Reference — Permissions
| Setting | Description |
|---|---|
Config.AuthorizedJobs | Jobs allowed to see evidence in investigation mode (default: police, sheriff, marshal, detective) |
Config.DnaSamplerJobs | Jobs allowed to use the DNA sampler — empty/false = open to everyone (default: doctor, medic, police) |
Config Reference — Fingerprints
| Setting | Description |
|---|---|
Config.Fingerprints.Enabled | Enables/disables the fingerprint system |
Config.Fingerprints.Chance | Percent chance (0–100) to leave a print on a casing |
Config.Fingerprints.GloveExclusion | If true, gloves prevent leaving a print |
Config.Fingerprints.ConsumeCard | If true, the fingerprint card is destroyed after use |
Config.Fingerprints.DebugGloves | Shows worn clothing hashes in the F8 console |
Config.Fingerprints.ClothingSystem | "auto", "vorp", "kd", or "murphy" — which glove-detection system is used |
Debug commands for testing glove detection:
/checkgloves, /dumpclothing,
/checkped.
Config Reference — Report Display & Evidence Props
| Setting | Description |
|---|---|
Config.ReportSettings.ShowWeaponName | Shows the weapon model in the report |
Config.ReportSettings.ShowAmmoType | Shows the ammo type in the report |
Config.ReportSettings.ShowSerial | Shows the weapon serial number in the report |
Config.ReportSettings.ShowVictimName | Shows the victim's name for blood evidence (default: false — for the DNA flow) |
Config.ReportSettings.ShowBloodType | Shows the blood type in the report |
Config.ShellCasings | Prop model and visibility distance for shell casing evidence |
Config.BloodCalls | Prop model and visibility distance for blood evidence |
Config.CollectionTime | Duration in ms to collect a piece of evidence |
Weapon, ammo, and item mappings (Config.WeaponNames,
Config.AmmoNames, Config.WeaponItems,
Config.DbWeaponNames) already cover the full RedM
weapon roster — you normally won't need to touch these unless your
database uses different weapon names.