Garry's Mod

Garry's Mod

Not enough ratings
TTT2 Traitor Tester Disguiser
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Realism
File Size
Posted
Updated
11.025 KB
9 Aug, 2021 @ 4:28am
13 Oct, 2021 @ 1:12am
3 Change Notes ( view )

Subscribe to download
TTT2 Traitor Tester Disguiser

In 1 collection by ZenBreaker
TTT 2.0 Sven Traitor Gadgets
65 items
Description
(Item) Traitor Test Disguiser

I present to you the possibility to disguise as innocent for Traitor Testers for TTT2. Enjoy!
This Addon only works for the "Trouble in Terrorist Town 2"-Gamemode as it needs its modified hooks.

Features:
The Disguiser lets you change your tested role, when you press the bound key.
It switches from your role to the innocent and vice versa.
As it is an item you automatically equip it, after you bought it.

Default Key: N

[Future Features:]
Change the role of other players, such that they become traitors in front of a tester.
Convar to setup, that every player automatically gets the disguiser for free in case you wanna make all testers useless.

CAUTION:
If you are disguised as innocent you can't enter any traitor rooms. Some may even kill you if you try to enter disguised.

Credits:
Part of the icons are made by Freepik[www.freepik.com] and taken from https://www.flaticon.com/

Disclaimer:
If you want to use the code, feel free to do so, but please credit this addon or my Github page. Thanks :)

Source Code/Bug reports/Feature Requests:
I am open to feature requests and bug reports on my Github Page[github.com]:
2 Comments
ZenBreaker  [author] 13 Oct, 2021 @ 1:14am 
Thanks, good catch <3 fixed it
Dund ist im Mund 5 Oct, 2021 @ 6:58pm 
Yooo! In the line 82, where the chatmessage would be send, with the key the action is bound to. There's an error appearing. Seems like you set the wrong bindname, I changed it to "ttt2_role_check_disguiser_toggle" instead of "ttt2_role_check_toggle" and it worked fine.

Kinda annoying to see errors in my consolee :missing:
anyways, awesome Addon, it's probably the best I've got on my server for now x)

btw. I'm an absolutely noob so I hope it's even correct what I did lol