Garry's Mod

Garry's Mod

[TTT/2] Clairvoyancy [ITEM]
25 Comments
dhkatz  [author] 5 Nov, 2023 @ 1:14am 
No, this is not compatible with DarkRP. I don't ever plan to add compatibility with non-TTT gamemodes. Too much work for this one.
Zealot Xenon Zero 54 "zxz54" 5 May, 2022 @ 12:10pm 
А есть такой же для DarkRP ?
Malivil 8 Nov, 2020 @ 10:31am 
Great, thanks =)
dhkatz  [author] 8 Nov, 2020 @ 10:24am 
The github link has also been updated.
dhkatz  [author] 8 Nov, 2020 @ 10:18am 
The bug should be fixed now, thank you
Malivil 8 Nov, 2020 @ 5:24am 
This is erroring on non-TTT2 since the last update.

Also the GitHub link in the description is broken.

[[TTT/2] Clairvoyancy [ITEM]] gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk.lua:37: attempt to index a nil value
1. unknown - gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk.lua:37
dhkatz  [author] 7 Nov, 2020 @ 5:28pm 
Add a helpful timer to the TTT2 HUD icon to let you know how long you will see the outline of a corpse.

Added convars to allow the enabling/disabling of overwhelming and setting the overwhelm threshold. (Overwhelming is the feature where you take damage if too many people die within a short span.)
dhkatz  [author] 7 Nov, 2020 @ 4:37pm 
Added support for TTT2, including ULX menu support for easily configuring the addon.

Fixed a very longstanding bug regarding the outline timer.

If you encounter any new bugs let me know.
Marid 25 Aug, 2020 @ 7:43am 
This would be amazing as a Detective variant role
Yobbel 24 Feb, 2020 @ 10:31am 
works for me really well. thanks a lot!
Tim | Mineotopia 5 Mar, 2019 @ 12:20am 
Hello! I'm from the TTT2 team and would like to ask if you'd like to update your addon to be comatible with the new TTT2 interface. You can check Gamefreaks addons to tee what has to be changed.
Basically we've a new Perk-Sidebar which needs an icon with a transparent background and you have to set the material to TTT2 instead of drawing the icon by yourself. You can check if TTT2 is installed to ensure compatibilty with TTT and TTT2

TTT2: https://sp.zhabite.com/sharedfiles/filedetails/?id=1357204556
Kirbycake 2 Jun, 2018 @ 8:30am 
This Addon is amazing, I love it:luv:!
dhkatz  [author] 8 Mar, 2018 @ 2:50pm 
If you notice any other bugs let me know
Vick [Never AFK] Don't Kick :P 8 Mar, 2018 @ 2:48pm 
Thank you
dhkatz  [author] 8 Mar, 2018 @ 1:49pm 
Alright, after being away from Garry's Mod for many months I have come back for now. Found the cause of the bug (was calling GetDetective() on attacker but didn't actually make sure that attacker was a player).

This should fix the error @Vick, also @アヴァロン this should also fix the fall damage issue.
dhkatz  [author] 8 Mar, 2018 @ 12:55pm 
Will take a look into that error
Vick [Never AFK] Don't Kick :P 3 Dec, 2017 @ 12:16pm 
Lua Error: [ERROR] addons/****/gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk/init.lua:19: attempt to call method 'GetDetective' (a nil value)
dhkatz  [author] 27 Jun, 2017 @ 3:22pm 
Thank you, will look at it when I get home in a bit.
Avalon 27 Jun, 2017 @ 9:05am 
Just a heads-up, there is a problem with fall damage. When someone dies of fall damage you can't confirm the corpse properly. Also because of that when they use the chat as "dead" they actually use the chat for the players still alive.
dhkatz  [author] 8 Jun, 2017 @ 11:34pm 
Update went out: Fixed multi-hightlight issue and cleaned up some variable names. See the GitHub changelog [github.com] for more information.

Hope I didn't screw stuff too much. Please leave any issues below or in a bug report.
dhkatz  [author] 5 Jun, 2017 @ 8:55pm 
Thank you :)
Nosrac24 5 Jun, 2017 @ 6:22pm 
+You're pretty awesome, and yet you keep doing great work, nice job!
dhkatz  [author] 5 Jun, 2017 @ 4:32pm 
I haven't run into any issues (and I've tested with a lot of addons), but I'll change it anyways. Thanks.
Hagen 5 Jun, 2017 @ 12:18pm 
Since the last update there is a new function to create Equipment IDs without conflicts. Your function wont work, because there could be perks that initialize after your Perk. https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/terrortown/gamemode/equip_items_shd.lua#L120
dhkatz  [author] 5 Jun, 2017 @ 12:28am 
I consider this addon to be in beta as it has not had as much play testing as I'd like. Please report any bugs you may discover (see discussions).