Garry's Mod

Garry's Mod

46 次評價
[TTT/2] Martyrdom [ITEM]
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Tags: Cartoon, Fun
檔案大小
發佈於
更新時間
387.168 KB
2018 年 3 月 8 日 下午 3:33
2020 年 11 月 8 日 下午 1:32
3 項更新註記 (檢視)

訂閱以下載
[TTT/2] Martyrdom [ITEM]

描述
NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "TTT2" gamemodes.

Features
This equipment is available for both the Traitors and Detectives in the Equipment menu. When somebody dies, the players who bought the Martyrdom perk will drop a live grenade on their body.


After you've bought the item in the shop, an icon shows up on the left hand side of your screen to indicate, that the perk is active.

Includes an individual .vmt and .vtf shop icon.

Compatibility
This addon is compatible with all the other perk addons by people such as Gamefreak and Zaratusa

ConVars
- ttt_martyrdom_detective (def: 1) - Should Detectives be able to buy the Martyrdom Perk?
- ttt_martyrdom_traitor (def: 1) - Should Traitors be able to buy the Martyrdom Perk?
- ttt_martyrdom_detective_loadout (def: 0) - Should Detectives have the Martyrdom Perk in their loadout?
- ttt_martyrdom_traitor_loadout (def: 0) - Should Traitors have the Martyrdom Perk in their loadout?

Server Info
Add it to your server by following this guide: http://wiki.garrysmod.com/page/Server/Workshop
You can add "martyrdom_perk_name" and "martyrdom_perk_desc" to your translation file, to translate this addon.

Source
The whole source code can be found on GitHub[github.com], feel free to contribute. The original addon was taken from Exho (but modified extensively!). I agree to remove this item if the Author or Valve wishes to.

Thanks for reading, enjoy and have fun!
3 則留言
Voxel | Julia 2024 年 9 月 15 日 下午 1:07 
Could you update the icon? Passive stuff usually has a red background
dhkatz  [作者] 2020 年 11 月 8 日 下午 12:16 
The source code is also now available on GitHub under the MIT license.

https://github.com/gmod-workshop/ttt-martyrdom
dhkatz  [作者] 2020 年 11 月 8 日 下午 12:15 
This addon has been updated to support TTT2. The longstanding bug with the clairvoyancy addon has also been fixed.

I've tested on both TTT and TTT2 and seems to be fully working. Thanks and have fun!