Garry's Mod
No hay suficientes valoraciones
[TTT2] Mimic and Doppelganger [ROLE]
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Tamaño
Publicado el
Actualizado el
737.170 KB
28 DIC 2020 a las 10:18 a. m.
1 FEB 2022 a las 7:59 a. m.
18 notas sobre cambios ( ver )

Suscríbete para descargar
[TTT2] Mimic and Doppelganger [ROLE]

En 3 colecciones creadas por Wasted
TTT2 Dingus Server
581 artículos
Dingus Playerside
320 artículos
Dingode TTT2
322 artículos
Descripción
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
Discusiones populares Ver todo (2)
10
27 SEP 2021 a las 8:48 a. m.
Doppleganger Bug Reports with other role interactions
Cpt.Haxray
0
30 DIC 2020 a las 10:58 a. m.
FIJO: Mimic and Doppelganger Special Role Handling Hook
Wasted
17 comentarios
|UGA|PatPeter 9 SEP 2021 a las 11:39 p. m. 
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  [autor] 7 MAR 2021 a las 3:35 p. m. 
@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 a las 4:53 p. m. 
https://imgur.com/a/fD3Rytl
the picture shows what happens
Wasted  [autor] 28 ENE 2021 a las 6:36 a. m. 
@The Ultimate Cat Lord ah that is not intended behavior, will look into it
The Ultimate Cat Lord 28 ENE 2021 a las 3:57 a. m. 
like in tab to the left of the name it has the doppel ganger icon.
Wasted  [autor] 27 ENE 2021 a las 12:09 p. m. 
@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 ENE 2021 a las 1:30 p. m. 
is the doppelganger being known to all intentonal? if it is an option to turn it off would be nice.
Wasted  [autor] 19 ENE 2021 a las 4:41 p. m. 
@Cpt.Haxray added in most recent update
Cpt.Haxray 19 ENE 2021 a las 12:39 p. m. 
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 ENE 2021 a las 6:09 p. m. 
Sweet! Thanks