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

[L4D1] Survivor Death Model


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Plugin ID:
7684
Plugin Version:
1.0.5
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    (Experimental) Recreates the L4D2 death animation from the sequel
    Old 06-15-2021 , 05:50   [L4D1] Survivor Death Model
    Reply With Quote #1

    A plugin done for funsies, this brings the death models from L4D2 into L4D1.

    This is planned to also include recreated Defibrillators to allow you to bring the bodies back to life.
    As of now, it is still in a W.I.P state, but you can use the Defibrillator on the bodies and successfully revive them, though the Defibrillator cannot spawn naturally by itself.

    By default, this only replaces the survivor ragdolls with death models, so it's not much use for conventional servers.

    If you're an experienced plugin creator/editor, then feel free to experiment more with this.

    -= ConVars =-

    sm_sequel_death_anim_enable [0/1] = Enable replacing survivor ragdolls with death models?
    sm_sequel_death_defib_color [STRING] = The color to give the Defibrillators.
    sm_sequel_death_anim_behavior [BITFLAGS] = Behavior for death models. 0 = L4D2-Style. 1 | Vulnerable Bodies with Health + 2 | Keep Player Velocity + 4 | Zombification
    Side Note: Zombification does not work, only through the sm_convertallbodies command.
    sm_sequel_death_anim_zombie_surv_hp [0/INF] = How much HP will zombified survivors have?
    defibrillator_return_to_life_time [0.0/INF] = How long the plugin holds newly-defibbed players in place?
    defibrillator_use_duration [0.0/INF] = How long the plugin's defibrillator takes to revive someone back to life?
    Side Note: These last two ConVars are not to be confused with the L4D2 ConVars of the same names.

    -= Commands =-

    ADMFLAG_SLAY required - sm_defiballbodies = Defib all bodies.
    ADMFLAG_SLAY required - sm_convertallbodies = Turn all bodies to infected.
    ADMFLAG_CHEATS required - sm_createdeathmodel = Spawn a death model of yourself.

    -= Releases =-
    Code:
    Version 1.0.5
    - Bump that prevents the Defibrillator from being used as a first aid kit is now barely noticeable.
    - The system for defibrillator_use_time is now actually mostly implemented.
    * Uses the vanilla progress bar with the display text: USING DEFIBRILLATOR on Francis
    - Fixed Defibrillators getting removed and not dropped from dead survivors.
    Version 1.0.4
    - Added actual defib functionality. W.I.P.
    Version 1.0.3c
    - Removed debugging PrintToServer messages.
    Version 1.0.3b
    - Hotfix for getting up animation.
    Version 1.0.3
    - Added more functionality to Defibrillators.
    * Defibrillators now use their 'weapon_defibrillator' name as classname instead of targetname.
    - Death models now use their 'survivor_death_model' name as classname instead of targetname.
    * Added the sm_sequel_death_anim_defib_color ConVar. Defibs now use a green color, as yellow was barely noticeable.
    * First aid kits and Defibrillators can be swapped.
    * Defibrillators are prevented from healing players, with a hint informing their actual use.
    Defibrillators still do not have any defib functionality, however.
    Version 1.0.2
    - W.I.P. Defibrillators. They don't actually work yet, and are just yellow-colored First Aid Kits. Use the 'Give Defibrillator' option in the admin menu's 'Player Options' to give yourself one.
    - Now sets the entities used for the death model to be 'survivor_death_model' targetnames instead of classnames.
    Version 1.0.1
    - Fixed error with sm_sequel_death_anim_behavior having it's min and max set to 0, making it useless. Stupid bitflags.
    Version 1.0.0
    - Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (L4D1_ReplicateDeathModel.sp - 184 views - 72.2 KB)
    __________________
    ragdoll spam, that is all

    Steam profile, where I game, obviously.
    Youtube channel, where I do Stick Death Maze animations and some other stuff.
    no plugin requests, sorry


    My Plugins:
    -search list-
    Modified Plugins:
    1 | 2 | 3 | 4

    Last edited by Shadowysn; 08-14-2022 at 03:49. Reason: Updated to Version 1.0.5
    Shadowysn is offline
    sonic155
    Senior Member
    Join Date: Mar 2019
    Old 05-12-2022 , 02:19   Re: [L4D1] Survivor Death Model
    Reply With Quote #2

    how about making a timer for dead survivors to turn into zombies after a #secs of time so players can defib them or risk them turning
    sonic155 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 05-14-2022 , 13:24   Re: [L4D1] Survivor Death Model
    Reply With Quote #3

    Thank You !!! I didn't try it, but the source code looks very interesting!
    Very creative!
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 05-14-2022 , 13:56   Re: [L4D1] Survivor Death Model
    Reply With Quote #4

    Ahh, would like to know what all those rare props do and how/where you become familiar about them.
    But, ehh, anyway I'm not too much in sm dev in recent time...
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 05-17-2022 , 10:12   Re: [L4D1] Survivor Death Model
    Reply With Quote #5

    Quote:
    Originally Posted by Dragokas View Post
    Thank You !!! I didn't try it, but the source code looks very interesting!
    Very creative!
    Thanks, this was a random tunnel-vision plugin.
    Gee, the source code was interesting? I'm flattered and happy to hear, as it felt more like the opposite to me, but honestly any creator of something is more often than not feeling the opposite of marvel knowing all about the things they poured into it.
    Quote:
    Originally Posted by Dragokas View Post
    Ahh, would like to know what all those rare props do and how/where you become familiar about them.
    But, ehh, anyway I'm not too much in sm dev in recent time...
    I got my info about the rare props from past Entity behavior experience, netprop and datamap dumps, and from the Valve Developer Community.
    I'm not as active at SM than in my past as well. Yeah, I know the feeling.

    Last edited by Shadowysn; 05-17-2022 at 10:12.
    Shadowysn is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 07-08-2022 , 04:54   Re: [L4D1] Survivor Death Model
    Reply With Quote #6

    Quote:
    Originally Posted by sonic155 View Post
    how about making a timer for dead survivors to turn into zombies after a #secs of time so players can defib them or risk them turning
    Yeah, admittedly this would give this plugin a better purpose.
    But currently the plugin's on a hiatus right now, and the defibs don't really work. They're only reskinned first-aid-kits for now.
    Shadowysn is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 08-12-2022 , 02:02   Re: [L4D1] Survivor Death Model
    Reply With Quote #7

    Code:
    Version 1.0.4
    - Added actual defib reviving functionality. W.I.P.
    - Defibrillators now use their 'weapon_defibrillator' name as classname instead of targetname.
    - Death models now use their 'survivor_death_model' name as classname instead of targetname.
    - Added the sm_sequel_death_anim_defib_color ConVar. Defibs now use a green color, as yellow was barely noticeable.
    - First aid kits and Defibrillators can be swapped.
    - Defibrillators are prevented from healing players, with a hint informing their actual use.
    
    Use the 'Give Defibrillator' option in the admin menu's 'Player Options' to give yourself a defib.
    Shadowysn is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 08-12-2022 , 10:10   Re: [L4D1] Survivor Death Model
    Reply With Quote #8

    Cool! Going to try it in action
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Reply



    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 21:13.


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