Ulysses Stuff > Ulysses Release Archives

ULX Radial Menu

(1/4) > >>

Megiddo:
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.



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

Key things to remember:
[*]This is a client side addon. Don't whine when you install it to a server and it doesn't work.
[*]You need to be looking near someone for the bind (+ulxradial) to do anything.
[*]You need to hold the button down. When you release the button, a command will execute (or cancel if you leave it in the center).
[*]If you have any knowledge of lua at all, you can modify the table at the top of the file to make the menu have whatever commands you want.
[*]This is a ulx addon; It won't load if the server doesn't have ulx.

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..)

Megiddo:
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.

jay209015:

--- Quote ---Thanks to Jay or spbogie for giving me this idea. (I don't remember which of you it was..)
--- End quote ---
     - Me :D

--- Quote ---You need to be looking near someone for the bind (+ulxradial) to do anything.
--- End quote ---
     - 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...

Megiddo:

--- Quote from: jay209015 on January 21, 2009, 12:02:58 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...

--- End quote ---

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.

JamminR:
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. :)

Navigation

[0] Message Index

[#] Next page

Go to full version