Garry's Mod

Garry's Mod

Ikke nok vurderinger
[TTT2] Wicked [ROLE]
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Filstørrelse:
Offentliggjort:
Opdateret:
355.291 KB
17. juni 2024 kl. 12:53
27. juli 2024 kl. 22:03
3 ændringsbemærkninger ( vis )

Abonner for at downloade
[TTT2] Wicked [ROLE]

I 1 samling af milkwater
milkwater & cheezbawlz TTT2 roles
16 genstande
Beskrivelse
Sensing something was off with the match, the Wicked checked the scoreboard. Sure enough, he noticed that the Traitors were not alone.

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.

Also please check out the inspiration and original addon, the Clairvoyant.

Discord: https://discord.gg/9njYXGY
Source: https://github.com/milkwxter/WickedTTT2




The Wicked is a new Traitor role, who has the ability to see special roles on the scoreboard. Special roles are defined as: Any innocent role that is not the standard "Innocent" and any third party role you have installed like: "Jester", "Serialkiller", or "Infected." It really does support any role you have installed. It just ignores the Detective and Traitor roles since those are public to you anyways.

Also all the code for this was modified from the Clairvoyant role, I felt it would make for a great Traitor subrole.




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_wicked_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_wicked_pct [0.0..1.0] (default: 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_wicked_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_wicked_random [0..100] (default: 33) # the amount of players needed for this role to spawn ttt_wicked_min_players: [0..n] (default: 7)

Wicked Specific Convars (also found in ULX):
# what percentage of special roles can the wicked see? ttt2_wck_visible: [1.. 100] (default: 100)

--
Credits:
milkwater: I made this into a traitor role (I did not code ANYTHING)
Alf21: creator of the original addon, the Clairvoyant
Marcy Boles: Looking icon, from the Noun Project