Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Mimic and Doppelganger [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
737.170 KB
28 Dec, 2020 @ 10:18am
1 Feb, 2022 @ 7:59am
18 Change Notes ( view )

Subscribe to download
[TTT2] Mimic and Doppelganger [ROLE]

In 3 collections by Wasted
TTT2 Dingus Server
587 items
Dingus Playerside
326 items
Dingode TTT2
312 items
Description
A shapeless being lurking, ready to hide among the ignorant.

Requires TTT2 in order to use this role. Additionally, I recommend you use ULX for TTT2, as it makes configuration so much easier. A list of all currently available roles can be found here

Source: https://github.com/ZacharyHinds/ttt2-role-dop





This addon adds 2 new, similar roles: The Mimic and the Doppelganger.

Both the Mimic and the Doppelganger are able to steal the role of another player during the round. They do this by going up to the player and using the Interact key ("E" by default). After a short, configurable delay, they will change their role into whatever role the targeted player was.

The difference between the Mimic and the Doppelganger is what team their on. The Mimic has no team until they change roles, joining the team of their new role (Innocent for an Innocent roles, Traitor for Traitor roles, etc.). The Doppelganger, on the other hand, is a neutral killer role. They do not join the team of their new role, but instead remain on their own team with the appearance and function of their stolen role.





Normal Role Convars (also found in ULX):
# enable or disable this role ttt_mimic_enabled [0/1] (default: 1) ttt_doppelganger_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_mimic_pct [0.0..1.0] (default 0.15) ttt_doppelganger_pct [0.0..1.0] (default 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_mimic_max [0.0..n] (default: 1) ttt_doppelganger_max [0.0..n] (default: 1) # the probility each round of this role being spawned at all ttt_mimic_random [0..100] (default: 33) ttt_doppelganger_random [0..100] (default: 33) # the amount of players needed for this role to spawn ttt_mimic_min_players: [0..n] (default: 6) ttt_doppelganger_min_players: [0..n] (default: 6)

Mimic/Doppelganger Convars (also found in ULX):
# does the mimic/doppelganger steal the role (instead of just copying it)? ttt2_dop_steal_role [0 or 1] (default: 1) ttt2_mim_steal_role [0 or 1] (default: 1) # who is alerted when the mimic/doppelganger steals the role (0-no one, 1-victim, 2-everyone)? ttt2_dop_declare_mode [0 or 1 or 2] (default: 1) # how long it takes to steal/transform into new role ttt2_dop_steal_delay [0..n] (default: 2) # what role replaces the victim's stolen role (0-innocent, 1-amnesiac, 2-unknown, 3-mimic) [requires the selected role be installed] ttt2_dop_replace_role [0 or 1 or 2 or 3] (default: 1) # add doppelganger indicator to doppelganger corpses ttt2_dop_corpse_indicator [0 or 1] (default: 1) # use special handling when trying to steal marker's role ttt2_dop_marker [0 or 1] (default: 1) # use special handling when doppelganger tries to steal jester's role ttt2_dop_jester [0 or 1] (default: 1) # use special handling when doppelganger tries to steal infected's role ttt2_dop_infected [0 or 1] (default: 1) # use special handling when doppelganger steals beacon's role ttt2_dop_beacon [0 or 1] (default: 1) # how long should the role-steal victim be immune to damage from dop/mim ttt2_mim_grace_time [0..n] (default: 10)


--
Credits:
Wasted: creator of this role addon and the icon
Popular Discussions View All (2)
10
27 Sep, 2021 @ 8:48am
Doppleganger Bug Reports with other role interactions
Cpt.Haxray
0
30 Dec, 2020 @ 10:58am
PINNED: Mimic and Doppelganger Special Role Handling Hook
Wasted
17 Comments
|UGA|PatPeter 9 Sep, 2021 @ 11:39pm 
I created a master configuration file for all of the TTT roles in the first 3 pages of the Workshop search: https://gist.github.com/PatPeter/70b1c090d8c8c311d99632dca76ec513
Wasted  [author] 7 Mar, 2021 @ 3:35pm 
@The Ultimate Cat Lord that definitely is not working as intended. I intend to do a rewrite of the role-syncing code soon, hopefully that will address the problem
The Ultimate Cat Lord 6 Mar, 2021 @ 4:53pm 
https://imgur.com/a/fD3Rytl
the picture shows what happens
Wasted  [author] 28 Jan, 2021 @ 6:36am 
@The Ultimate Cat Lord ah that is not intended behavior, will look into it
The Ultimate Cat Lord 28 Jan, 2021 @ 3:57am 
like in tab to the left of the name it has the doppel ganger icon.
Wasted  [author] 27 Jan, 2021 @ 12:09pm 
@The Ultimate Cat Lord Do you mean the indicator on their corpse? I added a convar to disable that ttt2_dop_corpse_indicator
The Ultimate Cat Lord 26 Jan, 2021 @ 1:30pm 
is the doppelganger being known to all intentonal? if it is an option to turn it off would be nice.
Wasted  [author] 19 Jan, 2021 @ 4:41pm 
@Cpt.Haxray added in most recent update
Cpt.Haxray 19 Jan, 2021 @ 12:39pm 
About the Grace Period Convar: would it be possible to make a seperate one for both Mimic and Doppleganger, so they dont share the same Grace Period?
Cpt.Haxray 18 Jan, 2021 @ 6:09pm 
Sweet! Thanks