Ulysses Stuff > Ulysses Release Archives
UGest - Mouse Gestures in GMod
spbogie:
Description:
For anyone who has used mouse gestures in another program (browsers especailly) you know that they can allow for quick and easy access to common functions. UGest brings such mouse gestures to GMod.
Features:
* 100% Client side.
* Create gestures for any console command.
* Optional mouse tail while drawing gestures.
* Seperatly customizable colors for both tail and text.
Tips:
* If you are having trouble drawing a gesture consistantly, try changing the gest_mindist CVAR This value defines how many pixels away you must move the mouse for it to register a new point.
* Pause momentarily at each corner, this will help you create more easily recognizable changes in direction.
* If you just can't get it, consider a less complicated gesture.
* Avoid creating gestures that could be easily mistaken for eachother. (ie. LU and L9U)
Commands/CVARS:
* gest_create <gesture> <name> <command> - Create a new gesture. (If the command contains spaces then it must be enclosed in quotes)
* gest_list - List all defined gestures.
* +gesture - Bind this to a key to use gestures
* gest_mindist <pixels> - Minimum number of pixels the mouse must move before defining a new point (Default: 15)
* gest_drawtail <0|1> - Whether or not to draw the tail behind the mouse (Default: 1)
* gest_tail_* <0-255> - Define the RGBA color of the mouse tail
* gest_text_* <0-255> - Define the RGBA color of the text
Set-up/use:
1) Place ugest.lua in your /garrysmod/lua/autorun/client directory.
2) If you want to use the example gestures place gesture.txt in your /garrysmod/data directory.
3) Bind a key to +gesture (I use mouse3).
4) Hold down the +gesture button and draw your gesture.
5) Release the +gesture button to execute the command.
Screenshot:
(Picture is blurry, that orange spot is actually a very clear line when ingame.)
Download:
http://www.ulyssesmod.net/spbogie/UGest.zip
Megiddo:
Another quality release by spbogie.
I suck at drawing so I can only use the simplest of shapes, but it's really handy for doing an action quickly!
spbogie:
I missed renaming something in the first release. It has been fixed and the download updated.
Chironex:
Looks useful but..I don't understand what it does lol ?
You draw something on the screen then what, why tool_remover ?
spbogie:
The gesture in the picture is RL, meaning I drew right then left. On the bottom it is showing what the currently drawn gesture is, and what it will do. tool_remover is the command tied to the RL gesture, and is executed when the +gesture button is released after drawing Right then Left. All gestures are fully customizable by the end user. You don't need to have a tool_remover gesture if you don't want one.
Navigation
[0] Message Index
[#] Next page
Go to full version