Author Topic: Corpse Add on  (Read 1641 times)

Yeah, i was wondering if anyone could make a corpse add on, so when the player died there body didn't poof into dust...it stayed there.

You get the picture.

Yeah, i was wondering if anyone could make a corpse add on, so when the player died there body didn't poof into dust...it stayed there.

You get the picture.

and slowly rotted!
nvm...

This would cause a new kind of spam, dead minifig spam...

Someone would enter a server, commit Self Delete 1 or 2 hundred times, and leave.

It would have a gui to set or unset the CORPSE settings, and have an admin only "corpse clearer"

On death one corpse, second dead one fades away.
« Last Edit: November 26, 2008, 11:01:33 AM by WhoDa? »

I accidentally created something like this when testing Block Mesa. I have the NewDeath script enabled, and when I got killed by Chardle Zombie, my corpse tumbled for it time,stopped,but did not poof. Instead it stayed still, with light still on and sword swinging at the wall. I found out that it had collision,and it had blocked the doorway. You could not punch them away with Destructowand either. I am gonna try re-doing that later today.

This happens when playing in survivor mode in a mini if a player kills another player, but they dont lay down

I've done this before, I'll see if I can find it.

This happened to me when I was hosting a DM, a guy's Datablock had spawned but he was still loading, I killed him and he loaded before the body disappeared, so it stayed.

It would have a gui to set or unset the CORPSE settings, and have an admin only "corpse clearer"
I like this idea =P

When ever you respawn it destroys your corpse maybe?

No, corpses stay all the time...

This is as old Self Delete script I wrote, probably a better way to do it but it worked fine on my server.

Here's the code, you figure out what to do with it.

Code: [Select]
//VH Death////////////////////////////////////////////////////////////////////
function serverCmdSelf Delete(%client)
{
schedule(1,10,serverCmdvhdeath1,%client);
messageAll('messageSent',"" @ %client.name @ " \c6commited Self Delete.");
schedule(800,50,serverCmdvhdeath2,%client);
}

function serverCmdvhdeath1(%client)
{
%client.player.playThread(1,death1);
}

function serverCmdvhdeath2(%client)
{
%cloneName = %client.name;
%clone = %client.player;
    %client.player.setShapeName(%cloneName @ "'s corpse");
%client.createPlayer();
%client.spawnPlayer();
%client.player.playThread(1,root);
    %client.player.setShapeName(%clone.name);
%clone.schedule(99999999,"removeBody");
}
////////////////////////////////////////////////////////////////////////////

Edit: 2 Probloms with that script,
1. the corpses only appear when you Self Delete (Ctrl K)
2. if you shoot a corpse, the person whos corpse that is gets damaged/killed.


« Last Edit: November 26, 2008, 07:02:29 PM by Snip3r »