Garry's Mod

Garry's Mod

Ocen: 27
[TTT] Heartbeat Monitor
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Content Type: Addon
Addon Tags: Fun, Roleplay
Rozmiar pliku
Zamieszczono
26.193 KB
11 maja 2020 o 10:58
1 lista zmian ( zobacz )

Zasubskrybuj, aby pobrać
[TTT] Heartbeat Monitor

W 2 kolekcjach stworzonych przez beans?
GMOD 4 big bois
Przedmioty: 201
beans?'s TTT addons
Przedmioty: 4
Opis
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)

Komentarzy: 2
fskin 7 lipca 2021 o 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 kwietnia 2021 o 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.