Garry's Mod

Garry's Mod

971 ratings
[TTT/2] Jihad Bomb (Charred Corpse)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Tags: Fun, Realism
File Size
Posted
Updated
1.964 MB
28 Apr, 2014 @ 7:11am
7 Jul, 2020 @ 3:32am
21 Change Notes ( view )

Subscribe to download
[TTT/2] Jihad Bomb (Charred Corpse)

In 1 collection by Zaratusa
[TTT/2] Equipment Collection
22 items
Description
NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "Trouble in Terrorist Town 2" - Gamemodes. This weapon will not show up in sandbox mode.

Features
Every Traitor can buy a Jihad Bomb once per round and/or spawns with it (configurable via ConVar). Press the left mouse button and it goes BOOOM! After the explosion your body will be turned into a random charred corpse and burn, after 7.5 seconds it disappears.

Working view and world model! Also includes an individual .vmt and .vtf weapon icon.



ConVars
# Should the Jihad Bomb be buyable for Traitors? ttt_jihad_buyable [0/1] (default: 1) # Should the Jihad Bomb be in the loadout of the Traitors? ttt_jihad_loadout [0/1] (default: 0) # The sound to play when starting the Jihab Bomb. ttt_jihad_sound (default: "weapons/jihad_bomb/jihad.wav")

Note: You have to restart your map/server after changing one of these values to take effect.

Server Infos
Add it to your server by following this guide: Workshop for Dedicated Servers[wiki.facepunch.com]
Use Automatic Workshop Download so all client automatically download the required content.

Translation
The available translation keys are "jihad_bomb_name" and "jihad_bomb_desc".
See the official Translation Documentation[www.troubleinterroristtown.com].

Source
The whole source code can be found on GitHub[github.com], feel free to contribute.
The Model was made by pr0d!gy (no link sorry). I agree to remove this item if the Author or Valve wishes to. Special thanks to Killberty for the world model fix info.

Thanks for reading, enjoy and have fun!
16 Comments
Pale 18 Apr, 2021 @ 10:49am 
Hi! how can i change the sound? If I change it in the cfg with the convar, it has no sound.
Ostross 30 Oct, 2020 @ 9:28am 
Is it possible to disable the charred corpse functionality?
Zybport | NewLife TTT 22 Sep, 2020 @ 11:32pm 
love it, works for a guy who knows how to install it :)
Zaratusa  [author] 7 Jul, 2020 @ 2:22am 
I didn't change any file paths oO
Duck. 6 Jul, 2020 @ 6:29pm 
I must say I highly disagree with you changing file paths, wrecked our shit on the server
Zaratusa  [author] 1 Jul, 2020 @ 3:40am 
I've added a variable to change the jihad sound
James Bondage 7 Sep, 2016 @ 10:30am 
It is not working on me aswell. It is in loadout no matter if i type 1 or 0.
Also how is it possible to change the sounds of the lululu sound? I replaced the old "jihad.wav" with the new one but it still plays the old one when I use it :(
Zaratusa  [author] 23 May, 2016 @ 1:55pm 
You have to set to ttt_jihad_inloadout 1 not to (def: 1), if you did that wrong. The ConVars definitely work.
Yaycats 23 May, 2016 @ 12:37pm 
We've been trying to configure it to be in loadout rather than buyable, but we haven't been able to get it to work, we put ttt_jihad_buyable (def: 0) and ttt_jihad_inloadout (def: 1) but it just made it unbuyable without making it appear when the traitor spawns, any ideas?
Zaratusa  [author] 21 May, 2016 @ 3:55pm 
Now you can configure whether it is buyable, in loadout or even both.