herig2 Posted May 31, 2010 Posted May 31, 2010 I have tried doing a search, and looking in any files that seem to be link to the MP chat window. And been very unsuccessful. Does any one know or can suggest what files, that the chat colors are located. I trying to change the color of the blue side chat. The dark blue is very hard to see against a dark background, such as a overcast sky or at night. [sIGPIC][/sIGPIC]
Nate--IRL-- Posted June 1, 2010 Posted June 1, 2010 I suspect it is hard coded, but if you find a way to change it I'm interested too. Blue text is very difficult to read. Nate Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
herig2 Posted June 1, 2010 Author Posted June 1, 2010 Maybe someone from ED can give me a hint, I now looking in the Theme LUA file. Could the chat text color be designate to something such as, setMEScrollthemeColor ? [sIGPIC][/sIGPIC]
ED Team c0ff Posted June 1, 2010 ED Team Posted June 1, 2010 It's possible to change message colors, but it requires a minor tweak: in Scripts/net/main.lua line 62: -- bind config server.config = config.server client.config = config.client add a line: -- bind config server.config = config.server client.config = config.client ui = config.ui -- <--THIS LINE Now, you can add a section to your Config/network.cfg: ui = { local_player_color = 0xE8C500, other_player_color = 0xFFFFFF, log_msg_color = 0xFF9000, side_none_color = 0xFFFFFF, side_red_color = 0xFF0000, side_blue_color = 0x0000FF, } I've shown default values. Hope you can figure out the meaning of variables yourself. 2 Dmitry S. Baikov @ Eagle Dynamics LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.
Case Posted June 1, 2010 Posted June 1, 2010 I've shown default values. Hope you can figure out the meaning of variables yourself. For anyone wondering what they mean: http://html-color-codes.com/ Anything after the 0x are hexadecimal color codes, specifying red, green and blue in hexadecimal numbers running from 0 (00) to 255 (FF). So red is FF0000, green is 00FF00 and blue is 0000FF. There are only 10 types of people in the world: Those who understand binary, and those who don't.
herig2 Posted June 2, 2010 Author Posted June 2, 2010 cOFF Thanks for the info, and Case for the link. I'll play around with the values during the next few days, and I'll let you know how it work. [sIGPIC][/sIGPIC]
Sov13t Posted June 2, 2010 Posted June 2, 2010 Great. Thanks a lot c0ff! Perhaps move this to the Mod Section? The blue definitely needs tweaking. [sIGPIC][/sIGPIC] 51st PVO Regiment | Forum | Statistics DCS: MiG-21Bis
Boberro Posted June 2, 2010 Posted June 2, 2010 Gooood, this what I've been waiting since LO1! I rarely could read blue text... it was too darky. Reminder: Fighter pilots make movies. Bomber pilots make... HISTORY! :D | Also to be remembered: FRENCH TANKS HAVE ONE GEAR FORWARD AND FIVE BACKWARD :D ಠ_ಠ ツ
ED Team c0ff Posted June 3, 2010 ED Team Posted June 3, 2010 Perhaps move this to the Mod Section? The blue definitely needs tweaking. Moderators! Please ;) Dmitry S. Baikov @ Eagle Dynamics LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.
herig2 Posted June 5, 2010 Author Posted June 5, 2010 Ok, I was thrown a curve, I copy and paste the section that had the hexadecimal color codes. but when I open the file they were change to a run of numbers. After playing around I found that after inserting the hexadecimal color code, it would change to a run of numbers. ( not being a computer guy, I do not know the how or the whys for the change). The hard part was choosing a color. Being a ground pounder green, brown, tan was out. Sunrise or sunsets ruled out yellow, and light blue was a no-no. White is used by the servers. I settle on a bright pink. It also catches my eye if I studying the ground. (looking for targets). [sIGPIC][/sIGPIC]
Shootist Posted March 26, 2011 Posted March 26, 2011 Chat Mode Colour Wondering if there is any way to change the received chat colour? Dark Blue at present and I miss a lot of what is being typed. I need it to stick out more. Preferably white. Asus P8P67Pro, Intel i7, 8gb DDR3, OCZ Vertex3, 120gb SSD, GForce GTX 560, Cooler Master GX850, Win 7, Logi X 3D Pro.
Boberro Posted March 26, 2011 Posted March 26, 2011 Yes it is possible. Search is your friend :) http://forums.eagle.ru/showpost.php?p=917182&postcount=4 Reminder: Fighter pilots make movies. Bomber pilots make... HISTORY! :D | Also to be remembered: FRENCH TANKS HAVE ONE GEAR FORWARD AND FIVE BACKWARD :D ಠ_ಠ ツ
Nate--IRL-- Posted March 26, 2011 Posted March 26, 2011 Colour Codes -> http://www.nthelp.com/colorcodes.htm Nate Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
Baggy MacDouche Posted April 6, 2011 Posted April 6, 2011 I still don't get how to do this. As per the instructions, I found the main.lua file in the Scripst/Net folder and added the line. But I can't find the network.cfg file in the Config folder. I'm thinking that the files structure may have changed since final. Corsair Graphite 780T / ASUS Maximus VIII Hero / i7-6700K@4.5GHz / Corsair H110i / 32GB DDR4 PC-2666 / ASUS 1080 Strix / EVGA 850 Pro / Samsung 950 Pro M.2 SSD / Win10x64 / Samsung UN48JU7500 4k / Logitech G910/933 KB/Headphones / Razer Naga Epic Mouse / MFG Crosswinds / TM HOTAS Warthog / HTC Vive
Case Posted September 23, 2011 Posted September 23, 2011 This mod also works in A-10C, the only thing is that network.cfg is located in $HOME\Saved Games\DCS Warthog\Config\network.cfg Thanks to c0ff for pointing this out. It's possible to change message colors, but it requires a minor tweak: in Scripts/net/main.lua line 62: -- bind config server.config = config.server client.config = config.client add a line: -- bind config server.config = config.server client.config = config.client ui = config.ui -- <--THIS LINE Now, you can add a section to your Config/network.cfg: ui = { local_player_color = 0xE8C500, other_player_color = 0xFFFFFF, log_msg_color = 0xFF9000, side_none_color = 0xFFFFFF, side_red_color = 0xFF0000, side_blue_color = 0x0000FF, } I've shown default values. Hope you can figure out the meaning of variables yourself. There are only 10 types of people in the world: Those who understand binary, and those who don't.
july865 Posted January 3, 2014 Posted January 3, 2014 i have tried this for 1.2.7. it does not appear to work. can some one confirm? Asus x99, i7 5930k, 32g mem, MSI 1070GTX, 970 Samsung M.2, LG 35in Ultra-Wide, TrackIR 4 Thrustmaster Warthog HOTAS [sIGPIC][/sIGPIC]
fill Posted January 4, 2014 Posted January 4, 2014 Thats ok, its work ! In script/net/main.lua Have you done exactly this: -- bind config server.config = config.server client.config = config.client ui = config.ui ui = { local_player_color = 0xE8C500, other_player_color = 0x0099FF, log_msg_color = 0xFF9000, side_none_color = 0x0099FF, side_red_color = 0xFF0000, side_blue_color = 0xFFFF00, } For me that work ok Have a good day
july865 Posted January 6, 2014 Posted January 6, 2014 thank you. it worked great. but i went back to change the color again, as i had changed it to a hex green color. so now when i opened the network.cfg file in notepad++, i get this ui = { local_player_color = 15254784, other_player_color = 16777215, side_red_color = 16711680, side_none_color = 16777215, log_msg_color = 16748544, side_blue_color = 3394560, let me say it DOES work and the new color i put in is being displayed, but now im reluctant to change the color again because it not in hex form. did it re-write itself? do i insert a hex code or something else? Asus x99, i7 5930k, 32g mem, MSI 1070GTX, 970 Samsung M.2, LG 35in Ultra-Wide, TrackIR 4 Thrustmaster Warthog HOTAS [sIGPIC][/sIGPIC]
fill Posted January 6, 2014 Posted January 6, 2014 Well, i open main.lua with PSPad, its free and véry nice, try with, please ! And if you could speak french, that would be better for me .
Raven68 Posted May 12, 2014 Posted May 12, 2014 let me say it DOES work and the new color i put in is being displayed, but now im reluctant to change the color again because it not in hex form. did it re-write itself? do i insert a hex code or something else? I stumbled on this site that seems to have the conversions you may be looking for. http://www.colorhexa.com/44faf8 Intel i5-9600K @ 3.7GHz; Gigabyte Z370XP SLI Mobo; G.SKILL Ripjaws V Series 64GB (4 x 16GB) 288-Pin DDR4 GIGABYTE GeForce RTX 4080 16GB 256-Bit GDDR6; Thermaltake Water 3.0 Certified Liquid Cooling System Windows 11 Professional HP Reverb G2 /TrackIR 5 in case VR dies; Thrustmaster HOTAS Warthog w/ Thrustmaster T-Flight Rudder Pedals
TRITATUTTO Posted September 1, 2015 Posted September 1, 2015 Dont work anymore , i tryed to put those lines in that files but nothing, the chat text reamain blue AMD Phenom II x4 945 3.0ghz 8G Ram Windows 7 64bit ATI Radeon HD 5700 1G
fill Posted September 2, 2015 Posted September 2, 2015 Dont work anymore , i tryed to put those lines in that files but nothing, the chat text reamain blue Hello Tritatuito, look at my main.lua :http://www.mediafire.com/download/7fnxzsu31z2p3nj/main.zip and try whith it. Enjoy. 1
TRITATUTTO Posted September 2, 2015 Posted September 2, 2015 Hello Tritatuito, look at my main.lua :http://www.mediafire.com/download/7fnxzsu31z2p3nj/main.zip and try whith it. Enjoy. Thank you dude it works now i can change the colour, + rep ! AMD Phenom II x4 945 3.0ghz 8G Ram Windows 7 64bit ATI Radeon HD 5700 1G
Recommended Posts