Garry's Mod

Garry's Mod

27 个评价
[TTT] Heartbeat Monitor
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件标签: 快乐, 角色扮演
文件大小
发表于
26.193 KB
2020 年 5 月 11 日 上午 10:58
1 项改动说明 ( 查看 )

订阅以下载
[TTT] Heartbeat Monitor

在 beans? 的 2 个合集中
GMOD 4 big bois
201 件物品
beans?'s TTT addons
4 件物品
描述
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)

2 条留言
fskin 2021 年 7 月 7 日 上午 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 2021 年 4 月 29 日 下午 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.