Garry's Mod

Garry's Mod

[TTT2] Role Info
44 Comments
AelitaStonks 22 Sep, 2024 @ 9:09am 
Btw, I just filled the ones that were are the top, and when I did that, the error that I commented you appeared.
AelitaStonks 22 Sep, 2024 @ 8:59am 
Hey, thanks for the quick response. How can I do this?
Blechkanne  [author] 22 Sep, 2024 @ 4:07am 
could be due to this mod or a wrong implementation of the role you're trying to add. you'll have to link the role though that's causing the problem
AelitaStonks 21 Sep, 2024 @ 10:06pm 
Hey I got [Error: TRANSLATION OF NIL NOT FOUND] in the box where the role name appears, is it normal?

I am adding some roles that are not in the described in the mod.

Thanks
NoColorFrog 28 Aug, 2024 @ 4:42am 
Very good tool, one suggestion is to adjust the info display position and display time, preferably so that the text can always stay in a certain position on the screen
Sundia 13 Jun, 2024 @ 4:48pm 
oh I've never coded in lua before sorry, it was more of a suggestion if someone that has the experience could implement as a potential solution, maybe something else would work better but that's what I thought first.
Blechkanne  [author] 13 Jun, 2024 @ 4:06pm 
hey sundia feel free to implement it, i don't play gmod as much as before
Sundia 13 Jun, 2024 @ 3:44pm 
hey! I really like this mod, I think I may have a suggestion for the Defective role problem. Would it be possible to add like, a 1 second delay as the roles get distributed so it wouldn't show the Detective getting demoted back to Innocent? It could be a convar so people can add that delay or remove it depending on their needs.
SvveetMavis 11 Jun, 2024 @ 2:03am 
when preparing starts it shows role none in the chat, is there a way to disable this so the role things only shows up when preparing is over?
Blechkanne  [author] 26 Mar, 2024 @ 4:18am 
Added several Roles!
Wuppi-Kun 23 Mar, 2024 @ 6:27pm 
Can you add some Roles Pls?
-Anonymous
-Chef
-Loot Goblin
-Mayor
-Mute
-Speedrunner

That are very Nice :D
Blechkanne  [author] 13 Jan, 2024 @ 12:32pm 
Hey thanks for the info! thats a weird very specific bug. I don't know how the defective works internally. Does it happen with anything lower than 100? It sounds like more of a bug from the defective Role tbh (the addon might call a roleswitch to detective and afterwards a roleswitch to innocent instead of one roleswitch).
Kraw 12 Jan, 2024 @ 2:01pm 
Hey, I really enjoy this mod and use it a bit.

