Author Topic: Change UTime Color  (Read 4786 times)

0 Members and 4 Guests are viewing this topic.

Offline RawiStar

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Change UTime Color
« 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

Thanks :)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Change UTime Color
« Reply #1 on: March 01, 2014, 02:59:27 PM »
You can change the colors in the in-game configuration, no coding necessary.
Experiencing God's grace one day at a time.

Offline RawiStar

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Change UTime Color
« Reply #2 on: March 02, 2014, 04:45:21 AM »
In XGUI?

Cause I can't find it :/

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Change UTime Color
« Reply #3 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.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Change UTime Color
« Reply #4 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
bw81@ulysses-forums ~ % whoami
Homepage

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Change UTime Color
« Reply #5 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.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Change UTime Color
« Reply #6 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.
bw81@ulysses-forums ~ % whoami
Homepage

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Change UTime Color
« Reply #7 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).

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Change UTime Color
« Reply #8 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
bw81@ulysses-forums ~ % whoami
Homepage

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Change UTime Color
« Reply #9 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
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Change UTime Color
« Reply #10 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.
Experiencing God's grace one day at a time.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Change UTime Color
« Reply #11 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
bw81@ulysses-forums ~ % whoami
Homepage