Garry's Mod
Оценок: 979
[TTT/2] Jihad Bomb (Charred Corpse)
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Метки дополнений: Развлечение, Реализм
Размер файла
Добавлен
Изменён
1.964 MB
28 апр. 2014 г. в 7:11
7 июл. 2020 г. в 3:32
Обновлений: 21 (просмотреть)

Подпишитесь, чтобы загрузить
[TTT/2] Jihad Bomb (Charred Corpse)

В 1 коллекции, созданной Zaratusa
[TTT/2] Equipment Collection
Предметов: 22
Описание
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
Pale 18 апр. 2021 г. в 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 окт. 2020 г. в 9:28 
Is it possible to disable the charred corpse functionality?
Zybport | NewLife TTT 22 сен. 2020 г. в 23:32 
love it, works for a guy who knows how to install it :)
Zaratusa  [создатель] 7 июл. 2020 г. в 2:22 
I didn't change any file paths oO
Duck. 6 июл. 2020 г. в 18:29 
I must say I highly disagree with you changing file paths, wrecked our shit on the server
Zaratusa  [создатель] 1 июл. 2020 г. в 3:40 
I've added a variable to change the jihad sound
James Bondage 7 сен. 2016 г. в 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  [создатель] 23 мая. 2016 г. в 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 мая. 2016 г. в 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  [создатель] 21 мая. 2016 г. в 15:55 
Now you can configure whether it is buyable, in loadout or even both.