Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Vizzy on November 04, 2012, 03:47:43 PM

Title: votekick question
Post 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.
Title: Re: votekick question
Post by: Megiddo on November 04, 2012, 04:53:25 PM
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.
Title: Re: votekick question
Post by: Vizzy on November 04, 2012, 05:10:57 PM
could it be changed to 9 or 0
Title: Re: votekick question
Post by: Megiddo on November 04, 2012, 05:58:29 PM
Yes, it could be changed to different numbers.
Title: Re: votekick question
Post by: Vizzy on November 04, 2012, 06:18:06 PM
can you point me in the file direction to change that good sir
Title: Re: votekick question
Post by: Stickly Man! on November 05, 2012, 12:14:09 AM
Unless I'm mistaken, I believe it's in addons\ulx\lua\ulx\cl_lib.lua, line 93:
Code: [Select]
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.
Title: Re: votekick question
Post by: Vizzy on November 05, 2012, 09:30:40 PM
Unless I'm mistaken, I believe it's in addons\ulx\lua\ulx\cl_lib.lua, line 93:
Code: [Select]
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