View Single Post
Plugin Info:     Modification:          Category:         
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 03-13-2021 , 03:17   Satchel1.9 | tripmine & snark disarmament
Reply With Quote #1

Draw knife when squatting. Touch the mine not the line!


Polishes off the infamous snarks same way.
PHP Code:
 /*
  * 
  * Thanks to Destroyable Satchel Charge by Anggara_nothing for some code to jump start project.
  * 
  * This is a replacement upgrade with new author and new name as idea was totally different:
  * 
  * 
  *  * DISARM * 
  * 
  * Appreciate the destroyable aspect after being trapped in a teleport once. That's suicide though.
  * 
  * This will let you dismarm and otherwise never pin 'players' anymore who are equipped with a knife.
  * 
  * Satchels can still pin objects.
  * 
  * Earlier on I had some of that nonsense fixed simply by making satchels solid_not.
  * Test it. Send feedback. Even if I am not around, this is easy to maintain.
  * 
  */ 
If you are lucky enough to have a pipewrench ducking is NOT required to disarm.
Spoiler



CVARS
hl_satchel 0|1
hl_satchel_health #

Satchel CVAR, hl_satchel, is 0 by default in case you use the original satchel plugin already and just want disarmament capabilities.



Most current version on Github.
Attached Files
File Type: sma Get Plugin or Get Source (satchel1.3_tripmine_disarmament.sma - 137 views - 3.5 KB)
__________________

Last edited by DJEarthQuake; 01-12-2024 at 22:36. Reason: Trim knife code back to just knife for Op4.
DJEarthQuake is offline