Garry's Mod
46 lượt đánh giá
[TTT/2] Martyrdom [ITEM]
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Tags: Cartoon, Fun
Kích cỡ file
Đã đăng
Đã cập nhật
387.168 KB
8 Thg03, 2018 @ 3:33pm
8 Thg11, 2020 @ 1:32pm
3 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
[TTT/2] Martyrdom [ITEM]

Mô tả
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 bình luận
Voxel | Julia 15 Thg09, 2024 @ 1:07pm 
Could you update the icon? Passive stuff usually has a red background
dhkatz  [tác giả] 8 Thg11, 2020 @ 12:16pm 
The source code is also now available on GitHub under the MIT license.

https://github.com/gmod-workshop/ttt-martyrdom
dhkatz  [tác giả] 8 Thg11, 2020 @ 12:15pm 
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!