Garry's Mod

Garry's Mod

[TTT/2] Clairvoyancy [ITEM]
26 条留言
Voxel | Julia 6 月 21 日 下午 1:01 
can you give the item a red background in the traitor shop (that usually indicates passive items that dont take up an inventory slot, which this is, if i remember correctly)
dhkatz  [作者] 2023 年 11 月 5 日 上午 1:14 
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" 2022 年 5 月 5 日 下午 12:10 
А есть такой же для DarkRP ?
Malivil 2020 年 11 月 8 日 上午 10:31 
Great, thanks =)
dhkatz  [作者] 2020 年 11 月 8 日 上午 10:24 
The github link has also been updated.
dhkatz  [作者] 2020 年 11 月 8 日 上午 10:18 
The bug should be fixed now, thank you
Malivil 2020 年 11 月 8 日 上午 5:24 
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  [作者] 2020 年 11 月 7 日 下午 5:28 
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  [作者] 2020 年 11 月 7 日 下午 4:37 
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 2020 年 8 月 25 日 上午 7:43 
This would be amazing as a Detective variant role
Yobbel 2020 年 2 月 24 日 上午 10:31 
works for me really well. thanks a lot!
Tim | Mineotopia 2019 年 3 月 5 日 上午 12:20 
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1357204556
Kirbycake 2018 年 6 月 2 日 上午 8:30 
This Addon is amazing, I love it:luv:!
dhkatz  [作者] 2018 年 3 月 8 日 下午 2:50 
If you notice any other bugs let me know
Vick [Never AFK] Don't Kick :P 2018 年 3 月 8 日 下午 2:48 
Thank you
dhkatz  [作者] 2018 年 3 月 8 日 下午 1:49 
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  [作者] 2018 年 3 月 8 日 下午 12:55 
Will take a look into that error
Vick [Never AFK] Don't Kick :P 2017 年 12 月 3 日 下午 12:16 
Lua Error: [ERROR] addons/****/gamemodes/terrortown/entities/entities/ttt_clairvoyancy_perk/init.lua:19: attempt to call method 'GetDetective' (a nil value)
dhkatz  [作者] 2017 年 6 月 27 日 下午 3:22 
Thank you, will look at it when I get home in a bit.
Avalon 2017 年 6 月 27 日 上午 9:05 
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  [作者] 2017 年 6 月 8 日 下午 11:34 
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  [作者] 2017 年 6 月 5 日 下午 8:55 
Thank you :)
Nosrac24 2017 年 6 月 5 日 下午 6:22 
+You're pretty awesome, and yet you keep doing great work, nice job!
dhkatz  [作者] 2017 年 6 月 5 日 下午 4:32 
I haven't run into any issues (and I've tested with a lot of addons), but I'll change it anyways. Thanks.
Hagen 2017 年 6 月 5 日 下午 12:18 
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  [作者] 2017 年 6 月 5 日 上午 12:28 
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).