Jump to content

Recommended Posts

Posted

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]

Posted

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
Posted

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.

  • Like 2

Dmitry S. Baikov @ Eagle Dynamics

LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.

Posted
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.

Posted

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]

Posted

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

ಠ_ಠ



Posted

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]

  • 9 months later...
Posted

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.

  • 2 weeks later...
Posted

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

  • 5 months later...
Posted

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.

  • 1 year later...
  • 4 months later...
Posted

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]

Posted

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

Posted

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]

Posted

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 .

  • 4 months later...
Posted

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

 

  • 1 year later...
Posted

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

Posted
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.

  • Like 1
Posted
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...