Garry's Mod

Garry's Mod

97 ratings
TTT Headcrab Grenade
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
10.104 KB
20 Feb, 2018 @ 11:48am
21 Feb, 2018 @ 4:36pm
5 Change Notes ( view )

Subscribe to download
TTT Headcrab Grenade

In 1 collection by Orcus
Orcus TTT Client Addons
86 items
Description
This addon adds a grenade which spawns headcrabs upon the explosion. Only usable in TTT.

Spawned headcrabs are normal NPCs from Half Life 2, therefore this addon is compatible with other addons modifying headcrabs, for example Headcrabs-Plus.

This addon is based on TTT Pocket Headcrab, I mostly fixed several bugs and crashes and added some new functionality.

Convars
headcrab_grenade_slot - Headcrab grenade slot, using normal 1-based indexing.
headcrab_grenade_canbuy - Sets who can buy the headcrab grenade; 0 for Detective, 1 for Traitor, or 2 for both.
headcrab_grenade_limitedstock - Sets whether the headcrab grenade is in 'limited stock', i.e., it can only be purchased once per round.
headcrab_grenade_count - The number of headcrabs spawn.
headcrab_grenade_die - Kill the the thrower of the grenade after it detonates.
headcrab_grenade_dmg - The damage the grenade projectile does when it detonates. 0 disables the damage.
headcrab_grenade_dmgradius - The radius that grenade projectile will do damage in when it detonates.
headcrab_grenade_spawnradius - The radius in which the headcrabs will be spawn.
headcrab_grenade_health - The HP of the spawned headcrabs.
headcrab_grenade_crab - The type of spawned headcrab; 0 for random, 1 for normal, 2 for poision, or 3 for fast.
9 Comments
Craft_Pig 7 Jan, 2021 @ 12:48pm 
WHY NOT SANDBOX TOO
Silver 22 Apr, 2020 @ 5:25am 
where in the name of god do i find headcrabs-plus?
Lucky One 10 Jul, 2018 @ 1:07pm 
I've tried nearly everything, but I can't change the amount of headcreabs that spawn.. :/
๖ۣۜSonny Black™ 26 Apr, 2018 @ 10:18am 
can not change the number of headcrabs, it always stays only with one :(
Unowninator 24 Feb, 2018 @ 11:17pm 
Posting to get notified for sandbox version
Azvalus 22 Feb, 2018 @ 5:11pm 
ok
Orcus  [author] 22 Feb, 2018 @ 3:20pm 
Hey, thanks :) Sandbox version is on my todo list, but I can't give any ETA. It's not that easy because I base this weapon on weapon_tttbasegrenade, which is part of TTT and includes a lot of grenade related code, but it is not available in the sandbox. I could probably strip that code and cut out everything TTT related for the sandbox version. I'll look into it when I have some more free time.
Roshiro 22 Feb, 2018 @ 12:44pm 
Ever thinking of making a sandbox version? This looks amazing!
Azvalus 20 Feb, 2018 @ 4:13pm 
make a sandbox version