Garry's Mod

Garry's Mod

Ocen: 979
[TTT/2] Jihad Bomb (Charred Corpse)
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Content Type: Addon
Addon Tags: Fun, Realism
Rozmiar pliku
Zamieszczono
Zaktualizowano
1.964 MB
28 kwietnia 2014 o 7:11
7 lipca 2020 o 3:32
Listy zmian: 21 ( zobacz )

Zasubskrybuj, aby pobrać
[TTT/2] Jihad Bomb (Charred Corpse)

W 1 kolekcji stworzonej przez Zaratusa
[TTT/2] Equipment Collection
Przedmioty: 22
Opis
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!
Komentarzy: 16
Pale 18 kwietnia 2021 o 10:49 
Hi! how can i change the sound? If I change it in the cfg with the convar, it has no sound.
Ostross 30 października 2020 o 9:28 
Is it possible to disable the charred corpse functionality?
Zybport | NewLife TTT 22 września 2020 o 23:32 
love it, works for a guy who knows how to install it :)
Zaratusa  [autor] 7 lipca 2020 o 2:22 
I didn't change any file paths oO
Duck. 6 lipca 2020 o 18:29 
I must say I highly disagree with you changing file paths, wrecked our shit on the server
Zaratusa  [autor] 1 lipca 2020 o 3:40 
I've added a variable to change the jihad sound
James Bondage 7 września 2016 o 10:30 
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  [autor] 23 maja 2016 o 13:55 
You have to set to ttt_jihad_inloadout 1 not to (def: 1), if you did that wrong. The ConVars definitely work.
Yaycats 23 maja 2016 o 12:37 
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  [autor] 21 maja 2016 o 15:55 
Now you can configure whether it is buyable, in loadout or even both.