Raised This Month: $12 Target: $400
 3% 

[L4D2]High_Impact_Ragdoll_Deaths


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
6266
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    High impact falls that kill you as a survivor will now ragdoll and no defibbing.
    Old 09-20-2018 , 06:47   [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #1

    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*

    Git Commits

    Demo below


    It has LMC support too!
    Lux's Model Changer
    Attached Files
    File Type: sp Get Plugin or Get Source (High_Impact_Ragdoll_Deaths.sp - 2183 views - 2.2 KB)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 05-08-2020 at 17:06. Reason: cake
    Lux is offline
    hoanganh81097
    Senior Member
    Join Date: Apr 2016
    Old 09-20-2018 , 13:50   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #2

    Not create a static body to defib, i cant defib with dynamic body

    Last edited by hoanganh81097; 09-20-2018 at 13:50.
    hoanganh81097 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-20-2018 , 14:06   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #3

    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.
    __________________
    Silvers is offline
    hoanganh81097
    Senior Member
    Join Date: Apr 2016
    Old 09-21-2018 , 02:38   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #4

    i add some code so i can defib
    Quote:
    new iEntity;
    new String:modelname[128];
    GetEntPropString(victim, Prop_Data, "m_ModelName", modelname, 12;

    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
    hoanganh81097 is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 09-21-2018 , 02:50   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #5

    Nice work, Lux!

    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.
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 09-21-2018 , 16:05   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #6

    Quote:
    Originally Posted by cravenge View Post
    Nice work, Lux!

    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 View Post
    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



    should i fix incap players crawling off an edge and not dying as they should if not incapped?
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 09-21-2018 at 17:03.
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 09-22-2018 , 15:07   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #7

    Quote:
    Originally Posted by Lux View Post
    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.
    cravenge is offline
    theproperson
    Member
    Join Date: Feb 2017
    Old 08-04-2019 , 22:27   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #8

    Quote:
    Originally Posted by hoanganh81097 View Post
    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.

    Last edited by theproperson; 08-04-2019 at 22:28.
    theproperson is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 08-05-2019 , 16:08   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #9

    Quote:
    Originally Posted by theproperson View Post
    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
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    l4ddefibragdolls
    New Member
    Join Date: Oct 2019
    Old 10-19-2019 , 07:27   Re: [L4D2]High_Impact_Ragdoll_Deaths
    Reply With Quote #10

    Quote:
    Originally Posted by hoanganh81097 View Post
    i add some code so i can defib


    but like this
    Where do i need to paste that for make it work?
    l4ddefibragdolls is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:09.


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