Garry's Mod

Garry's Mod

373 ratings
TTT Advanced Disguiser
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
File Size
Posted
Updated
191.404 KB
28 Jan, 2016 @ 3:49pm
11 Apr, 2017 @ 10:26am
6 Change Notes ( view )

Subscribe to download
TTT Advanced Disguiser

In 1 collection by ✪ Killberty
TTT Server
44 items
Description
This is the Advanced Disguiser for TTT.

Contents
  • Advanced Disguiser (Traitor)
    Steal player's identity.

ConVars
  • ttt_advdisguiser_disable_living_players (def. 0): Should the Advanced Disguiser be disabled for living players?
  • ttt_advdisguiser_disable_detectives (def. 0): Should the Advanced Disguiser be disabled on detectives?
  • ttt_advdisguiser_force_reveal_before_steal (def. 0): Should the Advanced Disguiser only be usable when you have your original identity?
  • ttt_advdisguiser_inloadout (def. 0): Should the Advanced Disguiser be in the loadout for Traitors?
  • ttt_advdisguiser_autoequip(def. 0): Should a stolen identity be auto-equipped?

Known Bugs
  • None
  • Found a bug? Let me know in the comments!

Coming Soon™
  • Nothing planned
  • Want a feature? Let me know in the comments!

Source
Original code is not by me. I just tweaked and extended the code to my liking.
Viewmodels are by me.

Donations
Buy me a beer:
PayPal[www.paypal.com]
Steam Items
13 Comments
(˶>ᆺ<˶)ᵐᵉᵒʷˎˊ˗ 27 Nov, 2023 @ 4:32am 
seems to work by using
function SetPlayermodelSelectorForce(value)
RunConsoleCommand("sv_playermodel_selector_force", value)
end

and dynamically disabling and enabling it when we pickup and remove the weapon
running a console command feels like it's definitely overcomplicating the issue but it seems to work so i dont care
(˶>ᆺ<˶)ᵐᵉᵒʷˎˊ˗ 27 Nov, 2023 @ 3:45am 
Tygron is fucking crazy holy shit i have not been able to figure out why that wasnt working for ages holy shit im free
Ziutek 29 Aug, 2023 @ 7:53am 
can you make it for sandbox?
Poxonjr 30 Mar, 2022 @ 10:23am 
Is the marking system suppose to work like that when I take someone else's identity?
If you mark the person with it on as kill.
the actual person is marked too.
Tygron 27 Mar, 2021 @ 4:18pm 
So it sorta works. I use the Enhanced PlayerModel Selector mod ID: 504945881
When the enforce playermodel is selected your model will not change but your name of course will. When it isn't toggled it works as expected. Unfortunately having it off defaults your player model in game to the default one as well.


Not sure if there's much that can be done about it, just wanted to point that out.

Also with the 2045444087 version of Custom Roles for TTT, some UI elements have disappeared since installing this. Not entirely sure this is what caused that however, i'll get back to you on that.
Abu 25 Feb, 2021 @ 8:43am 
Where is it in the (Q) spawn menu?
✪ Killberty  [author] 7 Sep, 2019 @ 6:49am 
It should, but i am not sure.
Niara 27 Aug, 2019 @ 12:35pm 
This addon steals the skin too?
✪ Killberty  [author] 6 Feb, 2017 @ 12:55pm 
Disguising and undisguising should show in the built-in DamageLog.
Poxonjr 5 Feb, 2017 @ 6:14am 
Yeah I agree with damagelogs.