Garry's Mod

Garry's Mod

Otillräckligt med betyg
[TTT2] Mimic and Doppelganger [ROLE]
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
737.170 KB
28 dec, 2020 @ 10:18
1 feb, 2022 @ 7:59
18 ändringsnotiser ( visa )

Abonnera för att ladda ner
[TTT2] Mimic and Doppelganger [ROLE]

I 3 samlingar av Wasted
TTT2 Dingus Server
581 artiklar
Dingus Playerside
320 artiklar
Dingode TTT2
326 artiklar
Beskrivning
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
Populära diskussioner Visa alla (2)
10
27 sep, 2021 @ 8:48
Doppleganger Bug Reports with other role interactions
Cpt.Haxray
0
30 dec, 2020 @ 10:58
KLISTRAD: Mimic and Doppelganger Special Role Handling Hook
Wasted
17 kommentarer
|UGA|PatPeter 9 sep, 2021 @ 23:39 
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  [skapare] 7 mar, 2021 @ 15:35 
@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 @ 16:53 
https://imgur.com/a/fD3Rytl
the picture shows what happens
Wasted  [skapare] 28 jan, 2021 @ 6:36 
@The Ultimate Cat Lord ah that is not intended behavior, will look into it
The Ultimate Cat Lord 28 jan, 2021 @ 3:57 
like in tab to the left of the name it has the doppel ganger icon.
Wasted  [skapare] 27 jan, 2021 @ 12:09 
@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 @ 13:30 
is the doppelganger being known to all intentonal? if it is an option to turn it off would be nice.
Wasted  [skapare] 19 jan, 2021 @ 16:41 
@Cpt.Haxray added in most recent update
Cpt.Haxray 19 jan, 2021 @ 12:39 
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 @ 18:09 
Sweet! Thanks