Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: RawiStar on March 01, 2014, 08:19:33 AM

Title: Change UTime Color
Post by: RawiStar on March 01, 2014, 08:19:33 AM
Hi people

I'm pretty new to coding.

I would just like to know, where in the cl_utime.lua i'm gonna change the code and what color code I need to use.

I would like something similar to this: http://gyazo.com/8a4e87c5df60d7a38d3f3322c92b1e42 (http://gyazo.com/8a4e87c5df60d7a38d3f3322c92b1e42)

Thanks :)
Title: Re: Change UTime Color
Post by: Megiddo on March 01, 2014, 02:59:27 PM
You can change the colors in the in-game configuration, no coding necessary.
Title: Re: Change UTime Color
Post by: RawiStar on March 02, 2014, 04:45:21 AM
In XGUI?

Cause I can't find it :/
Title: Re: Change UTime Color
Post by: MrPresident on March 02, 2014, 05:41:35 AM
There are no configurations for UTime in XGUI. You need to use the Q Menu settings in sandbox or a sandbox derived gamemode. Outside of Sandbox, I think the only way to change the settings for UTime is by changing the cvars through your console manually.

Correct me if I'm wrong. I've never actually used UTime.
Title: Re: Change UTime Color
Post by: Bytewave on March 02, 2014, 07:08:44 AM
...use the Q Menu settings in sandbox...
This fact has always kinda irked me about UTime... :l
Title: Re: Change UTime Color
Post by: MrPresident on March 02, 2014, 02:01:23 PM
UTime was made back before XGUI was even a sparkle in Stickly's eyes. Also, like most other official UProducts, UTime was written mostly with support in ind for Sandbox and Sandbox derived gamemodes.
Title: Re: Change UTime Color
Post by: Bytewave on March 02, 2014, 04:18:06 PM
UTime was made back before XGUI was even a sparkle in Stickly's eyes. Also, like most other official UProducts, UTime was written mostly with support in ind for Sandbox and Sandbox derived gamemodes.
Ah...
Hmm...
I wonder if any good Lua coders would make an XGUI based config system for UTime... *cough, cough*
Heh.
Title: Re: Change UTime Color
Post by: MrPresident on March 02, 2014, 09:02:24 PM
I've you're hinting at me, I have never done anything for XGUI. I prefer to use ULX/ULib oldschool (without menus).
Title: Re: Change UTime Color
Post by: Bytewave on March 03, 2014, 08:33:18 AM
I've you're hinting at me, I have never done anything for XGUI. I prefer to use ULX/ULib oldschool (without menus).
I was more or less hinting at any coder who was reading the forums at that moment. :P
Title: Re: Change UTime Color
Post by: Stickly Man! on March 03, 2014, 11:16:21 AM
UTime was made back before XGUI was even a sparkle in Stickly's eyes. Also, like most other official UProducts, UTime was written mostly with support in ind for Sandbox and Sandbox derived gamemodes.

Mmmm.... Sparkles... (drool)

I think the reason we really haven't made UTime XGUI compatible is because it does not depend on ULX whatsoever- you can use UTime without having ULX or XGUI installed. However, there's no reason we can't have it detect if XGUI is installed. Or even easier, we can just create the XGUI module for UTime, and it'll be ignored if ULX isn't installed!

.. Thinking about how trivially easy this would be, I really want to do this now. My problem is finding a large enough free chunk of time.. :P
Title: Re: Change UTime Color
Post by: Megiddo on March 10, 2014, 03:41:04 PM
I think I remember asking Stickly to do UTime configuring in XGUI... or maybe that was UPS. Hmm, time flies.
Title: Re: Change UTime Color
Post by: Bytewave on March 10, 2014, 05:05:35 PM
Mmmm.... Sparkles... (drool)

I think the reason we really haven't made UTime XGUI compatible is because it does not depend on ULX whatsoever- you can use UTime without having ULX or XGUI installed. However, there's no reason we can't have it detect if XGUI is installed. Or even easier, we can just create the XGUI module for UTime, and it'll be ignored if ULX isn't installed!

.. Thinking about how trivially easy this would be, I really want to do this now. My problem is finding a large enough free chunk of time.. :P
I really wish you would! It would be so much better than only specifically sandbox-derivative gamemode support! :D