Ulysses
General => Developers Corner => Topic started by: Jethro 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?
-
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 (http://forums.ulyssesmod.net/index.php/topic,663.0.html)
-
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.
-
@@ 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.
-
Haha. I fail. I thought you meant chat color. Sorry.
/me is embarrassed
-
@@ 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. :)
-
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)?
-
Wrong Megiddo, we draw csay ourselves, but tsay just calls ply:ChatPrint().
@ = asay
@@ = tsay
@@@ = csay
-
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.
-
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
-
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?
-
Jethro,
There is no way to change the text color. This is a limitation of Source, not gmod or ULX.
-
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)
-
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