• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

GPS TCAS Aircarct Color

Messages
231
Country
unitedstates
Hi all

Can someone please tell me how to change the color of the TCAS aircraft symbol on my GPS 500? right now its PINK when i run FSX, i want to change it to Yellow. here is a pic of what i would like to change to.
 

Attachments

  • garmin500 - Copy.jpg
    garmin500 - Copy.jpg
    193.5 KB · Views: 354
If the GPS you have uses the stock (no added .dlls) map variables to display traffic then search in the code for the following -
ColorLayerVehicles
TextColorLayerVehicles

then change the RGB values to yellow (#FFFF00)
 
Ok i found it in a Zipped fs9gps.cab file. i unzipped it with win zip, i opened it with notepad, im able to change and save it but how do i zip it back to a .cab File?

<!-- FSX TCAS -->
<LayerVehicles>1</LayerVehicles>
<DetailLayerVehicles>True</DetailLayerVehicles>
<TextDetailLayerVehicles>True</TextDetailLayerVehicles>
<ObjectDetailLayerVehicles>0x05</ObjectDetailLayerVehicles>
<ColorLayerVehicles>(@g:setup_ColorTerrain) 1 == if{ 0x006666} els{ 0x44ffff }</ColorLayerVehicles>
 
Easy, quick, way is to extract the entire contents of the cab file to a folder with the same name. That way, you can edit the .xml files easily, then just save them again, all in the folder. No extracting then recompiling.

Alternatively, and you'll still have to extract the entire contents of the cab file to do this, put them all in a folder someplace, name of your choice. Then using a utility called CabPack v1.4, put everything back into a cab of the same name. IE: Once you extract the contents of the .cab file, rename it to something else. Like test_unpacked.cab vice test.cab.
Simple program to use, excellent documentation, too. Read the documentation on how to use it before you try it. Anywho, CabPack will stuff everything back into a cab file, name of your choice. So essentially, you take the contents of the cab file you unpacked earlier, and CabPack makes a brand new cab file with those contents. Like if you are using my example, you unpacked the entire contents of Test.cab to the folder Store. Then, you renamed Test.cab to Test_unpacked.cab. Then, you told CabPack to create a new cab file named Test.cab, using the contents of the folder Store. You now have a recompiled .cab file the plane will recognize, as it has the same name as the old one.

As I said, it's much quicker and easier to unpack Test.cab to the folder Test, then rename Test.cab to test_unpacked.cab. Now you can repeatedly edit any .xml file to test out new features or functions you may want to add, or subtract, without recompiling the cab file over and over. The sim will recognize the folder Test as easily as it did the file Test.cab.

Is all that as clear as mud? By the way, CabPack v1.4 is readily available freeware. A quick Google will find it easily.
Pat☺
 
ok guys thank very much for your help. here's what i have so far, i unzipped the fs9gps.cab file with winwar, i was able to edit the gps500,xml file with notepad. i saved the mxl file. i then dropped the fspgps file on to SDK Cabdir.exe, it created the new cab file but no change in color of the aircraft on the GPS.
 
what do i need to change to FFFF00?
<!-- FSX TCAS -->
<LayerVehicles>1</LayerVehicles>
<DetailLayerVehicles>True</DetailLayerVehicles>
<TextDetailLayerVehicles>True</TextDetailLayerVehicles>
<ObjectDetailLayerVehicles>0x05</ObjectDetailLayerVehicles>
<ColorLayerVehicles>(@g:setup_ColorTerrain) 1 == if{ 0xFFFF00} els{ 0xFFFF00 }</ColorLayerVehicles>
</CustomDraw>
<Element>
<Position X="0" Y="200" />
<Visible>(@g:currentPageNAV) @kNAVPageDflt ==</Visible>
<Rectangle Width="277" Height="30" FillColor="0x080808" Bright="Yes" />
</Element>
<Element>
<!-- Aircraft symbol -->
<Position X="137" Y="150" />
<Polygon FillColor="%((@g:setup_ColorTerrain) if{ 0x503030 } els{ 0xF0D0D0 })" Bright="Yes">
<Point X=" 0.5" Y="-7.5" />
<Point X=" 2" Y="-6.5" />
<Point X=" 2" Y=" -4" />
<Point X=" 7.5" Y=" -4" />
<Point X=" 7.5" Y="-1.5" />
<Point X=" 2" Y="-1.5" />
<Point X=" 2" Y=" 4.5" />
<Point X=" 4.5" Y=" 4.5" />
<Point X=" 4.5" Y=" 6.5" />
<Point X="-4.5" Y=" 6.5" />
<Point X="-4.5" Y=" 4.5" />
<Point X=" -2" Y=" 4.5" />
<Point X=" -2" Y="-1.5" />
<Point X="-7.5" Y="-1.5" />
<Point X="-7.5" Y=" -4" />
<Point X=" -2" Y=" -4" />
<Point X=" -2" Y="-6.5" />
<Point X="-0.5" Y="-7.5" />
 
<ColorLayerVehicles>(@g:setup_ColorTerrain) 1 == if{ 0xFFFF00} els{ 0xFFFF00 }</ColorLayerVehicles>
Check if anycase you might have a syntax issue with the section in red. For safety I would put a space after the last 0 if{ 0xFFFF00 }
Also first just put only the color and see wether it changes and afterwards you can work a condition as you have, something like this:
<ColorLayerVehicles> 0xFFFF00 </ColorLayerVehicles>
Atleast that is how I would start experimenting with these values...
 
Back
Top