Garry's Mod

Garry's Mod

Not enough ratings
The Rat - Custom Roles For TTT
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Fun, Roleplay
File Size
Posted
39.669 KB
25 Aug @ 9:16pm
1 Change Note ( view )

Subscribe to download
The Rat - Custom Roles For TTT

In 1 collection by Logan
Logan's CR4TTT Roles
4 items
Description
The Rat role for Custom Roles for TTT

The Role
The rat is not a simple role! They are an innocent with a lot of power, if their words are to be believed! The following mechanics cannot be adjusted via ConVar:
  • The Rat is an innocent who can see who the traitors are.
  • The Rat appears as a traitor to the other traitors (but they know a rat is amongst them).
  • If an INNOCENT kills the Rat for any reason, this includes the Rat themself, the role their body shows is Traitor.
  • If a TRAITOR kills the Rat for any reason, the role their body shows is Innocent.
It is at this point the Rat can be customized quite heavily, influencing how the Rat is to be played. There are two ConVars to consider changing: ttt_rat_damage_style and ttt_rat_show_traitors_scoreboard. They are explained below.

Damage Style
  1. If the Damage Style is set to 1, the rat does SOME damage (set by ttt_rat_damage_scaling) to traitors and otherwise full damage to everyone else. This value is, ideally, low enough that in rare circumstances they can win some gunfights, but low enough that attacking a traitor at max health is a death sentence. (Keep in mind, because of the unique damage scaling, if demonstrated to others, it is an easy tell that can prove the role, especially if your server is running the Damage Numbers mod.)
  2. If the Damage style is set to 2, the Rat does REGULAR damage to traitors, but cannot deal the final blow against them. If a Rat is the last innocent alive, the traitors are all but guaranteed the win. This style avoids the demonstration problem of Style 1, but promotes an aggressive playstyle from the Rat (which isn't fully intended), and can't account for every workshop weapon that fails to set the attack correctly, still resulting in the Traitor's death.
  3. If the damage style is set to 3, the Rat does regular damage to traitors, and CAN KILL them - no additional fluff. This damage style I would generally advise against unless your server is set up to heavily pressure the Traitors (maybe there's more spawning? Your call).
  4. DEFAULT If the damage style is set to 4, the Rat does NO DAMAGE to anyone unless they are the final innocent alive, at which point, their damage will scale by the same ConVar from style 1 (ttt_rat_damage_scaling). This fully prevents any cheesing by the Rat (heh), as innocents will think the player is a Jester.

Scoreboard Style
  • By default, the traitors are hidden on the Rat's scoreboard, else they are incentivized to immediately press tab and call out the traitors right from game start, potentially introducing an un-fun dynamic that ruins how the game plays. Instead, the Rat must run around and visually identify the Traitors by the icon above their head, and remember who they are for the duration of the round. This actively puts the Rat in harm's way in order to gain meaningful information, and make the role more fun and interesting.
  • You may otherwise turn this off if you like.

    ConVars
    The rat is otherwise manually configurable as the core CR4TTT roles are (enabled, weight, min players, health, credits, etc).

    ttt_rat_damage_scaling - Default: 0.25 - If the damage styling is 1 or 4, controls how much to scale the Rat's damage by.
    ttt_rat_damage_style - Default: 4 - Sets the Rat's damage style.
    ttt_rat_show_traitors_scoreboard - Default: 0 - If enabled, shows who the traitors are on the Rat's scoreboard.

    Special Thanks
    - Special thanks to Malivil for helping bugtest the role
    - https://game-icons.net/ for the icons