Garry's Mod

Garry's Mod

[TTT2] Role Info
47 Comments
PepeWTF Sep 10 @ 2:32am 
and where there
Blechkanne  [author] Sep 9 @ 9:29am 
In the F1 Menu of TTT2
PepeWTF Sep 9 @ 12:18am 
Where is the Role Editor?
AelitaStonks Sep 22, 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 Sep 22, 2024 @ 8:59am 
Hey, thanks for the quick response. How can I do this?
Blechkanne  [author] Sep 22, 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 Sep 21, 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 Aug 28, 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 Jun 13, 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] Jun 13, 2024 @ 4:06pm 
hey sundia feel free to implement it, i don't play gmod as much as before
Sundia Jun 13, 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 Jun 11, 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] Mar 26, 2024 @ 4:18am 
Added several Roles!
Wuppi-Kun Mar 23, 2024 @ 6:27pm 
Can you add some Roles Pls?
-Anonymous
-Chef
-Loot Goblin
-Mayor
-Mute
-Speedrunner

That are very Nice :D
Blechkanne  [author] Jan 13, 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 Jan 12, 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 Dec 22, 2022 @ 2:13pm 
May this be open-sourced so mod developers can merge their roles into the system?
Blechkanne  [author] Sep 21, 2022 @ 2:02pm 
Are you using TTT2? @Chernould
You can extend the Addon using the ingame Editor Pawel. @pawel
Jarbeefis McNephew Sep 20, 2022 @ 11:06am 
For some reason, I dont see the role info editor in the f1 menu, what is causing this?
pawel99uk Aug 27, 2022 @ 11:09am 
hey can u add my roles to this please. some like godfather,trickster,bandit,blitz etc. pls consider
Blechkanne  [author] May 19, 2022 @ 8:55am 
Use the ingame editor to make your own descriptions for your server
NoColorFrog May 19, 2022 @ 3:39am 
I want to add translation to this mod, what should I do?
Blechkanne  [author] May 17, 2022 @ 10:40am 
Should work everything now, i moved the role detection to clientside. We tested it with Lycanthrope and Sidekick
Hannes May 17, 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 May 17, 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] May 17, 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 May 17, 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 May 15, 2022 @ 12:57pm 
Thank you.
Blechkanne  [author] May 15, 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 May 15, 2022 @ 12:07am 
Please add the Link role to this addon for the role description.
Blechkanne  [author] May 14, 2022 @ 11:46am 
Yeah i added the lycanthrope :)
The1337Gh0st May 13, 2022 @ 10:50am 
Thanks for the fix, but I noticed that the Lycanthrope role is still incompatible somehow. Could you fix it?
Blechkanne  [author] May 9, 2022 @ 3:14pm 
Should be working now. it will show their team default role as in team innocents -> innocent etc.
The1337Gh0st May 9, 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] May 1, 2022 @ 8:46am 
sure
mexikoedi May 1, 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 Apr 27, 2022 @ 2:06pm 
Very cool, thanks!
Blechkanne  [author] Apr 27, 2022 @ 12:42pm 
Added some more roles and customisation. If there are problems post them, i'll try to get them fixed asap
faye Apr 26, 2022 @ 6:53pm 
Looking forward to the update!
Lede Apr 25, 2022 @ 1:02am 
Alright cool!

Well, basically all that are on the official list of roles:
https://psteamcommunity.yuanyoumao.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] Apr 24, 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 Apr 24, 2022 @ 10:03am 
Can I add my own role info to classes that are not yet supported here?
mexikoedi Nov 14, 2021 @ 3:42am 
Es gibt mittlerweile noch mehr Rollen.
Siehe hier: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1737053146
Blechkanne  [author] Feb 10, 2021 @ 7:31am 
Gab es früher mal, aber das Originale ist auf Privat gestellt. Dasselbe wie beim Marker
[KaP] Portres Feb 10, 2021 @ 7:29am 
:D naja egal Haupsache es gibt das endlich ;) nice job!
Blechkanne  [author] Feb 10, 2021 @ 7:28am 
Ja, einen Tag später ^^
[KaP] Portres Feb 10, 2021 @ 7:14am 
Hey the Original Creator also made an English version for this.