I could use some help!
This item was created for our wiltOS Week 2018, you can check that out here: www.wiltostech.com/wosweek
Experience the trauma and cooperation of Left 4 Dead reviving in Garry’s Mod! This addon will put you into an incapacitation state when you take damage that wouldn’t kill you below a certain percentage of your health. Your team mates can come to revive you by crouching next to you and holding their USE key on your rotting body, or just straight out end your own life by holding the USE key yourself!
Comes complete with Left 4 Dead Animations.
I will be adding concommands for changing various options such as bleed out, revive speed, and weapon usage. If you have any specific configuraiton options you’d like, please let us know!
How to use:
If you see a downed player, crouch next to them and hold USE to revive!
Concommands:
wos_ls_revivetime – How long does it take to revive someone in seconds? ( Default 5 )
wos_ls_percent – At what percent of a player’s max health do we trigger the last stand mode? ( Default 0.25 )
wos_ls_canshoot – Should we allow downed players to shoot? ( Default 1 )
wos_ls_revived_percent – what percenage of health should a player revive to? ( Default 0.4 )
wos_ls_enable_jobrestrict – Should reviving be restricted to specific teams? ( Default 0 )
wos_ls_cancrawl – Should downed players be able to crawl slowly? Default: 0
wos_ls_enable_reviveonkill – Should downed players be revived if they can kill someone while downed? Default: 0
wos_ls_bleedoutspeed – What percentage of their downed health should downed players lose over time? Set to 0 to disable bleed out. Default: 0
wos_ls_cameramode – What camera mode should downed players be put in? Default: 1 0 = Cinematic First Person ( Camera Attached to Player Eyes ) 1 = Standard First Person ( Regular First Person ) 2 = Standard Third Person ( Completely Third Person )
Job Restrict Information:
If you would like to restrict reviving to a particular team, and have wos_ls_enable_jobrestrict set to 1, you must do either of the following in a SHARED file:
wOS.LastStand.JobTable[ TEAM_NAME ] = true
OR
wOS.LastStand:AddJob( TEAM_NAME )
Hooks
— Hook that is used to bypass incap damage. — Return true to FORCE them to incap — Return false to PREVENT them from incapping hook.Add( "wOS.LastStand.ShouldIncap", "HOOK_NAME_HERE", function( ply, dmg, dmginfo ) end ) PLY => Victim ( Entity ) DMG => Numerical Damage taken DMGINFO => DamageInfo object
Need live help using the addon? Want to keep up to date with wiltOS Technologies? Consider joining
our Community Discord![discord.gg]