Garry's Mod
[TTT2] Role Info
44 件のコメント
AelitaStonks 2024年9月22日 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 2024年9月22日 8時59分 
Hey, thanks for the quick response. How can I do this?
Blechkanne  [作成者] 2024年9月22日 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 2024年9月21日 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 2024年8月28日 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 2024年6月13日 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  [作成者] 2024年6月13日 16時06分 
hey sundia feel free to implement it, i don't play gmod as much as before
Sundia 2024年6月13日 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 2024年6月11日 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  [作成者] 2024年3月26日 4時18分 
Added several Roles!
Wuppi-Kun 2024年3月23日 18時27分 
Can you add some Roles Pls?
-Anonymous
-Chef
-Loot Goblin
-Mayor
-Mute
-Speedrunner

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