Author Topic: How to make long-lasting killed players?  (Read 1456 times)

The default is 10, I would like to make it 30, someone?

The default is 10, I would like to make it 30, someone?
what?
do you mean how long the corpses stay before disappearing?

anyway this goes in help

what?
do you mean how long the corpses stay before disappearing?

anyway this goes in help
Yes and

I am posting here because the Help section is almost abondoned

Who even replies in help lol

i posted a help topic asking this same question a long time ago
i cant find it but I think Pecon7 told me how to do it

Who even replies in help lol
A select few but people do post in the help section.

Yes and

I am posting here because the Help section is almost abondoned

that excuse has not worked for the past FIVE HUNDRED PEOPLE making that claim
stop forgetin' doin' it

I am posting here because the Help section is almost abondoned
I check help at least once every 2 days to help anyone

I am posting here because the Help section is almost abondoned
i don't like you go away

God loving damnit post something ontopic

For player respawn time? Change it in the minigame settings.

For player respawn time? Change it in the minigame settings.
nono

I mean corpses

But  thanks

nono

I mean corpses

But  thanks
That will require some scripting I believe since I don't know of any public mods that do this. I do remember seeing a suggestion in suggestions&requests though.

Code: [Select]
package SwolDeathSys
{
function Player::RemoveBody(%Obj)
{
if(!%Obj.ResetBody)
{
%Obj.ResetBody = 1;
Schedule(25000,0,RemoveBodySecond,%Obj);
return;
}
if(%Obj.ResetBody)
{
Parent::RemoveBody(%Obj);
}
}
function RemoveBodySecond(%Obj)
{
%Obj.RemoveBody(%obj);
}

};
ActivatePackage(SwolDeathSys);
some old code, will make bodies stay for 30 seconds

Code: [Select]
package SwolDeathSys
{
function Player::RemoveBody(%Obj)
{
if(!%Obj.ResetBody)
{
%Obj.ResetBody = 1;
Schedule(25000,0,RemoveBodySecond,%Obj);
return;
}
if(%Obj.ResetBody)
{
Parent::RemoveBody(%Obj);
}
}
function RemoveBodySecond(%Obj)
{
%Obj.RemoveBody(%obj);
}

};
ActivatePackage(SwolDeathSys);
some old code, will make bodies stay for 30 seconds

There's a variable that does this.