AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2]High_Impact_Ragdoll_Deaths (https://forums.alliedmods.net/showthread.php?t=310790)

Lux 09-20-2018 06:47

[L4D2]High_Impact_Ragdoll_Deaths
 
1 Attachment(s)
Hi, High_Impact_Ragdoll_Deaths will cause you to ragdoll when over max fall velocity that would cause an instakill, unlike Mr.zero's which causes everydeath to ragdoll this will only trigger from falling VERY HARD splat*splat*splat* :twisted:

Git Commits

Demo below
https://steamusercontent-a.akamaihd....1A86ED75061FF/

It has LMC support too!
Lux's Model Changer

hoanganh81097 09-20-2018 13:50

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Not create a static body to defib, i cant defib with dynamic body

Silvers 09-20-2018 14:06

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
That is the point, no defib from high velocity impact death.

Quote:

High impact falls that kill you as a survivor will now ragdoll and no defibbing.

hoanganh81097 09-21-2018 02:38

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
i add some code so i can defib
Quote:

new iEntity;
new String:modelname[128];
GetEntPropString(victim, Prop_Data, "m_ModelName", modelname, 128);

iEntity = CreateEntityByName("survivor_death_model");
SetEntityModel(iEntity, modelname);

new Float:g_Origin[3];
new Float:g_Angle[3];

GetClientAbsOrigin(victim, g_Origin);
GetClientAbsAngles(victim, g_Angle);

TeleportEntity(iEntity, g_Origin, g_Angle, NULL_VECTOR);
DispatchSpawn(iEntity);
SetEntityRenderMode(iEntity, RENDER_NONE);
but like this
http://i.imgur.com/CpxOMzD.jpg

cravenge 09-21-2018 02:50

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Nice work, Lux! :up:

I always find it weird when falling from high places vertically always results to the body becoming a death model rather than flailing around, which makes it less realistic.

Lux 09-21-2018 16:05

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Quote:

Originally Posted by cravenge (Post 2616127)
Nice work, Lux! :up:

I always find it weird when falling from high places vertically always results to the body becoming a death model rather than flailing around, which makes it less realistic.

Thanks! ye i disliked that too.

Quote:

Originally Posted by hoanganh81097 (Post 2616124)
i add some code so i can defib

Nice what open source means adding your own stuff you want!



I made a small update incase anyone is using incapcrawling and crawls off an edge would have some strange effect :P



should i fix incap players crawling off an edge and not dying as they should if not incapped?

cravenge 09-22-2018 15:07

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Quote:

Originally Posted by Lux (Post 2616198)
should i fix incap players crawling off an edge and not dying as they should if not incapped?

I think not since they are just falling horizontally, which makes it normal for their bodies becoming death models.

theproperson 08-04-2019 22:27

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Quote:

Originally Posted by hoanganh81097 (Post 2616124)
i add some code so i can defib

Could I have a copy of your version? I don't know anything about writing plugins and am not sure where to put the information you provided. Would really like to use this but it's kind of pointless without being able to defib.

Lux 08-05-2019 16:08

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Quote:

Originally Posted by theproperson (Post 2661945)
Could I have a copy of your version? I don't know anything about writing plugins and am not sure where to put the information you provided. Would really like to use this but it's kind of pointless without being able to defib.

Just use defib ragdolls best of both worlds?

https://forums.alliedmods.net/showthread.php?p=2633939

l4ddefibragdolls 10-19-2019 07:27

Re: [L4D2]High_Impact_Ragdoll_Deaths
 
Quote:

Originally Posted by hoanganh81097 (Post 2616124)
i add some code so i can defib


but like this
http://i.imgur.com/CpxOMzD.jpg

Where do i need to paste that for make it work?


All times are GMT -4. The time now is 04:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.