Garry's Mod

Garry's Mod

392 ratings
Zombies keep headcrabs attached
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
1.220 KB
10 Nov, 2014 @ 3:23am
1 Change Note ( view )

Subscribe to download
Zombies keep headcrabs attached

Description
Zombies keep their headcrabs attached when they die.
Console command to toggle (starts turned on the first time you play with it):
headcrabs_disable - This will turn the addon on and zombies will keep their headcrabs attached.
headcrabs_enable - This will turn this addon off and headcrabs will drop as normal.
The setting is saved between sessions so you only need to run it once to turn it on or off until you run the command again.

This addon just makes zombies keep their headcrabs attached when they die. The poison zombie will still throw headcrabs, and anything else that creates headcrabs will still work as normal.

Note: The poison zombie will always drop 1 headcrab on death because it is a bit different, that headcrab is already alive and standing on the zombie. I'll keep trying to find the best way to fix this.

QUESTIONS
-----------------------------
Q: Can I still spawn headcrabs from the NPC menu?
A: Yes.

Q: How do I turn it off (make everything normal)?
A: Open your console (default key: ~) and enter the command 'headcrabs_enable'.

Q: How do I turn it back on?
A: Open your console (default key: ~) and enter the command 'headcrabs_disable'.

Q: How does this work (technically)?
A: The builtin zombies have code in them that detects if the damage they receive was greater than 25% of their health. If that happens then they keep their headcrabs attached. This addon detects when zombies take damage, and if the damage is going to kill them then it increases the amount of damage to trigger the builtin zombie code to keep the headcrab attached.

Q: this adon is dumb why did u maek it
A: Someone was asking for this type of addon so I made it since it was pretty easy. Hopefully they will enjoy it at least.
41 Comments
JayHog1992 10 Apr @ 4:37am 
Useful if you're playing those Resident Evil mods where the headcrabs leaving the zombies ruins the immersion.
That1Guy_Bruce 15 Mar @ 2:20pm 
will the headcrabs fall off as a ragdoll only if i shoot the zombie in the head?
Male_09 12 Mar @ 6:40pm 
THIS IS SO FUCKING USEFUL THANK YOU SO MUCH
√•/[UnShu]\•√ 23 Nov, 2024 @ 1:10pm 
hl2 version?
Mr. Companion Cube 13 Jun, 2024 @ 7:10pm 
Now i Can't see their Creepy Faces on Death Anymore! YAYAYAYAYAYYAYAYAYY!!!!!!!!
sigmaweusu 20 Apr, 2023 @ 5:36am 
this mod is compatbile with advanced headcrab remover
wolfee0507 16 May, 2022 @ 8:29pm 
without this addon for a couple years now i haven't been able to see headcrabs they are like invisible to me
Hans Ludwig 30 Jan, 2022 @ 5:43am 
WOW DUDE I HAVE BEEN LOOKIN FOR THIS FOR A LONG TIME THANK FOR ADDING THIS MATE :))))))!!!!
Whiterabbit  [author] 20 Nov, 2020 @ 3:13am 
Can you link which addon exactly please? I get a lot of results when I search for that