Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: Megiddo on January 20, 2009, 08:22:37 PM

Title: ULX Radial Menu
Post by: Megiddo on January 20, 2009, 08:22:37 PM
This is a client side addon that adds a new menu for ULX; a radial menu! When you're looking near someone and trigger the bind +ulxradial (and hold the button down!), your view will lock onto the player and you'll get a radial menu with a few key commands. To execute a command, simply move the mouse toward the area of the command you want to execute. To cancel, leave the mouse in the center area.

(http://forums.ulyssesmod.net/index.php?action=dlattach;topic=3838.0;attach=191;image)

See attachment for download. You must be registered with the forum to see attachments.

Key things to remember:


Yes this menu's not the prettiest thing in the world, but it gets the job done. If someone wants to make it cooler looking and re-release, do so with my blessing (just give credit to me for the original!).

I realize that there's some cool things that I could have done with the menu that I didn't, I want to gauge reception to this idea before I spend more than a few hours with it.

Thanks to Jay or spbogie for giving me this idea. (I don't remember which of you it was..)
Title: Re: ULX Radial Menu
Post by: Megiddo on January 20, 2009, 10:41:23 PM
As requested by Mr. President, you don't have to be looking directly at a player for the bind to work anymore, just near them.
Title: Re: ULX Radial Menu
Post by: jay209015 on January 21, 2009, 12:02:58 PM
Quote
Thanks to Jay or spbogie for giving me this idea. (I don't remember which of you it was..)
     - Me :D
Quote
You need to be looking near someone for the bind (+ulxradial) to do anything.
     - What if there are multiple people in the area? Does is execute on the person closest to where you are looking?

Also, something that would be cool would be if you look at a prop instead of a player, you get the option to remove prop, remove all owners props, ect...
Title: Re: ULX Radial Menu
Post by: Megiddo on January 21, 2009, 12:25:22 PM
     - Me :D     - What if there are multiple people in the area? Does is execute on the person closest to where you are looking?

Also, something that would be cool would be if you look at a prop instead of a player, you get the option to remove prop, remove all owners props, ect...

It locks onto the person nearest to the angle you're looking in. Guess I should have put some priority on closeness too...

As far as props, that sounds like something that would be better suited for UPS.
Title: Re: ULX Radial Menu
Post by: JamminR on January 21, 2009, 03:07:57 PM
Great work Megiddo.
Once you get some more finalization to it with the ideas being suggested, I recommend release to the zooFacepunch Studios releases area.
I mean, we do seem to have GUI competition now. Let's show the doubters that we've been 'admin mod must allow for plugins' compliant for much longer, and that GUI could have been added if only someone would have taken the time long ago instead of reinventing the wheel. :)
Title: Re: ULX Radial Menu
Post by: ahref on January 21, 2009, 03:33:39 PM
some transparency on the menu would be nice so you can see the player behind the menu but i think i can mess with that myself.

nice idea and keeps the flow of gameplay going rather then stopping and having to go through the menu and find the player that you want to kick. especially good for those people who have the weird characters áéí etc

Title: Re: ULX Radial Menu
Post by: MrPresident on January 21, 2009, 05:44:13 PM
(http://www.g4p.org/images/seal.gif)

I definitely like the idea of this.. Partial Transparency on the menu items would be nice, as long as it doesnt hinder the application of the program.

I will definately be using this to moderate my servers. =)
Title: Re: ULX Radial Menu
Post by: Megiddo on January 22, 2009, 10:24:02 AM
How about this?
Title: Re: ULX Radial Menu
Post by: jay209015 on January 22, 2009, 12:04:26 PM
smaller radius, less opacity, and something besides green for the lines and it's all good for me :D
Title: Re: ULX Radial Menu
Post by: ahref on January 22, 2009, 02:15:45 PM
that looks great :D
Title: Re: ULX Radial Menu
Post by: JamminR on January 22, 2009, 02:36:09 PM
Have the other options 'grey out'/become unusable  (with exception of kick/cancel) if a player is already exclusive?
Have the buttons automatically change to thier opposite action if exclusivity is set?

Your example shows both Freeze and Unfreeze (taking up two menu slots).
No unjail.
However, if a player is jailed, they can't be frozen too, so make 'Unjail' appear in Jail's place and grey out the other options.

I've not yet looked at the code to see the challenge in that. I just like the 'purty' pictures.
Title: Re: ULX Radial Menu
Post by: ahref on February 03, 2009, 04:12:47 PM
heres my attempt:

(http://i25.photobucket.com/albums/c69/iframe/radial.png)

Still working on it im using Night Eagle's Circle Drawing (http://www.facepunch.com/showpost.php?p=6271652&postcount=19) to get the circles.
Title: Re: ULX Radial Menu
Post by: jay209015 on February 03, 2009, 09:00:42 PM
I like it!
Title: Re: ULX Radial Menu
Post by: Samusaaron3 on February 21, 2009, 11:37:51 AM
Unknown command: +ulxradial
Unknown command: -ulxradial

Yes, I did install it on my computer, not on a server.
Title: Re: ULX Radial Menu
Post by: Megiddo on February 21, 2009, 12:08:46 PM
Unknown command: +ulxradial
Unknown command: -ulxradial

Yes, I did install it on my computer, not on a server.

You didn't install it correctly or you didn't restart your client (complete restart).
Title: Re: ULX Radial Menu
Post by: Samusaaron3 on February 21, 2009, 02:17:47 PM
You didn't install it correctly or you didn't restart your client (complete restart).

I have the folder from the zip file in my garrysmod/addons folder. I have ulx/ulib installed both on my computer and the server I am connected to. After I installed the file, I quit and restarted gmod.