Jump to content
taha

Dead Corpses decay

Recommended Posts

Guys, I have a bit of a garbage problem so to speak. 

 

0hsrhpz.jpg?1

 

I believe the image clarify my problem.

Can't even fight zeds anymore because they are hard to see. In case you did not noticed, are living zeds down there...

 

I use the Cremation Mod, but to carry and burn 6000+ corpses takes away the fun. Not to mention that there will always be more zeds spawning and moving towards my base. It becomes tedious very fast.

 

Anyway, maybe someone can make a mod that makes the corpses to decay naturally after a while.

I know I can add at properties of CorpseMale and CorpseFemale "DaysTotallyRotten", but I have no idea how to use that in Lua in order to make them vanish when are totally rotten. Of course that would also make the rotten food disappear, and that would be even better.

 

Please, can anyone help?

Thank you.

 

Share this post


Link to post
Share on other sites

C'mon. giuys, No one?

 

I have no Lua knowledge, all I can do is look at existing scripts and modify them. Maybe someone can point me in the right direction?

 

Like "look in x mod, the method there should be similar with what you want".

Share this post


Link to post
Share on other sites

I'm still trying to tinker with LUAs without the titlescreen vanishing. :/

 

But I agree that this is a necessity. According to the Zombie Survival Handbook most microorganisms give zombie carcasses a wide berth, meaning that even if they're deader than normal then they'll still take around five years to decay. Add to that that anything that munches on zombie flesh will end up dying then scavengers will probably not help much either. So I don't think they're really meant to decay...

If I were to do it the corpse would go through four phases

 

Normal - Lasts about a week

 

Infectious - Lasts maybe a few months to half a year, during this phase it could cause health problems, crops nearby would have increased risk of pest flies.

 

Skeletal - Harmless, no longer a container but can still be picked up and moved/ burned. This would last a fairly long time, maybe another half of a year.

 

Dust - Just a patch marking that a zombie was there. Would vanish within the week or fade like blood causing the ground to be "sickly" for crops.

 

Yeah, that will still take a while but it's realistic without adhering to the handbook.

 

Maybe somewhere in the erosion LUA?

Share this post


Link to post
Share on other sites

I'm still trying to tinker with LUAs without the titlescreen vanishing. :/

 

But I agree that this is a necessity. According to the Zombie Survival Handbook most microorganisms give zombie carcasses a wide berth, meaning that even if they're deader than normal then they'll still take around five years to decay. Add to that that anything that munches on zombie flesh will end up dying then scavengers will probably not help much either. So I don't think they're really meant to decay...

If I were to do it the corpse would go through four phases

 

Normal - Lasts about a week

 

Infectious - Lasts maybe a few months to half a year, during this phase it could cause health problems, crops nearby would have increased risk of pest flies.

 

Skeletal - Harmless, no longer a container but can still be picked up and moved/ burned. This would last a fairly long time, maybe another half of a year.

 

Dust - Just a patch marking that a zombie was there. Would vanish within the week or fade like blood causing the ground to be "sickly" for crops.

 

Yeah, that will still take a while but it's realistic without adhering to the handbook.

 

Maybe somewhere in the erosion LUA?

I really like this sort of a decay timetable (it should be a feature, not a mod!), but I don't think that's what the OP was looking for... That's a crazy amount of corpses in that pic! XD

 

Perhaps an easier mod to make would be something that scans the map file for zombie corpses and does a one time cleaning for such extreme situations?

Share this post


Link to post
Share on other sites

I actually managed to work up a detection code for the corpses but I have been trying several methods of removal and the game seems to flat out adamantly refuse to follow the commands of removing them. Once I figure out the fully removing part I can adapt my lua code and release my clean up code.

Share this post


Link to post
Share on other sites

There is a server setting for this very thing, not sure why it's not in the SP version.

Woot really??? That should make things simpler then. Many people seem to ask for this to lower cpu workload

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...