Skip to content

gmod-workshop/ttt-martyrdom

Repository files navigation

ttt-martyrdom

Drop a live grenade upon death!

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.

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, feel free to contribute. The original addon was taken from Exho. I agree to remove this item if the Author or Valve wishes to.

Thanks for reading, enjoy and have fun!