Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Unaware [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
387.261 KB
17 Oct, 2023 @ 10:53am
12 Dec, 2023 @ 10:54am
9 Change Notes ( view )

Subscribe to download
[TTT2] Unaware [ROLE]

Description
"Who's knife is just lying on the floor? Someone could get hurt from this!!"

You have to use TTT2 in order to use this role.
This addon is being continuously improved: You can help by submitting bugs and suggestions here.[github.com]

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/Spanospy/ttt2-role_unaware

Known Issues:
  • Unawares cannot successfully buy from traitor shop if shop is disabled for the role.
  • Unawares cannot pickup credits from bodies if shop is disabled for the role.
  • There's probably also some traitor-specific cases that unintentionally reveal the role




The Unaware is a traitor role with a twist - The game tells them that they are an innocent.
While they may receive hints about their true role (eg: finding a random knife in the world), typically it is up to the other traitors to identify the Unaware and inform them of their situation.

Depending on how you configure convars:
  • Unawares receive and inflict less friendly fire damage (default: damage is reduced to 80%)

  • Unawares can find a free knife that has been spawned for them somewhere on the map.

  • Unawares can kill players with public roles (such as detective) to confirm to themselves that they're a traitor and gain access to traitor buttons and shop.

  • For more chaos, you can turn off the alert that tells other players there's an unaware!

While this role is more chaotic than it is directly useful, it does introduce grounds for additional mind tricks to deceive innocents with - even if there is no Unaware during the round!

Plays best with:
  • TBD




Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. These can be accessed by server owners within the F1 menu, underneath the role's settings. Server owners are encouraged to experiment with these to tune the role to their liking. Let me know what works and doesn't work!

Current convars:
  • Warn players if there's an Unaware at start of round
    [No / Warn Traitors only (default) / Warn all players]
  • Role that Traitors see Unawares as
    [None / Traitor (default) / Unaware]
  • Block Traitor communication while an Unaware is alive
    [No (default) / Yes ]
    //Not tested that much, but you should probably turn this one on.
  • Spawn a knife on the map for each Unaware to find
    [No / Yes (default)]
  • Unawares fake a purchase when they pick up their knife
    [No / Yes (default)]
  • Increase number of traitors for every Unaware
    [No / Yes (default)]
    //re-rolls innocents into traitors if on. If you feel that Traitor team is already powerful, turn this off.
  • Percentage of damage Unawares deal to / receive from Traitors
    [0-100]
  • If Unawares are the only traitors left:
    [Do nothing / Unawares turn into Innocents / Unawares turn into Traitors]
  • Unawares turn into Traitors after killing high-value innocents (eg: Detectives)
    [No / Yes (default)]
  • Unawares can pick up credits from bodies while visibly "innocent"
    [No / Yes (default)]
  • Unawares receive alerts when picking up credits from bodies while visibly "innocent"
    [No (default) / Yes ]
11 Comments
frequency 4 May, 2024 @ 4:08am 
thanks for answer
Spanospy  [author] 3 May, 2024 @ 1:39pm 
I've unlisted the role for now; haven't had time to work on it!!
frequency 3 May, 2024 @ 8:41am 
update?
Spanospy  [author] 28 Oct, 2023 @ 3:43pm 
Should hopefully be fixed by now.
Spanospy  [author] 21 Oct, 2023 @ 11:41am 
hmmm, that should be resetting itself. Annoying. Appreciate the reports!
Hannes 21 Oct, 2023 @ 9:54am 
Hey there, I've got a few more bugs to report regarding the latest update: If the Unaware kills a Detective, he becomes a traitor, if the Cvar is set to true. Problem: The information that that player killed someone important as an Unaware gets saved for the rest of the map. So the next time that player would get the Unaware-Role, he just instantly becomes a Traitor!
With the Cvar regarding the Unaware being the last one standing has the same problem. The next time the player would get the Unaware-role assigned, he just instantly turns into a T.
And one last thing: The information that there is an Unaware in the round appears EVERY round, even if there is no Unaware in the round!
Spanospy  [author] 19 Oct, 2023 @ 12:37pm 
I think it's possible to change that. I'll have a look.
Hannes 19 Oct, 2023 @ 11:17am 
Very cool, thank you! :)
Also, another thing I just realized while messing around: The Unaware is able to see Jester-Roles both while looking at them and by looking at the scoreboard. Is there a way to change that...?
Spanospy  [author] 19 Oct, 2023 @ 10:17am 
So after some thought, I'll add a dropdown convar to answer your suggestion:

If Unawares are the only traitors left,

* Do nothing,
* Unawares turn into Innocents, or
* Unawares turn into Traitors
Spanospy  [author] 19 Oct, 2023 @ 9:30am 
@Hannes, yeah I have thought about adding hints that explicitly tell the Unaware they're a traitor. Ideally I want to come up with something that doesn't outright spoil it, but also discourage waiting out the round. Maybe I need to spawn more knives over time??

One hint I'm considering is notes left on bodies that only Unawares can see, which are worded like a fellow traitor has covertly left a message addressing them.

I will add some convars for allowing/disallowing Unawares to be the only traitors left alive, and the nature of disallowing it ('end the round' or 'turn their role into a plain traitor')