Garry's Mod

Garry's Mod

Otillräckligt med betyg
[TTT2] Oracle [ROLE]
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
356.255 KB
6 okt, 2021 @ 2:18
5 jan @ 17:16
27 ändringsnotiser ( visa )

Abonnera för att ladda ner
[TTT2] Oracle [ROLE]

Beskrivning
Use your knowledge wisely...

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/TaintedEnergy/ttt2-role-oracle




The Oracle is an innocent role who is occasionally told information about other people's roles. Every 30 to 60 seconds, the oracle will be told a team (Innocent, Traitor or Neutral) and then that "One or more of <Person A> or <Person B> is on this team", with Person A and B being 2 random non-detectives (alive or dead). Be careful about revealing your role, Traitors and other evils might come to silence you.



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

Rolespecific Convars:
# The minimum amount of time before the oracle is told about roles. ttt_oracle_min_message_time [0..n] (default: 30) # The maximum amount of time before the oracle is told about roles. ttt_oracle_max_message_time [0..n] (default: 60) # The amount of the the message displays on the screen. ttt_oracle_display_message_time [0..n] (default: 7) # Should the oracle's message be posted to the chat window. ttt_oracle_message_chat_window [0..1] (default: 1)
8 kommentarer
TaintedEnergy  [skapare] 11 okt, 2021 @ 18:35 
Cpt.Haxray, I added the ability to toggle whether the Oracle's message gets posted to the chat window.
TaintedEnergy  [skapare] 11 okt, 2021 @ 0:41 
The spy issue has been resolved. Instead of showing the "defaultTeam" of a role, the oracle will see the *real* team of a player. The spy shows as Innocent, a lover on their own team shows as on a Neutral team, etc...
TaintedEnergy  [skapare] 10 okt, 2021 @ 23:57 
The github page should now have public access, let me know if its still a 404.

I will also investigate the Spy issue soon.
Cpt.Haxray 9 okt, 2021 @ 21:47 
Another major issue has been found: Spy is Detected as a Traitor by Oracle.
Kira 同志 8 okt, 2021 @ 4:56 
FYI the github link is a 404
Cpt.Haxray 7 okt, 2021 @ 18:29 
Got a quick suggestion. We've been using it on a server and have been running into balance problems due to the oracle message also printing into chat, and the chat version being copy/pasteable. It is incredibly difficult to fake allowing the Oracle to rather easily prove themselves. Could you add a convar option to disable the chat message leaving only the 'announcement' message?
TaintedEnergy  [skapare] 7 okt, 2021 @ 0:29 
Thanks for the heads-up, I fixed the issue and tested it. Let me know if there are still problems.
Cpt.Haxray 6 okt, 2021 @ 22:31 
Massive bug with this role. Every other person in the game was able to see the Oracle's message when it appeared.