Conversation
This reverts commit 5d4ea01.
Co-authored-by: nike4613 <danike@cirr.com>
…nto role-scrutability
It records quite a lot of information, including lots of cloned tables, and persists them for an arbitrary amount of time. For large player counts, this could hypothetically become an issue, and I dislike silently changing behavior, even if it should be mostly transparent like this. |
Ok, makes sense. If you think that it is too heavy, then it is probably the best. Personally I chose to enable things by default and give users the option to disable it. So they see that it is there and can disable it if they so chose |
TimGoll
left a comment
There was a problem hiding this comment.
Not an in-depth review. I might take another look at your derma code. But overall this looks pretty good to me. You have a few blobs of dead code in your code, which should be removed. Also either tackle the ToDos, or remove them
gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dpippanel_ttt2.lua
Outdated
Show resolved
Hide resolved
TimGoll
left a comment
There was a problem hiding this comment.
Mostly just minor nitpicks that build on top stuff already pointed out.
Don't get me wrong, because I'm really impressed by the stuff you did here, but most of my comments are about stuff you are able to spot yourself in 10 minutes when scrolling through the diff. This could have been quicker for you, if you removed any dead code :D
Thank you!
gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dplayergraph_ttt2.lua
Outdated
Show resolved
Hide resolved
gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dplayergraph_ttt2.lua
Outdated
Show resolved
Hide resolved
gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dplayergraph_ttt2.lua
Outdated
Show resolved
Hide resolved
UI when an unknown layer is encountered
Histalek
left a comment
There was a problem hiding this comment.
the function typo needs fixing, otherwise this seems good to go :)
Amazing work!
Co-authored-by: Histalek <16392835+Histalek@users.noreply.github.com>
This PR adds an admin UI to inspect how and why role distribution selects certain roles, and why it distributes those roles to players. The goal here is to assist admins in understanding the role distribution process, so they can more effectively tweak the parameters involved, and better see their effects. This also includes a graphic showing player weights during role distribution (if derandomization is enabled) which can assist debugging that as well as help intuition when tweaking it. Some of the graphics are a touch jank, and in particular I wish there was a good way to get an icon in the label of a collapsible form, but just role names probably works fine anyway. This PR is based on (and soft depends-on) TTT-2#1702. That dependency can be removed if necessary. Screenshots:            --------- Co-authored-by: Tim Goll <github@timgoll.de> Co-authored-by: Histalek <16392835+Histalek@users.noreply.github.com>


This PR adds an admin UI to inspect how and why role distribution selects certain roles, and why it distributes those roles to players.
The goal here is to assist admins in understanding the role distribution process, so they can more effectively tweak the parameters involved, and better see their effects.
This also includes a graphic showing player weights during role distribution (if derandomization is enabled) which can assist debugging that as well as help intuition when tweaking it.
Some of the graphics are a touch jank, and in particular I wish there was a good way to get an icon in the label of a collapsible form, but just role names probably works fine anyway.
This PR is based on (and soft depends-on) #1702. That dependency can be removed if necessary.
Screenshots:










