Jump to content
Sign in to follow this  
Menrva

In-flight chat text colours

Recommended Posts

I'm making some interesting changes to the game's default HUD, eventually I will release my modded .ini files in a simple package. 

 

I have a problem regarding text colours:

 

post-70825-0-86138900-1487344492_thumb.jpg

 

As you can see in the image above, text from other pilots is dark blue, yet I'd like to change the colour from dark blue to the light blue you can see in the box at the lower right-end corner of the image. I can't seem to find the related parameter in any of the .ini files, it's like it is hardcoded. Can anyone confirm this?

Share this post


Link to post
Share on other sites

Huh mine is set to white as default... but I would look at the speachsystem.ini not the hud.ini

Share this post


Link to post
Share on other sites

Like this,, you can also change the target box to something smaller,, I'm looking for the code for the colors of grey or silver,,

 

index.php?app=gallery&module=images&sect

Share this post


Link to post
Share on other sites

Huh mine is set to white as default... but I would look at the speachsystem.ini not the hud.ini

 

Unfortunately no, it has nothing to do with that .ini.  Logic says such parameter should be in the hud.ini, but I can only find the following that apply to in-flight dialog:

 

NormalColor=1.0,1.0,1.0,1.0  (white for common messages)
WarningColor1=1.0,1.0,0.0,1.0  (yellow for warnings towards your flight)
WarningColor2=1.0,0.0,0.0,1.0  (red for warnings towards your aircraft)
 

 

Like this,, you can also change the target box to something smaller,, I'm looking for the code for the colors of grey or silver,,

 

I know this already, yubba, I made several changes to target boxes.  You can change the color with the following parameter:
 
BoxColor=1.0,1.0,1.0,0.75
 
First three numbers are RGB (Red-Green-Blue) colours, fourth value is transparency. 1.0 is equivalent to 255 in programs like Paint. Choose a colour in some painting software. Let's say that your custom colour has a Red value of 223, you simply divide 223 by 255, and you have the value to put in the BoxColor parameter. I hope this is useful to you.
 
 
 
Back to topic, I think I'll give up, it really seems it is hardcoded, I have looked everywhere. Damned TK always locking things up!
Edited by Menrva

Share this post


Link to post
Share on other sites

To get the above go into your flight file create a new text document and name it HUDData,, copy and paste this into it.

 

[Debug]
DisplayDebug=FALSE
 
TextFontName=Arial
TextSize=12
 
[infoDisplay]
BackgroundImage=TextBackground.tga
BottomRightPosition=0.99,0.985
DisplayWidth=0.20
VerticalBorder=0.0015
HorizontalBorder=0.008
EnemyTargetColor=1.0,1.0,1.0,1.0
FriendlyTargetColor=0.0,0.0,1.0,1.0
UnknownTargetColor=1.0,1.0,0.0,1.0
WaypointColor=1.0,1.0,1.0,1.0
TextFile=HUDText.str
NormalColor=1.0,1.0,1.0,1.0
WarningColor1=1.0,1.0,0.0,1.0
WarningColor2=1.0,0.0,0.0,1.0
AGLAltStart=609.6
AGLAltWarning=152.4
 
[Display001]
DisplayType=DIRECTOR
ObjectType=TARGET_ENEMY
ConeSize=15
BoxSize=1
BoxType=TRIANGLE
BoxColor=1.0,1.0,1.0,0.75
ConeModelName=whitecone
 
[Display002]
DisplayType=DIRECTOR
ObjectType=TARGET_FRIENDLY
ConeSize=25
BoxSize=10
BoxType=SQUARE
BoxColor=0.0,0.0,1.0,0.75
ConeModelName=bluecone
 
[Display003]
DisplayType=DIRECTOR
ObjectType=NEXT_WAYPOINT
ConeSize=25
BoxSize=5
BoxType=TRIANGLE
BoxColor=1.0,1.0,1.0,0.75
ConeModelName=
 
 
 
[Display004]
DisplayType=DIRECTOR
ObjectType=RADAR_TARGET
ConeSize=25
BoxSize=10
BoxType=DIAMOND
BoxColor=1.0,1.0,0.0,0.75
ConeModelName=
 
 
I also have this in WOV-1 it was one of my first mods in this series by adding this HUDData into something other than Strike Fighters 1,, if it works in 2 we'll see ,, at least it's a start

Share this post


Link to post
Share on other sites

yubba, it works in SF2, but it's not what I asked about. Please do not hijack the thread.

Share this post


Link to post
Share on other sites

Theres Also Parameters In The CommData.ini At The Top

 


TextFontName=Arial
TextSize=20

[infoDisplay]
BackgroundImage=TextBackground.tga
TopLeftPosition=0.01,0.015
DisplayWidth=0.32
DisplayHeight=0.23
VerticalBorder=0.0015
HorizontalBorder=0.008
ActiveColor=1.0,1.0,1.0,1.0
DisabledColor=0.4,0.4,0.4,1.0
DisplayTime=15.0//5.0

 

Don't know if that's what your looking for though just checking?

 

 

Share this post


Link to post
Share on other sites

Theres Also Parameters In The CommData.ini At The Top

 

Thanks for the reply, EMCON360.  Unfortunately it's not what I was looking for. The parameters you posted are relative to the comms box, the one we use to communicate orders to flights and to ask the TACC for help.

 

From what I have seen, it's all hardcoded, there is no way to change colour to the flights subtitles. That blue is too dark for my likings. Yellow and red are still visible under various conditions, those are ok.

Share this post


Link to post
Share on other sites
I Feel Your Pain I Myself Have Been Eyes On dll For Director RWR And MAWS Windows Under Radar Entries
With Objective For EWO Station In Cockpits Utilizing TEWS Have Had Success Relocating RWR Window
But MAWS May Be Dorment.
[Displayxxx]
DisplayType=RWR>>>>>>>>>>>etc MAWS? Missile Airborne Early Warning System
PosX=0.865
PosY=0.015
Width=0.125
Height=0.16666667
Alpha=0.60
InitTime=2.0
Possibility Of Looking Right In A-6 Cockpit And Seeing Threat Scope Active?
It Seems TK Left Unfinished Cookie Crumbs Throughout The Code
Research Continues
PS Have Built Digital Window With Fake Pilot LOD For Clear Cockpit For Use In UCAVs Is Simple.

post-62958-0-58672900-1488619715_thumb.jpg

  • Like 1

Share this post


Link to post
Share on other sites

I too have found lots of unused parameters inside the dlls, through an Hex editor. From what I've seen most if not all of the unused stuff doesn't work.

 

Keep us informed with any findings, EMCON360.  Maybe there is something working in the code.

Edited by Menrva

Share this post


Link to post
Share on other sites

You can add the RWR display to the game HUD.

Ive done it long ago (Swiss Hunter mod, iirc) and posted a "how to" somewhere..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..