However, there is one bug with it where if defective is turned on and ttt2_defective_demote_detective_pct in defective is set to 100 (causing detectives to get demoted), detectives get demoted to innocents, but get role info for both detective and innocent, confirming they got demoted and there is a defective.
Wonda 22 Dec, 2022 @ 2:13pm 
May this be open-sourced so mod developers can merge their roles into the system?
Blechkanne  [author] 21 Sep, 2022 @ 2:02pm 
Are you using TTT2? @Chernould
You can extend the Addon using the ingame Editor Pawel. @pawel
Chernould 20 Sep, 2022 @ 11:06am 
For some reason, I dont see the role info editor in the f1 menu, what is causing this?
pawel99uk 27 Aug, 2022 @ 11:09am 
hey can u add my roles to this please. some like godfather,trickster,bandit,blitz etc. pls consider
Blechkanne  [author] 19 May, 2022 @ 8:55am 
Use the ingame editor to make your own descriptions for your server
NoColorFrog 19 May, 2022 @ 3:39am 
I want to add translation to this mod, what should I do?
Blechkanne  [author] 17 May, 2022 @ 10:40am 
Should work everything now, i moved the role detection to clientside. We tested it with Lycanthrope and Sidekick
Hannes 17 May, 2022 @ 8:07am 
The ones that don't work are as follows: Revenant, Lycanthrope, Sleeper, Shinigami. Oh, and the Sidekick works.... kind of. After being shot by the Sidekick-Deagle, you get information about your new role, buuuuut it shows the description of the Jackal and not the one of the Sidekick...
Hannes 17 May, 2022 @ 8:04am 
Ok, nevermind, i tested a little bit with the roles, which can change during the round. Roles like Thrall, Yandere, Ravenous or Killerclown work.
Blechkanne  [author] 17 May, 2022 @ 7:26am 
You can always use !r or !role to show your current role description, also it does show your role when you switch not only on round start. You might have to restart your server to fetch the newer updates of this addon? @Hannes
Hannes 17 May, 2022 @ 5:51am 
Love the addon, because if we have new players, we don't always have to explain everything or tab out of the game to read, what this role does. However, would it be possible for a new descriptino to pop up midround, should you happen to change your role. Because some descriptions don't even come into play, because the role description if only at the beginning of the round. (Examples: Thrall, Ravenous, Sidekick, Lycanthrope, Ajin, Killerclown, Sleeper, etc. etc.)
Chef 15 May, 2022 @ 12:57pm 
Thank you.
Blechkanne  [author] 15 May, 2022 @ 5:47am 
It's added, if you're still missing roles, just add them yourself in the role editor! missing roles are now shown at the top of it
Chef 15 May, 2022 @ 12:07am 
Please add the Link role to this addon for the role description.
Blechkanne  [author] 14 May, 2022 @ 11:46am 
Yeah i added the lycanthrope :)
The1337Gh0st 13 May, 2022 @ 10:50am 
Thanks for the fix, but I noticed that the Lycanthrope role is still incompatible somehow. Could you fix it?
Blechkanne  [author] 9 May, 2022 @ 3:14pm 
Should be working now. it will show their team default role as in team innocents -> innocent etc.
The1337Gh0st 9 May, 2022 @ 11:37am 
I noticed that there is an exploit with this add-on that allows roles that don't know what their role is (e.g. Shinigami or Revenant) to be accurately told what their role is at the start of the round. Would it be possible for you to make it not reveal what their role is?
Blechkanne  [author] 1 May, 2022 @ 8:46am 
sure
mexikoedi 1 May, 2022 @ 8:37am 
Thanks for the update but could you remove the empty shared.lua file from "terrortown/autorun/shared"?
It creates this error:
[AddCSLuaFile] Couldn't find 'terrortown/autorun/shared/shared.lua' (@lua/ttt2/libraries/fileloader.lua (line 73))

[TTT2 (Base) - v0.11.4b] Couldn't include file 'terrortown\autorun\shared\shared.lua' - File not found (@lua/ttt2/libraries/fileloader.lua (line 74))
1. LoadFolder - lua/ttt2/libraries/fileloader.lua:74
2. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:264
3. include - [C]:-1
4. ttt_include - gamemodes/terrortown/gamemode/shared/sh_include.lua:179
5. unknown - gamemodes/terrortown/gamemode/init.lua:5
Lede 27 Apr, 2022 @ 2:06pm 
Very cool, thanks!
Blechkanne  [author] 27 Apr, 2022 @ 12:42pm 
Added some more roles and customisation. If there are problems post them, i'll try to get them fixed asap
faye 26 Apr, 2022 @ 6:53pm 
Looking forward to the update!
Lede 25 Apr, 2022 @ 1:02am 
Alright cool!

Well, basically all that are on the official list of roles:
https://sp.zhabite.com/sharedfiles/filedetails/?id=17370

So the list of missing ones:

Arsonist
Banker
Cursed
Cyclone & Hurricane
Drunk
Duelist
Elderly
Haunted
Hidden
Imitator
Leech
Liar
Medium
Nova
Oracle
Pure
Revenant
Revolutionary
Roider
Sacrifice
Seance
Swapper
Thief
Undecided
Sleeper
Blocker
Defector (yep, this is different from Defective)
Guardian
Shanker
Master Chief
Ajin
Cult Leader
Cultists
Streamer
SIMP
Astronaut
Blechkanne  [author] 24 Apr, 2022 @ 10:52am 
I'm gonna update the whole thing soon, tell me your needed Roles and it's gonna happen. Customisable Role Infos incoming too ;)
Lede 24 Apr, 2022 @ 10:03am 
Can I add my own role info to classes that are not yet supported here?
mexikoedi 14 Nov, 2021 @ 3:42am 
Es gibt mittlerweile noch mehr Rollen.
Siehe hier: https://sp.zhabite.com/sharedfiles/filedetails/?id=1737053146
Blechkanne  [author] 10 Feb, 2021 @ 7:31am 
Gab es früher mal, aber das Originale ist auf Privat gestellt. Dasselbe wie beim Marker
[KaP] Portres 10 Feb, 2021 @ 7:29am 
:D naja egal Haupsache es gibt das endlich ;) nice job!
Blechkanne  [author] 10 Feb, 2021 @ 7:28am 
Ja, einen Tag später ^^
[KaP] Portres 10 Feb, 2021 @ 7:14am 
Hey the Original Creator also made an English version for this.