Garry's Mod

Garry's Mod

53 ratings
TTT Dead Man's Switch Bomb
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
File Size
Posted
Updated
548.578 KB
22 Jun, 2017 @ 2:51pm
18 Sep, 2017 @ 4:55pm
6 Change Notes ( view )

Subscribe to download
TTT Dead Man's Switch Bomb

In 2 collections by TTF
TTF server
251 items
Reduced content collectin
138 items
Description
This is a traitor weapon that explodes when you die or let go of the switch.
Left click (or primary attack) primes the bomb.
Dying while the bomb is primed causes an immediate large explosion (2x radius of incendiary bomb's initial explosion)
Holstering a primed bomb causes bomb to spark and explode with less damage and a smaller radius after a short time.
Dropping a primed bomb does the same as holstering, but the user will only die if they are near the dropped bomb when it explodes.

You'll need CSS textures installed unless you're ok with it having black and pink textures
10 Comments
dabing kingdom 27 Aug, 2019 @ 5:43pm 
Why
DaVid | 苔蘚 31 May, 2019 @ 1:18pm 
finaly found it... allah i needed it... dont ask why
TTF  [author] 8 Jul, 2018 @ 2:19pm 
you need CSS textures. I'd link you to a video to explain how to install them but steam is blocking the link so google it i guess.
Adrian 8 Jul, 2018 @ 12:06am 
its black and pink what do i need?
Drake Wyrm Silverwing 28 Jun, 2017 @ 2:57pm 
ooh i realy like this idea!:floweyevil:
NecroDamer(Praise the Hive) 28 Jun, 2017 @ 12:42pm 
can you make this work for dark rp and sandbox ?
TTF  [author] 25 Jun, 2017 @ 1:38pm 
wow i didn't even think about that. i feel foolish. this is my first script so i'm still trying to become familiar with gmod's code
Hagen 25 Jun, 2017 @ 9:52am 
SetNWEntity would have worked, and its not documented due to being a part of TTT, you can try for yourself or look in the code on github.
TTF  [author] 25 Jun, 2017 @ 9:33am 
Thank you! I can't seem to fine the PreDrop hook on the wiki. Is it not documented or is it part of an addon? And yes, the game seems to read the entity's identification as an entity rather than a string, which is lucky for me because i couldn't think of a simpler way to identify the owner after self.Owner becomes null
Hagen 25 Jun, 2017 @ 2:12am 
Actually really good code and comments! I like it :D But just a quick note, in TTT there is SWEP:PreDrop() which gets called a little before the Weapon gets dropped. And is this whole NWString thing working? Because I never knew you could send Entites with a string o: