Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Cursed [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
410.165 KB
Jul 2, 2021 @ 9:29pm
Dec 12, 2023 @ 10:13pm
11 Change Notes ( view )

Subscribe to download
[TTT2] Cursed [ROLE]

In 1 collection by blackmagicfine
TTT2 Mods For BMF's Server
93 items
Description
Cursed to fail. Cursed to be weak. Cursed to live forever.

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] 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/AaronMcKenney/ttt2-role_curs




The Cursed has no team and cannot win. They cannot deal damage. Death is impermanent as they will always resurrect. A player who has been afflicted must work to remove their Cursed status, which can only be done by changing roles. Two methods are provided to them: They can "tag" a different player by interacting with them, or they can shoot a different player with their RoleSwap Deagle. Both of these methods will swap roles between the two players, meaning that over time, everyones' roles will be shuffled. A former Cursed cannot be "tagged" (and may not harm the new Cursed player) until another role swap has occurred (i.e. "No backsies").

Think of it like a game of tag, if it makes you feel better.

Also you can press "V" to set yourself on fire. Use this to respawn at worldspawn if you happen to die, or to set yourself on fire.

I also created two items that involve this role: Countercurse Mantra and Cursed Deagle.



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_cursed_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_cursed_pct [0.0..1.0] (default: 0.13) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_cursed_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_cursed_random [0..100] (default: 30) # the amount of players needed for this role to spawn ttt_cursed_min_players: [0..n] (default: 6)

Rolespecific Convars:
# Can the Cursed swap roles with Detectives? ttt2_cursed_affect_det [0/1] (default: 1) # Is the Cursed immune to all forms of damage? ttt2_cursed_damage_immunity [0/1] (default: 0) # How many seconds must pass before the Cursed respawns (Respawning disabled if <= 0)? ttt2_cursed_seconds_until_respawn [0..n] (default: 10) # When the Cursed respawns, will they respawn at a randomly selected player spawn? Note: If disabled, the Cursed will respawn where they died. ttt2_cursed_respawn_at_mapspawn [0/1] (default: 0) # What is the range on the Cursed's tagging ability (close range role swap via interaction)? ttt2_cursed_tag_dist [0..n] (default: 150) # How long must the Cursed wait before they can tag someone who tagged them (No backsies if 0)? ttt2_cursed_backsies_timer [0..n] (default: 0) # Can a player damage Cursed players while they have "No backsies"? ttt2_cursed_no_dmg_backsies [0/1] (default: 0) # How should the Cursed's Self-Immolate ability work? ttt2_cursed_self_immolate_mode [0..2] (default: 2) # 0: Cursed cannot self-immolate # 1: Cursed can only set their corpse on fire # 2: Cursed can self-immolate when alive or dead # This multiplier applies directly to the Cursed's speed (ex. 2.0 means they move twice as fast). ttt2_cursed_speed_multi [0.0..n.m] (default: 1.2) # This multiplier applies directly to the Cursed's stamina regen (ex. 2.0 means the sprint bar fills up twice the normal speed). ttt2_cursed_stamina_regen [0.0..n.m] (default: 1.0) # This multiplier applies directly to how fast the Cursed's stamina bar depletes (ex. 0.5 means the sprint bar decays at half the normal speed). ttt2_cursed_stamina_drain [0.0..n.m] (default: 0.35) # Should the Cursed spawn with a RoleSwap deagle, for long-range swapping? ttt2_role_swap_deagle_enable [0/1] (default: 1) # How long does it take for the RoleSwap deagle to refill its ammo (Won't refill if <= 0)? ttt2_role_swap_deagle_refill_time [0..n] (default: 30)

--
Credits:
BlackMagicFine: creator of this role addon
Smuggles: designer of the role icon
Wasted: designer of the role thumbnail
sbzlzh[github.com]: translator
11 Comments
|UGA|PatPeter Sep 9, 2021 @ 11:24pm 
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
blackmagicfine  [author] Sep 7, 2021 @ 1:53pm 
@my name is JEFF: Alas no. The Mesmerist Defib cannot affect dead players that are in the process of reviving (this also includes other roles such as the Occultist and Pharaoh).
ElPatron01 Sep 4, 2021 @ 6:28am 
i find it great that u can be uncursed by a sheriff but i wanted to ask
can mesmerist revive the cursed to thrall before he respawns?
blackmagicfine  [author] Aug 23, 2021 @ 12:10am 
Great news everyone! Cursed players can now press "v" to self-immolate! Use this ability to destroy your corpse so that you'll respawn at worldspawn (great in case you're stuck in some death zone), or to set yourself on fire. The possibilities are endless! See "ttt2_cursed_self_immolate_mode" in the description for more details.
blackmagicfine  [author] Jul 13, 2021 @ 6:35pm 
@Mangost: For sure. The intention of this role is to cause chaos by way of constant role changes. That probably isn't going to sit well with players who want to like, play a detective as an actual detective and mathematically eliminate the competition. On that note, I have recently been thinking of a purchasable passive item that I could create, called "countercurse mantra", which prevents the player from becoming Cursed. Maybe it also gives a minor amount of armor due to being a niche item purchase.
Mangost Jul 13, 2021 @ 8:14am 
true i feel like it would mostly be for anarchy servers though, not like competitive servers or smth
blackmagicfine  [author] Jul 12, 2021 @ 6:14pm 
@Mangost: This is true, but it also depends on the frequency of swaps and how obvious the Cursed is about trying to swap with others. Information on who is and who isn't a traitor can quickly become stale if the server is filled with players who are efficient at role swapping and reckless in their choice of victims. While it is true that a player can lose a role they like, it is also true that they can gain a cool role that they like.
Mangost Jul 12, 2021 @ 5:03pm 
Seems interesting but i feel like someone could just swap with a traitor, then that person swaps with an inno and outs all the traitors. plus if you get cursed into losing your sk or infected or other cool role that would be annoying.
[KaP] Portres Jul 5, 2021 @ 1:06am 
Yes I think so as well. But nice Role anyway
blackmagicfine  [author] Jul 5, 2021 @ 12:52am 
Interesting. I suspect that there's a few roles that don't anticipate this level of role swapping. Fixing these kind of swapping issues will require some coordination across addon developers I think (since it isn't so much the Cursed that's causing the issues, but rather revealing them in the first place).