ULX

Author Topic: Change the Admin writing to red.  (Read 6124 times)

0 Members and 1 Guest are viewing this topic.

Jethro

  • Guest
Change the Admin writing to red.
« on: July 20, 2007, 04:59:40 AM »
Hi,
I have ULX "3.11" & ULIB "2.05".
I have been looking for ages to see where I can change the color of the Admin writing to Red when say:
@@ Message.

Can anyone help me?

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: Change the Admin writing to red.
« Reply #1 on: July 20, 2007, 07:31:23 AM »
UTeam allows a lot of customization as far as groups go. It's your best bet.

http://forums.ulyssesmod.net/index.php/topic,663.0.html

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Change the Admin writing to red.
« Reply #2 on: July 20, 2007, 07:47:23 AM »
What the crap are you talking about spark?

Jethro, you can specify the color by passing extra parameters to ULib.csay from the ULX command callback.
Experiencing God's grace one day at a time.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Change the Admin writing to red.
« Reply #3 on: July 20, 2007, 07:55:04 AM »
@@ is tsay, in which case there is no way to change it. The color of these messages is defined in the game engine and can not be changed.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: Change the Admin writing to red.
« Reply #4 on: July 20, 2007, 08:44:05 AM »
Haha. I fail. I thought you meant chat color. Sorry.

* atomicspark is embarrassed

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Change the Admin writing to red.
« Reply #5 on: July 20, 2007, 10:58:46 AM »
@@ is tsay, in which case there is no way to change it. The color of these messages is defined in the game engine and can not be changed.

Wrong spbogie, we're drawing it ourself. :)
Experiencing God's grace one day at a time.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: Change the Admin writing to red.
« Reply #6 on: July 20, 2007, 11:07:53 AM »
Interesting. Now I'm interested in this myself. Megiddo, give an example of how one would go about doing this.

Is it "ulx tsay 255 0 0 255" for red (red green blue alpha)?

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Change the Admin writing to red.
« Reply #7 on: July 20, 2007, 12:04:52 PM »
Wrong Megiddo, we draw csay ourselves, but tsay just calls ply:ChatPrint().
@ = asay
@@ = tsay
@@@ = csay
« Last Edit: July 20, 2007, 12:06:26 PM by spbogie »
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Change the Admin writing to red.
« Reply #8 on: July 20, 2007, 01:21:45 PM »
Oops, dunno why I assumed csay. Spbogie is right then, it's done by the engine and we don't have any control over it.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Change the Admin writing to red.
« Reply #9 on: July 20, 2007, 05:59:14 PM »
Wow.
Scary. Flashback to http://forums.ulyssesmod.net/index.php/topic,1039.0.html
:P

Jethro,
 There is no current way in ULX to adjust the color of @@ (aka tsay) messages
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Jethro

  • Guest
Re: Change the Admin writing to red.
« Reply #10 on: July 21, 2007, 04:00:34 AM »
Ok, Thank You very much for all your help ist been driving me cracy looking for all the files seeing how to change the color to red =).
Do you think it will be in the next version or do I have to go and do this in the Suggestions part of the forum?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Change the Admin writing to red.
« Reply #11 on: July 21, 2007, 09:53:57 AM »
Jethro,
 There is no way to change the text color. This is a limitation of Source, not gmod or ULX.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Change the Admin writing to red.
« Reply #12 on: July 21, 2007, 11:43:50 AM »
Jethro,
 There is no way to change the text color. This is a limitation of Source, not gmod or ULX.

We could change the color but we'd have to do something like what Conna did with CEmote, completely override the entire chatbox. Not an elegant solution for this problem. :)

So, in short: We can't do this feature and we will never be able to unless garry changes it himself. (And no, we're not going to go with the CEmote idea)
Experiencing God's grace one day at a time.

Offline Neico

  • Newbie
  • *
  • Posts: 13
  • Karma: 4
    • Neic0.de
Re: Change the Admin writing to red.
« Reply #13 on: September 22, 2007, 12:31:57 PM »
hm maybe ill include a custom chat window that looks the same as the standard one execpt draw with derma into my skin im making for ulx would be a good idea :P