Garry's Mod

Garry's Mod

[TTT2] Role Info
44 opmerkingen
AelitaStonks 22 sep 2024 om 9:09 
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 om 8:59 
Hey, thanks for the quick response. How can I do this?
Blechkanne  [auteur] 22 sep 2024 om 4:07 
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 om 22:06 
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 om 4:42 
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 om 16:48 
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  [auteur] 13 jun 2024 om 16:06 
hey sundia feel free to implement it, i don't play gmod as much as before
Sundia 13 jun 2024 om 15:44 
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 om 2:03 
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  [auteur] 26 mrt 2024 om 4:18 
Added several Roles!
Wuppi-Kun 23 mrt 2024 om 18:27 
Can you add some Roles Pls?
-Anonymous
-Chef
-Loot Goblin
-Mayor
-Mute
-Speedrunner

That are very Nice :D
Blechkanne  [auteur] 13 jan 2024 om 12:32 
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 om 14:01 
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 om 14:13 
May this be open-sourced so mod developers can merge their roles into the system?
Blechkanne  [auteur] 21 sep 2022 om 14:02 
Are you using TTT2? @Chernould
You can extend the Addon using the ingame Editor Pawel. @pawel
Chernould 20 sep 2022 om 11:06 
For some reason, I dont see the role info editor in the f1 menu, what is causing this?
pawel99uk 27 aug 2022 om 11:09 
hey can u add my roles to this please. some like godfather,trickster,bandit,blitz etc. pls consider
Blechkanne  [auteur] 19 mei 2022 om 8:55 
Use the ingame editor to make your own descriptions for your server
NoColorFrog 19 mei 2022 om 3:39 
I want to add translation to this mod, what should I do?
Blechkanne  [auteur] 17 mei 2022 om 10:40 
Should work everything now, i moved the role detection to clientside. We tested it with Lycanthrope and Sidekick
Hannes 17 mei 2022 om 8:07 
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 mei 2022 om 8:04 
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  [auteur] 17 mei 2022 om 7:26 
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 mei 2022 om 5:51 
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 mei 2022 om 12:57 
Thank you.
Blechkanne  [auteur] 15 mei 2022 om 5:47 
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 mei 2022 om 0:07 
Please add the Link role to this addon for the role description.
Blechkanne  [auteur] 14 mei 2022 om 11:46 
Yeah i added the lycanthrope :)
The1337Gh0st 13 mei 2022 om 10:50 
Thanks for the fix, but I noticed that the Lycanthrope role is still incompatible somehow. Could you fix it?
Blechkanne  [auteur] 9 mei 2022 om 15:14 
Should be working now. it will show their team default role as in team innocents -> innocent etc.
The1337Gh0st 9 mei 2022 om 11:37 
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  [auteur] 1 mei 2022 om 8:46 
sure
mexikoedi 1 mei 2022 om 8:37 
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 om 14:06 
Very cool, thanks!
Blechkanne  [auteur] 27 apr 2022 om 12:42 
Added some more roles and customisation. If there are problems post them, i'll try to get them fixed asap
faye 26 apr 2022 om 18:53 
Looking forward to the update!
Lede 25 apr 2022 om 1:02 
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  [auteur] 24 apr 2022 om 10:52 
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 om 10:03 
Can I add my own role info to classes that are not yet supported here?
mexikoedi 14 nov 2021 om 3:42 
Es gibt mittlerweile noch mehr Rollen.
Siehe hier: https://sp.zhabite.com/sharedfiles/filedetails/?id=1737053146
Blechkanne  [auteur] 10 feb 2021 om 7:31 
Gab es früher mal, aber das Originale ist auf Privat gestellt. Dasselbe wie beim Marker
[KaP] Portres 10 feb 2021 om 7:29 
:D naja egal Haupsache es gibt das endlich ;) nice job!
Blechkanne  [auteur] 10 feb 2021 om 7:28 
Ja, einen Tag später ^^
[KaP] Portres 10 feb 2021 om 7:14 
Hey the Original Creator also made an English version for this.