Garry's Mod
No hay suficientes valoraciones
[TTT2] Swapper [ROLE]
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Comic, Fun
Tamaño
Publicado el
Actualizado el
365.251 KB
18 SEP 2021 a las 7:55 p. m.
8 OCT 2021 a las 4:25 a. m.
8 notas sobre cambios ( ver )

Suscríbete para descargar
[TTT2] Swapper [ROLE]

En 1 colección creada por Guardian954
TTT2 Addons
74 artículos
Descripción
You shouldn't have been so trigger happy...

You have to use TTT2 in order to use this role. Additionally using ULX for TTT2 is recommended. Report bugs concerning this role here[github.com]. A list of all currently available roles can be found here.

Discord: https://discord.gg/9njYXGY
Source: https://github.com/Guardian954/ttt2-role_swapper_git




A Swapper is a Jester role. They cannot deal damage and they appear as a Jester to Traitors. Their sole goal is to be killed by someone. Once killed they will swap identities with their killer, swapping their roles and weapons to live their new life. By default the killer becomes the new swapper but with 1 health! Chaos normally ensues.



Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. There are always a handful of convars automatically created by TTT2, that define the spawn parameters of this role and are found in ULX. Additionally there might be some role specific convars, which have to be set in the server config file.

Normal Role Convars (also found in ULX):
# enable or disable this role ttt_swapper_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_swapper_pct [0.0..1.0] (default: 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_swapper_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_swapper_random [0..100] (default: 30) # the amount of players needed for this role to spawn ttt_swapper_min_players: [0..n] (default: 5)

Rolespecific Convars:
# Can the Swapper damage entities or props? ttt2_swapper_entity_damage [0/1] (default: 1) # Can the Swapper explode, burn, crush, fall, drown?? ttt2_swapper_environmental_damage [0/1] (default: 1) # How much health should the Swapper's killer return with (set to 0 for them to just die)? ttt2_swapper_killer_health [0..100] (default: 1) # How much health should the swapper respawn into their new role with? ttt2_swapper_respawn_health [0..100] (default: 100) # Should the swapper respawn with a random role from the opposite team of their killer? (default: 0) ttt2_swapper_respawn_opposite_team # Should the swappers respawn be delayed until their killer's death? (default: 0) ttt2_swapper_respawn_delay_post_death # Should the above 2 convars be randomised every round? (default: 0) ttt2_swapper_randomise_rounds --
Credits:
Custom Roles for TTT: creator of the original role and inspiration for this TTT2 version.
15 comentarios
SvveetMavis 10 JUN a las 8:24 p. m. 
if someone is the swapper in the round and then is killed in spec dm they respawn back into the round
Tim | Mineotopia 3 NOV 2023 a las 3:35 p. m. 
I can't update this, guardian has to do it
Star 29 OCT 2023 a las 2:02 p. m. 
Seconding what Kraw asked for. Jesters should not be able to push people off of roofs, nor should they be allowed to steal bodies that detectives need to check/defib. These settings would be much appreciated!
Kraw 22 OCT 2023 a las 12:23 p. m. 
Would it be possible to add similar options to the Swapper that are present for the (relatively similar, but not quite the same) Jester role? The two options mainly are Jester being able or not able to pick up items and/or push people with crowbars.
Sirius 15 ABR 2023 a las 9:16 p. m. 
Has promise to be a less round ending Jester but without traitors knowing the existence of the swapper let alone who it is it just means they get randomly and arbitrarily punished.
Kerillian 27 JUL 2022 a las 8:31 p. m. 
Hey there, is there any way to make so Traitors can see the overhead icon of this role?
NoColorFrog 23 ENE 2022 a las 2:48 a. m. 
that would be better if add an option:
# Should the Traitor see swapper identity 1/0
Cpt.Haxray 16 DIC 2021 a las 1:24 p. m. 
Would it be possible to add a similar option to the randomise rounds, but it only randomizes the opposite team convar, instead of randomizing both it and if the swapper respawns on death? Most players not respawning after getting killed as the swapper, but generally things play out better if its impossible to tell what the swapper respawned as, as otherwise the swapper gets instant killed.
NoColorFrog 14 DIC 2021 a las 11:57 p. m. 
Honestly, it would be nice to resurrect the random location of Jester
Ged Merrilin 11 OCT 2021 a las 8:50 p. m. 
I didn't realize that it replaced the original role of the person who killed them with the swapper role at first, I still think it'd probably be nicer if that was an option but since I realized the role swaps on death it isn't very important.