Garry's Mod

Garry's Mod

27 hodnocení
[TTT] Heartbeat Monitor
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Tags: Fun, Roleplay
Velikost souboru
Přidáno
26.193 KB
11. kvě. 2020 v 10.58
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
[TTT] Heartbeat Monitor

V 2 kolekcích od uživatele beans?
GMOD 4 big bois
201 položek
beans?'s TTT addons
4 položek
Popis
Note: This addon only works with trouble in terrorist town (TTT).

Description
This item is purchasable by detectives from the buy menu. Upon your untimely death, it will send out an alert to all players notifying them of your passing. They'll receive a marker on their HUD pinpointing the location of your demise and the time since the event occurred, helping to stop the killer from making a quick exit.

ConVars
ttt_heartbeatmonitor_cleartime 90 (length of time that alerts last for before disappearing)
ttt_heartbeatmonitor_alertsize 19 (size of the alert on the player's HUD)

Acknowledgements
This was so much more work than I was expecting for my second addon and at the start a lot of it was copy and pasting. I drew on the perk idea and code from Zaratusa's Juggernaut Suit and Hermes Boots. I also drew a massive amount from the native TTT code for calling a detective to a body and the radar.

Check out my other addons.

If you have any comments, improvements or bugs that need fixed let me know!
(also please rate up if you like it <3)

Počet komentářů: 2
fskin 7. čvc. 2021 v 6.56 
Same, it's broken.

[[TTT] Heartbeat Monitor] gamemodes/terrortown/entities/entities/ttt_heartbeat_monitor/cl_init.lua:62: attempt to call global 'IsOffScreen' (a nil value)
1. fn - gamemodes/terrortown/entities/entities/ttt_heartbeat_monitor/cl_init.lua:62
2. unknown - lua/ulib/shared/hook.lua:109
Captain Steely 29. dub. 2021 v 12.42 
Hey not sure if anyone else has had this issue, but the addon started causing scripting errors and hides everyone's HUD when the monitor goes off.