Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Collusionist [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
386.737 KB
2 Sep, 2023 @ 7:21pm
21 Oct, 2023 @ 9:57pm
8 Change Notes ( view )

Subscribe to download
[TTT2] Collusionist [ROLE]

In 1 collection by EntranceJew
EntranceJew's Addons
20 items
Description
Use the powers of the traitors against them!

You have to use TTT2 to use this role. Additionally, using ULX for TTT2 is recommended. Report bugs concerning this role here[http//here] and submit new role ideas here[github.com]. A list of all currently available roles can be found here.

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/EntranceJew/gmod-addons/tree/main/ttt2-role_collusionist




The collusionist is a Jester class which exists solely to beg for items, upon acquiring one bought by another player, the purchasing player will die and the collusionist will assume their role. Essentially, a codified version of a bored Innocent every round.

Plays best with:
  • Any role that exists solely to dispense items.




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_col_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_col_pct [0.0..1.0] (default: 0.17) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_col_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_col_random [0..100] (default: 50) # the amount of players needed for this role to spawn ttt_col_min_players: [0..n] (default: 6) # allow the collusionist to use traitor buttons ttt_collusionist_traitor_button [0/1] (default: 1)

Rolespecific Convars:

# collusionists kill detectives upon item acquiring ttt2_collusionist_kill_policing_roles [0/1] (default: 1) # health to set the person that bought the item, set to 0 to kill ttt2_collusionist_donor_health [0..100] (default: 1) # health to respawn collusionist with ttt2_collusionist_respawn_health [0..100] (default: 100) # collusionist entity damage? ttt2_collusionist_entity_damage [0/1] (default: 1) # collusionist environment damage? ttt2_collusionist_environmental_damage [0/1] (default: 1) # collusionist respawn? ttt2_collusionist_respawn [0/1] (default: 1) # collusonist respawn delay ttt2_collusionist_respawn_delay [0..n] (default: 3) # collusionist reveal mode # 0 - Never reveal the collusionist has changed team # 1 - Only alert the detective or traitors the collusionist has now joined # 2 - Alert all of the collusionists new team members # 3 - Alert everyone of the collusionists new team ttt2_collusionist_reveal_mode [0..3] (default: 0)

--

Credits:
EntranceJew: creator of this role addon + icon arrangement
Zac: help with thumbnail template
Guardian954: based heavily off of The Beggar
Open Hand by stzuana from Noun Project[thenounproject.com] (CC BY 3.0)
dagger by agus raharjo from Noun Project[thenounproject.com] (CC BY 3.0)
droplet by JG from Noun Project[thenounproject.com] (CC BY 3.0)
8 Comments
Hannes 24 Oct, 2023 @ 10:03am 
Yes, I tried both by changing it via console and via F1. Will check as soon as I can, if it's fixed for me, thank you very much :)
EntranceJew  [author] 21 Oct, 2023 @ 9:58pm 
@Hannes:
Have you tried adjusting the cvar in the F1 menu? "F1 > Role Settings > Collusionist > Donor Health"
I pushed an update that should fix it regardless of how it's being applied, let me know if that fixes it for you.
Hannes 21 Oct, 2023 @ 9:56am 
The Cvar for the donor-health doesn't seem to work. The donor just dies, no matter what I set the value to... :(
EntranceJew  [author] 16 Sep, 2023 @ 5:49pm 
@Son of Odd:
Yes, the purchaser tag remains on the item for as long as it exists.
Son of Odd 16 Sep, 2023 @ 10:14am 
does the effect trigger if the collusionist picks up an item that's already been used? for example: an m82 or AWP that's already been fired
EntranceJew  [author] 15 Sep, 2023 @ 2:33pm 
@Hannes:
Sorry, I believe this should be fixed in the latest update. It was because the Collusionist wasn't appearing as a member of the Jester team. It should work now, but you will need to enable the option to appear as a Jester in the "Role Settings" menu. Let me know how it works for you!

@Son of Odd:
Yes.
Hannes 6 Sep, 2023 @ 7:28am 
I like this role, but could you make it so that at the beginning of the round, in the upper right corner it says that there is a Jester in this round. Otherwise, evil roles would know the difference, if it's a real Jester or a Collusionist.
Son of Odd 4 Sep, 2023 @ 4:51pm 
this is evil