Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Vizzy on November 04, 2012, 03:47:43 PM
-
So i own a server and I use ULX and I love it but i do have one thing i perceive to be a problem.
If an admin calls a votekick if brings up a box where you vote yes with 1 and no with 2.
I'm curious if its possible to change these keys to say pgup for yes and pgdn for no?
Also is it possible to make the popup slightly more transparent.
Id like to give certain usergroups the votekick command but atm it interrupts the game because some people use the 1 and 2 keys to switch weapons, thus it can be abused slightly.
-
You can't change it to use page up and page down (at least not reliably) -- gmod limitation.
You can make it more transparent by changing the values for transparency in cl_lib.lua I believe.
-
could it be changed to 9 or 0
-
Yes, it could be changed to different numbers.
-
can you point me in the file direction to change that good sir
-
Unless I'm mistaken, I believe it's in addons\ulx\lua\ulx\cl_lib.lua, line 93:
draw.RoundedBox( 8, 10, ScrH()*0.4 - 10, w + 20, totalh, Color( 111, 124, 138, 200 ) )
Lower the 200 on that Color() and should be more transparent.
-
Unless I'm mistaken, I believe it's in addons\ulx\lua\ulx\cl_lib.lua, line 93:
draw.RoundedBox( 8, 10, ScrH()*0.4 - 10, w + 20, totalh, Color( 111, 124, 138, 200 ) )
Lower the 200 on that Color() and should be more transparent.
thanks but i more meant where can one change the numbers you vote yes or no with