Garry's Mod

Garry's Mod

119 ratings
[TTT2] Round Info [FEATURE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Realism
File Size
Posted
Updated
740.717 KB
21 Apr, 2018 @ 1:27pm
23 Feb @ 3:51am
39 Change Notes ( view )

Subscribe to download
[TTT2] Round Info [FEATURE]

In 1 collection by Alf21
TTT2-Testing
58 items
Description
Round Info is your typical role distribution and killer notifier addon that also features a neat killer info popup.

You have to use TTT2 in order to use this addon. Additionally using ULX for TTT2 is recommended. Report bugs concerning this addon here[github.com]

Discord: https://discord.gg/9njYXGY
Source: https://github.com/Alf21/ttt2-rolesetup

Everything in this addon is configurable. While the server owner can use the convars (in ULX) to enable/disable certain features, every player can position the HUD-Element with the built-in HUD-Switcher of TTT2.

Right now this addon supports german and english. However further languages could be added as long as someone translates the file. You can find the language file here[github.com].

Convars
This addon fully supports ULX. All convars can be set in 'Round Info' found in the TTT tab. However the convars can be set manually in case you prefer this.
# enables the role distribution texmessage on roundstart (amaount of traitors, spectators and innocent (everybody else)) ttt_roundinfo_pre_announce_distribution [0/1] (default: 1) # post a killer texmessage in the chat ttt_roundinfo_announce_killer [0/1] (default: 1) # enables the role distribution texmessage on roundend (detailed list of each role) ttt_roundinfo_post_announce_distribution [0/1] (default: 1) # enables the killer info popup ttt_roundinfo_popup_killer [0/1] (default: 1) # sets display time of the killer popup ttt_roundinfo_popup_killer [1..100] (default: 10)

This addon is based on the sourcecode of this addon, however after porting it to TTT2 and adding the UI elements not much of the original code was left. Nevertheless we want to thank nerzlakai96 for creating his addon.

--
Credits
Alf21: creator of this role addon
Mineotopia: creator of the killer UI
SchokoShampoo: gave the chatmessages color
nerzlakai96: creator of the original addon
42 Comments
Serylt 11 Oct, 2022 @ 11:09am 
"# enables the killer info popup
ttt_roundinfo_popup_killer [0/1] (default: 1)
# sets display time of the killer popup
ttt_roundinfo_popup_killer [1..100] (default: 10)
"

It's the same command in the description, caused a lot of confusion.
faye 26 Apr, 2022 @ 5:51pm 
This would be perfect if I'd be able to disable showing what role your killer was, we like to keep it vague for spectators due to the Medium role
随波逐流 8 Apr, 2022 @ 6:56pm 
he is benbi
Alf21  [author] 8 Apr, 2022 @ 1:17pm 
Why not just using TTT2? ;)
随波逐流 8 Apr, 2022 @ 3:46am 
Can you write something similar to TTT1?
Tim | Mineotopia  [author] 7 Jan, 2021 @ 8:56am 
Frage 1: Musst du etwas spezifizieren
Frage 2: Ja, im HUD Editor, so wie alle HUD Elemente
MadM 7 Jan, 2021 @ 4:23am 
Frage 1:
Kann man einstellen, dass bei der message im chat auch Detectives aufgezählt werden?

Frage 2:
Ist es möglich die größe des popups mit der killerinfo einzustellen? Bei mir überlappen sich die ammo-anzeige und das icon+name der waffe. Sehr nervivg
Tim | Mineotopia  [author] 24 Nov, 2020 @ 1:54pm 
Zumal wir uns damals dagegen entschieden haben, da es ja zB verrät ob eine Rolle in der Runde dabei ist, wenn deren Random nicht auf 100 ist.
Alf21  [author] 24 Nov, 2020 @ 1:44pm 
Hmm aktuell sehe ich darin eher weniger den Sinn, außerdem entscheidet jeder Rollenersteller selbst, ob er die Rolle anzeigen lassen will oder nicht... also du kannst natürlich gerne auf GitHub contributen und wir würden ne Lösung dann sicher übernehmen. Aber aktiv selbst sowas umzusetzen ist nicht geplant und wird denke auch nicht geplant, dafür wollen wir nocj zu viel in TTT2 fertig bekommen
Loligerloler 24 Nov, 2020 @ 1:22pm 
Ja genau, ich meinte die Anzeige ganz am Anfang, die "Role Distribution Message".