Jump to content

Corpses With Loot Don't Despawn


Nova
 Share

Recommended Posts

I am running a zombie server with an emphasis on realism and simulation aspects.  There is a mod called Persistent Corpses that will allow a person to make bodies never despawn or to despawn corpses by console command.  There is also a plugin called FasterCorpsesDespawn that makes corpses of players with nothing (or specified items to ignore) despawn quickly.  I have found this second plugin does not seem to currently work.

What I am attempting to do is combine the functionality of both of these in order to make it so that corpses with loot stay in the game world until looted and that looted corpses despawn.  This would create a gameplay situation in which someone could be walking through the Metro tunnels and come across an old body and for the experience to be worthwhile because of what it may contain.  The issue with the current usage of strictly having the corpses not despawn is that it lowers system performance with no benefit and for those who suicide as a form of travel their bodies can pile up in an area.  I want finding a player body to be like finding a rare crate, something that is actually worth interacting with and to remove the performance loss of having a million naked corpses on the beach.

This should be fairly easy to implement as the code for all of it seems to already exist. except for some reason the second plugin does not currently work as far as I have seen, as to whether one or the other overrides the other I don't know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

389.7k

Downloads

Total number of downloads.

2k

Customers

Total customers served.

28k

Files Sold

Total number of files sold.

436.2k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.