Ulysses

General => Developers Corner => Topic started by: Baron Von Haxor on May 09, 2015, 10:08:29 AM

Title: ULX Colour Palette
Post by: Baron Von Haxor on May 09, 2015, 10:08:29 AM
Is there any way to include a colour palette into a ULX addon and somehow use the input from it?
Thanks for any help in advance :)
Title: Re: ULX Colour Palette
Post by: Megiddo on May 09, 2015, 01:41:51 PM
You'll have to be a little more vague. ;)

What are you talking about?
Title: Re: ULX Colour Palette
Post by: Baron Von Haxor on May 09, 2015, 06:43:50 PM
Something like this: http://prntscr.com/73hxql (http://prntscr.com/73hxql)
Title: Re: ULX Colour Palette
Post by: Stickly Man! on May 11, 2015, 11:11:17 AM
Those fonts on mac D: (or linux?)

Anywho- that area of XGUI uses default ULib supported arguments (http://ulyssesmod.net/docs/files/lua/ulib/shared/commands-lua.html)- Player(s), Number, Bool, and String are the main ones. Unfortunately, ULX does not support a ColorArg, so there's not any easy way to have one show up there on the cmds tab in XGUI. :( That does sound like a potentially useful argument type, though. We may consider it in the future if time allows.
Title: Re: ULX Colour Palette
Post by: Professor_Smiley on May 11, 2015, 11:15:51 AM
Those fonts on mac D: (or linux?)

Anywho- that area of XGUI uses default ULib supported arguments (http://ulyssesmod.net/docs/files/lua/ulib/shared/commands-lua.html)- Player(s), Number, Bool, and String are the main ones. Unfortunately, ULX does not support a ColorArg, so there's not any easy way to have one show up there on the cmds tab in XGUI. :( That does sound like a potentially useful argument type, though. We may consider it in the future if time allows.

Wrong. I've seen such a color palette in a server with lots of custom ulx stuff.
Title: Re: ULX Colour Palette
Post by: Aaron113 on May 11, 2015, 04:27:37 PM
Wrong. I've seen such a color palette in a server with lots of custom ulx stuff.
He's the creator of XGUI, so I hope he knows.  The server probably created it themselves.