Garry's Mod

Garry's Mod

56 ratings
[TTT2] Advanced Spectator [FEATURE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
28.042 KB
7 Jul, 2019 @ 5:15am
8 Jan @ 6:00am
21 Change Notes ( view )

Subscribe to download
[TTT2] Advanced Spectator [FEATURE]

In 1 collection by Tim | Mineotopia
[OFFICIAL] TTT2 Basics - Effects
9 items
Description
TTT2 Advanced Spectator is an addon that lets dead players see more information about those being alive.

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/TTT-2/ttt2-advanced_spectator (report issues here)


This addon is supported by TTT2 Octagonal HUD.


TTT2 Advanced Spectator is a fairly simple addon that adds two features. An UI element that displays information about the player you are currently spectating and a wallhack to see all dead players on the map. Additionally admins can enable a toggleable wallhack which is useful for debug purposes. The wallhack has to be bound in the bindings menu prior to using it.

All features are configurable with convars and TTT2 ULX is supported. You need TTT2 to use this addon.




All convars can be set via ULX. But if you prefer to do it the classic way, here is a list of them:

# defines if the role of the spectated player should be visible in the HUD ttt_aspectator_display_role[0/1] (default: 1) # defines if only admin players are able to see this element ttt_aspectator_admin_only[0/1] (default: 0) # enables the toggleable admin wallhack ttt_aspectator_admin_wallhack[0/1] (default: 0) # defines if the wallhack should be enabled ttt_aspectator_enable_wallhack[0/1] (default: 1) # defines if wallhack should include role colors ttt_aspectator_display_wallhack_role[0/1] (default: 1)

(Hint: the wallhack convars will only show their effect when the next round starts.)

--
Credits:
Mineotopia: creator of this role addon
Alf21: creator of the wallhack stencil effect
10 Comments
Tim | Mineotopia  [author] 17 Oct, 2020 @ 4:48am 
This addon can only hide the entity added by this addon (role etc)
NoColorFrog 17 Oct, 2020 @ 4:05am 
but this addon can also hide player's indentity..ok, thx all the same
Tim | Mineotopia  [author] 16 Oct, 2020 @ 10:46am 
the player nickname is a part of TTT, not of this addon
NoColorFrog 16 Oct, 2020 @ 12:10am 
what should i do to make spectator not seeing player's nickname
Tim | Mineotopia  [author] 22 Jul, 2020 @ 1:23am 
If the server doesn't save the values, you either have them in the server.cfg or you don't quit your server properly. Use "quit" to exit the server. Killing the process is bad.

And I don't know. This is gmod/steam related. I think the name is a really long number and it is stored somewhere in the appcache. See the gmod update news from 2019.
Bowzyツ 21 Jul, 2020 @ 6:10pm 
how is the .gma file called? i can't locate it. therefore cant change values since my server wont save ULX changes with addons after a server restart.
Tim | Mineotopia  [author] 13 Apr, 2020 @ 4:44am 
hmm, I see your point. But for now just disable the roleinfo.
FloTurtle 13 Apr, 2020 @ 4:33am 
Well on my server traitors can only respawn if another traitor revives them via defibrillator which on my server happens rather very rarely. (and they already know their old traitor companions)

The main problem are roles like the pharaoh who shouldn't get to know everyone's roles in the brief time they are spectating before they respawn ...
Tim | Mineotopia  [author] 13 Apr, 2020 @ 4:04am 
you can disable the roleinfo completely
wouldn't it be unfair for only traitors to see the roles?
FloTurtle 12 Apr, 2020 @ 4:49pm 
An option to only have certain roles like traitors have wallhacks and see the roles of other players would be pretty nice

For example pharaohs can otherwise take a peek at all the other players and their roles before they respawn