• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

damage screen messages

Erm indeed. It's the first two characters that define transparency, "0x88FFFFFF" gives a roughly semi-transparent white result. Smaller numbers for more transparency.

Almost true. The first number(s) after the x are the transparency, but it's coded in binary. From decimal 16 to 255. But before you enter numbers you have to convert to binary: http://easycalculation.com/decimal-converter.php

so you see the decimal of 120 which is roughly halfway between 16 and 255 would be binary 78. So "0x78FFFFFF" would give your text about 1/2 transparency.

Now the remaining characters "0x78FFFFFF" are the colors. These are represented in HTML true colors: http://www.immigration-usa.com/html_colors.html

Transparency and color are changed in the viewui.xml file, but not the one found in your game folder. It's in the <C:\Documents and Settings\YOUR USER NAME\Application\Data\Microsoft\ YOUR GAME FOLDER> for Win XP. Other OS's you'll have to find your own path.

I've never found an entry that allows changes of the top of the screen warning text. If anyone figures this out, let me know.
 
Binary? Binary has only 1 and 0, so it can't be binary. 100 in binary is 4 in decimal...

It's hex. OK, now we know what to do! Thanks!
 
Egads! I never expected this level of interest, but I'm glad for it.

I think it has been narrowed down to line-by-line experimentation in fonts.xml with the colors and deciphering what is meant by the coding in there.

That'll take a bit of time, methinks, and it's time for me to go and get the Sailing Vessel Bridget out of mothballs and ready for the two week summer here in Maine, so I'll be slow in getting this done. I love this sim, but we're talking about sailing, man.

Thanks to all for the help and pointers.

I shall, of course, report any successes. I've said enough about the other.....
 
Binary? Binary has only 1 and 0, so it can't be binary. 100 in binary is 4 in decimal...

It's hex. OK, now we know what to do! Thanks!
Yes, of course, my slip. It's hexadecimal code. If you edit the colors in viewui.xml some of the new colors show as "top of the screen" messages but not the system messages like "player x shot down an enemy plane", or Pilot killed". The system messages always appear in dark blue. This would be good to change, but I've never found the file to edit to get a result. Good hunting everyone!
 
I've now toned the colours down to pastel shades that blend in with the sky and added 50% transparency as well. Difficult sometimes to tell what is what, but that's not unrealistic! The only thing I've left as bright is the "Selected Target" icon on the radar. Messages come up as enemy/friendly colours, also 50% transparent. Getting used to this... I've simply deleted the ViewUI in Applic Data and worked on the one in CFS root. Easier and more legible. Back it up first though!

<Colors FriendColor="0x78CCFFFF" EnemyColor="0x78CC9999" TargetColor="0x78CC0033" BogieColor="0x78FFFFFF" GoalColor="0x78FFFF66" HumanFriendColor="0x78CCFFFF" HumanEnemyColor="0x78CC9999"/>
 
I've now toned the colours down to pastel shades that blend in with the sky and added 50% transparency as well. Difficult sometimes to tell what is what, but that's not unrealistic! The only thing I've left as bright is the "Selected Target" icon on the radar. Messages come up as enemy/friendly colours, also 50% transparent. Getting used to this... I've simply deleted the ViewUI in Applic Data and worked on the one in CFS root. Easier and more legible. Back it up first though!

<Colors FriendColor="0x78CCFFFF" EnemyColor="0x78CC9999" TargetColor="0x78CC0033" BogieColor="0x78FFFFFF" GoalColor="0x78FFFF66" HumanFriendColor="0x78CCFFFF" HumanEnemyColor="0x78CC9999"/>

When I was working on developing the Night Air Intercept Radar mod I had to play with these colors as well. In my case I wanted to give everything the same color as a radar return on the scope.

<Colors FriendColor="0xFF189914" EnemyColor="0xFF189914" TargetColor="0xFF189914" BogieColor="0xFF189914" GoalColor="0xFF189914" HumanFriendColor="0XFF00FFFF" HumanEnemyColor="0xFFFF00FF"/>

One thing I found was that it changed both the pips on the tactical display, and the aircraft label colors.
 
I've updated the SCR-720 posting this evening to give two versions of the tactical display. The one with the default name is brighter and looks turned on. The other with the -off suffix is the one from the previous upload. I did figure out the tactical display's alpha layer controls the darkening of target indicators. To get the pips to have color you have to make the display transparent, but they still darken considerably unless the display is so transparent that it looks nearly as dark as the night sky. For now I've just left the markers settings a dark grey, and the display fully opaque as that works best for having aircraft labels still on at night.
 
Back
Top