53.117
511
-
28. okt 2017
Much like other vanilla services like Los Santos Fire Department or the Paramedics, the LSCC will send a Coroner van with two guys to pick up any dead bodies on the street.
LSPDFR support has been added as of 1.3.
This means the coroner service will stop spawning when you're a cop, to let you call of them ONLY if you need, using the cheats below.
You can change this in the configuration file.
Be sure to check the changelog below!
Cheats
"call coroner" - calls for the coroner to pick up any dead bodies.
"mark ped" - marks nearby peds for the coroner to pick up.
"activesearch" - toggles active search.
For script developers
Coroner Service now supports script requests to pick up dead peds. It works by reading decorators on the player and requested peds.
- Any ped with the integer decorator 'HandledByCoroner' will be picked up by the coroner van. 0 means its on the queue, 1 means its currently being processed by the Coroner guys.
- The playerped integer decorator 'CoronerDispatched' will tell you the current Service status.
-1 = Not active in the world. Default.
0 - 5 = The service is spawned and picking up bodies. 0 - 5 mean which phase of the process is currently active, 5 being "finished the job, we're leaving".
-2 = The service will actively look for dead peds to pick up, but will stop looking for them once it has found at least one, and revert to -1.
- The Playerped boolean decorator 'ActiveSearch' controls wether the service is actively looking for dead peds to pick up. Unlike the -2 value on CoronerDispatched, it will keep looking for peds forever until disabled.
ActiveSearch can be toggled automatically by this very script if you enable DisableActiveSearchWhenCop in CoronerService.ini.
As long as there is one ped in the script's queue, a coroner van will spawn to pick it up.
Feel free to contact me for more information or support for this feature.
--------------------
Reccomended mods
- Any coroner van mod.
- True coroners, or any other coroner ped mod.
Main features
- All dead bodies in the streets will be picked up by the Coroner service now.
- Fully automatic system. They do their job on their own, without any player input needed.
- Configurable: you can select the van and ped model, and whether cop presence is required to notify the coroner or not, among other features.
Minor-but-nice Features
These features are details related to the Coroners' behavior. Nothing grounbreaking, but improves the overall quality of the mod and the user's experience.
- Victims: If new victims appear while the Coroner unit is working, they'll be queued and the coroner will pick up those too. This is true even if the coroner is already leaving!
- Driving & Parking: I've tried my best to make these guys not come in smashing into everything, and actually trying to park somewhere out of the way, so traffic can flow while they're doing their job. Usually they park on the sidewalk.
Other details:
- Within the coroner team, there's a defined Leader and an Assistant. You'll notice the Assistant will do all the job while the leader just stares and takes notes. This is on purpose!
- The coroners will only use the van's lights only when parked.
- Victims inside a car will be pulled out by the assistant when possible.
- The leader will attempt to figure out the victim's cause of death.
- If any of the coroners dies, the remaining one will flee in the van, and no more coroners will dispatch for some time. Don't worry though, the next coroner will pick up the dead colleagues too.
- Each coroner van can take up to five bodies. When its full, they will leave and another van will be dispatched.
Future plans
- LSPDFR and EUP compatiblity. LSPDFR and Dangerous Individuals done.
- Make the coroners hold the bodybag properly. Done.
- Allow for multiple coroner models. Right now the script only takes one.
- Add compatiblity with the Towing Service mod.
- Make the coroners use the dragging animation to move around the victims.
- Any other suggestions you guys may have.
Installation
All files go into (GTA V Folder)/Scripts/.
If you don't have it, congratulations, this is your first script.
Create the scripts folder and put them there.
REQUIREMENTS
.NET Framework 4.5.2
Visual C++ 2015
ScriptHookV
Latest
ScriptHookVDotNet Latest
Credits
TheF3nt0n and 11john11 for the Coroner van I've used as the main vehicle for the script, and the RDE team playtesting and help instructing me on how the coroners should do their thing.
I'm not very experienced with that service, after all.
Changelog
1.3.1
- Made the Coroners friends with the cops and other emergency services.
In theory.
1.3
- Optimized script performance.
- Made the coroners properly hold the bodybags.
- Added Status notifications if you're a cop.
- Fixed a date issue that crashed the script.
- Implemented a few Decorators so other scripts can request the Coroner service.
- Added a few cheats.
- Various fixes.
First Uploaded: 15. sep 2017
Last Updated: 28. okt 2017
Last Downloaded: 44 minut
121 Comments
More mods by Eddlm:
Much like other vanilla services like Los Santos Fire Department or the Paramedics, the LSCC will send a Coroner van with two guys to pick up any dead bodies on the street.
LSPDFR support has been added as of 1.3.
This means the coroner service will stop spawning when you're a cop, to let you call of them ONLY if you need, using the cheats below.
You can change this in the configuration file.
Be sure to check the changelog below!
Cheats
"call coroner" - calls for the coroner to pick up any dead bodies.
"mark ped" - marks nearby peds for the coroner to pick up.
"activesearch" - toggles active search.
For script developers
Coroner Service now supports script requests to pick up dead peds. It works by reading decorators on the player and requested peds.
- Any ped with the integer decorator 'HandledByCoroner' will be picked up by the coroner van. 0 means its on the queue, 1 means its currently being processed by the Coroner guys.
- The playerped integer decorator 'CoronerDispatched' will tell you the current Service status.
-1 = Not active in the world. Default.
0 - 5 = The service is spawned and picking up bodies. 0 - 5 mean which phase of the process is currently active, 5 being "finished the job, we're leaving".
-2 = The service will actively look for dead peds to pick up, but will stop looking for them once it has found at least one, and revert to -1.
- The Playerped boolean decorator 'ActiveSearch' controls wether the service is actively looking for dead peds to pick up. Unlike the -2 value on CoronerDispatched, it will keep looking for peds forever until disabled.
ActiveSearch can be toggled automatically by this very script if you enable DisableActiveSearchWhenCop in CoronerService.ini.
As long as there is one ped in the script's queue, a coroner van will spawn to pick it up.
Feel free to contact me for more information or support for this feature.
--------------------
Reccomended mods
- Any coroner van mod.
- True coroners, or any other coroner ped mod.
Main features
- All dead bodies in the streets will be picked up by the Coroner service now.
- Fully automatic system. They do their job on their own, without any player input needed.
- Configurable: you can select the van and ped model, and whether cop presence is required to notify the coroner or not, among other features.
Minor-but-nice Features
These features are details related to the Coroners' behavior. Nothing grounbreaking, but improves the overall quality of the mod and the user's experience.
- Victims: If new victims appear while the Coroner unit is working, they'll be queued and the coroner will pick up those too. This is true even if the coroner is already leaving!
- Driving & Parking: I've tried my best to make these guys not come in smashing into everything, and actually trying to park somewhere out of the way, so traffic can flow while they're doing their job. Usually they park on the sidewalk.
Other details:
- Within the coroner team, there's a defined Leader and an Assistant. You'll notice the Assistant will do all the job while the leader just stares and takes notes. This is on purpose!
- The coroners will only use the van's lights only when parked.
- Victims inside a car will be pulled out by the assistant when possible.
- The leader will attempt to figure out the victim's cause of death.
- If any of the coroners dies, the remaining one will flee in the van, and no more coroners will dispatch for some time. Don't worry though, the next coroner will pick up the dead colleagues too.
- Each coroner van can take up to five bodies. When its full, they will leave and another van will be dispatched.
Future plans
- LSPDFR and EUP compatiblity. LSPDFR and Dangerous Individuals done.
- Make the coroners hold the bodybag properly. Done.
- Allow for multiple coroner models. Right now the script only takes one.
- Add compatiblity with the Towing Service mod.
- Make the coroners use the dragging animation to move around the victims.
- Any other suggestions you guys may have.
Installation
All files go into (GTA V Folder)/Scripts/.
If you don't have it, congratulations, this is your first script.
Create the scripts folder and put them there.
REQUIREMENTS
.NET Framework 4.5.2
Visual C++ 2015
ScriptHookV
Latest
ScriptHookVDotNet Latest
Credits
TheF3nt0n and 11john11 for the Coroner van I've used as the main vehicle for the script, and the RDE team playtesting and help instructing me on how the coroners should do their thing.
I'm not very experienced with that service, after all.
Changelog
1.3.1
- Made the Coroners friends with the cops and other emergency services.
In theory.
1.3
- Optimized script performance.
- Made the coroners properly hold the bodybags.
- Added Status notifications if you're a cop.
- Fixed a date issue that crashed the script.
- Implemented a few Decorators so other scripts can request the Coroner service.
- Added a few cheats.
- Various fixes.
First Uploaded: 15. sep 2017
Last Updated: 28. okt 2017
Last Downloaded: 44 minut
-
@Eddlm it would be better if the coroners didnt just spawn as soon as u kill someone. u should have to only do the cheat rather than it just randomly happens or maybe make an extra contact on ur phone called coroner and u just call that?
24. jun 2020 -
@Eddlm Great mod!!! I will agree with LoganSpoon though. Maybe you could put an option in the ini file in order to be able to determine after how long (in seconds) the Coroners would appear. As it is now they are always come before the ambulances and the mod "Real Paramedics" https://el.gta5-mods.com/scripts/real-paramedics can't work. Thanks!
20. avg 2020 -
-
Awesome Mod, hope my ambulances services still work, because I haven't been seeing them lately :)
31. okt 2021 -
-
-
-
-
-
Is there a way to use multiple ped and vehicle models? One model type gets repetitive very quickly.
29. okt 2022 -
Its a great mod but the thing that annoys me is that when the corner does the death report, the timestamp is 2009 which is wrong because the game is set in 2013, is there any way to fix this?
14. mar 2023 -
This is a amazing mod, is there a way you can make this for FiveM ready to be use with QBcore, servers, or can i re do it?. To use it on FiveM, qbcore, for example: there's an AI NPC Coroner, for the NPC, that gets Kill by the players, (car accident, ext,), also like a script job, so if theres a player with that job, the AI NPC Coroner will not work, until there no player for that job, so the AI coroner will take over, @Eddlm
31. maj 2023 -
@SnibetySnab Yes, and it isn't handled by the mod. You need to set the ingame date using a trainer.
25. jun 2023 -
-
-
Where do I enter the codes to call the coroner? Why not make a coroner's call on the keyboard button?
30. maj 2024 -
My date says 2014 instead of 2009 the mod work okay sometimes but sometimes the coroners don’t even come out the car or they just stay in the car while the dead body just laying there
15. jul 2024 -
-
1.3 out! Mostly an experimental release, heavily oriented to support LSPFR/Dangerous Individuals and allow other scripts to request the Coroner service.
I think I've solved most of the bugs, although I haven't been able to recreate some, like the coroners hanging forever. Check the changelog!