Garry's Mod

Garry's Mod

266 ratings
Advanced Headcrab Remover
Type: Tool, Addon
Tags: Realism
File Size
18.637 MB
Apr 5, 2017 @ 4:11pm
Mar 17 @ 6:16pm
5 Change Notes ( view )

Subscribe to download
Advanced Headcrab Remover

This addon allows you to completely remove headcrabs from the game. There is another headcrab remover in the workshop, but it isn't what I was looking for, so I decided to make my own. Tell me if you find any problems.

- Everything is done with LUA. This doesn't simply make textures invisible.
- You can toggle the mod in game with a CVAR.
- You can disable Fast Zombie leap attack and Zombine grenade attack
- You can make Zombines always run
- Shooting zombies in the head won't make floating bullet wounds.
- Headcrabs don't cast shadows.
- Poison zombies won't try to throw headcrabs.
- Headcrabs won't appear for half a second when a zombie dies.
- Zombie models can be randomized via bonemerge

Console Commands:
ahr_enabled [1/0]: Enables the addon (default 0).
ahr_disable_leap [1/0]: Disables Fast Zombie leap attack (default 0).
ahr_disable_grenade [1/0]: Disables Zombine grenade attack (default 0).
ahr_always_run [1/0]: Makes Zombines always run (default 0).
ahr_enable_reskin [1/0]: Enables skin randomizer (default 0).
ahr_reloadsettings: Reloads the skin randomizer model list.

Skin randomizer:
You can now enable the skin randomizer mode. While this is active, any vainilla zombie will have it's model swapped with a random one.
The available models can be customized, you just have to edit the lists located in "garrysmod/data/advanced_headcrab_remover". There are four files there, one for each type of zombie. They contain a list of paths to the models. Any valve biped model should work, animations don't matter because models are applied via bonemerge.
By default, the mod comes with 10 zombie models from SMod Outbreak, configured for the zombie, fast zombie and zombine. They work for the poison zombie too, but are disabled by default, because most models look deformed on poison zombie animations.

Big thanks to whoever made the SMod Outbreak models. I couldn't find the names of their creators, but all those models are apparently free to be used anywhere.
< >
Koksu120 Jul 6 @ 10:13pm 
will you add option to change the blood color to red?
Rex The Impaler Jun 21 @ 3:50pm 
honestly this addon is a requirement for me to play gmod now, its outstanding. will you add an option to disable the green/yellow blood that comes out of vanilla headcrab zombies?
Max Shadow  [author] Jun 4 @ 2:12pm 
Probably not
McReally Jun 4 @ 10:44am 
Is this compatible with Pill Packs?
The Frankster Apr 5 @ 9:06pm 
this is cool
That Annoying Guide Mar 17 @ 6:28pm 
It only happens with the skin randomizer on too
That Annoying Guide Mar 17 @ 6:27pm 
Alright I tried it again corpse still stays and I have found no errors. They work fine just the corpse don't seem to clean up like they should.
Max Shadow  [author] Mar 17 @ 6:17pm 
I just pushed a small update:
- Removed debug messages spamming the console
- Changed the options section name from "AHK" to "Adv. Headcrab Remover"
That Annoying Guide Mar 17 @ 6:17pm 
Alright I'll go try it again
Max Shadow  [author] Mar 17 @ 6:08pm 
I just tried in my PC and it works fine. Can you tell me if there's any error in the console? Ignore the debug messages spam, I forgot to remove those. I'll fix that now.