people playing: 132, servers online: 36, games played: 142,000,000 Top Player: Cicada3301

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Aug 1, 2015   #1
XNomadic
Member
 
2nd Dan Black Belt
Join Date: Apr 2015
Posts: 78



Chat Colors
Can someone make me a script that allows you to change the colors of text in the chat? Because I like dark shaders but when I use them I can't see what people are saying. Thanks in advance!
-----
bump
nobody loves me
I couldn't think of a signature so i just put this here.

Last edited by XNomadic; Aug 2, 2015 at 02:13 AM.. Reason: <24 hour edit/bump
XNomadic is offline   Reply With Quote
Old Oct 15, 2015   #2
DuckHuntP
Member
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 87



I'm not 100% sure, but i think you can alter this in the shader file.

in "default.inc" shader there is:

Code:
text 0.01 0.01 0.01 text_bg 1.0 1.0 1.0 text_sel 0.16 0.66 0.86 text_disabled 0.5 0.5 0.5 menu_text 0.01 0.01 0.01 menu_text_bg 1.0 1.0 1.0 menu_text_sel 0.16 0.66 0.86 menu_text_disabled 0.5 0.5 0.5 msg_notype 0.01 0.01 0.01 msg_whisper 0.1 0.1 0.5 msg_server 0.5 0.5 0.5 msg_urlserver 0 0 1, msg_ingame 0.58 0 0, msg_gamurl 0 0 1, msg_user 0.01 0.01 0.01 msg_player 0.4 0.2 0 msg_url 0.16 0.66 0.86 msg_urlsel 1 0 1
to make for example "msg_server" completely red, im GUESSING:

msg_server 1 0 0

would do that. While blue would be

msg_server 0 0 1

Where these 3 values are amounts of Red, Green, Blue. (50% grey would then be 0.5 0.5 0.5)

Some shader *.inc files do not have these, but i'm guessing adding them to those shader inc's would make them not just use the default values. And then you can modify them.

They (the shader inc files) are located in <toribashfolder>/data/shader directory, and are simply text files that im guessing would open fine in any text editor, even Notepad.

You could make a copy of "default.inc", name the copied file however you want, and experiment. To load it in game, just type "/lws <filename.inc>", or by using the option menu for shaders.

Last edited by DuckHuntP; Oct 26, 2015 at 05:22 PM..
DuckHuntP is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:22 AM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game