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

SimIcons Panel Modify?

Messages
120
Country
unitedstates
Does anyone know if we can edit the CS 777 SimIcons panel such that

1. I'd like to move the icons to different locations in the matrix, like the MCP icon I'd prefer in the upper right corner of this matrix.

2. Can we replace some the panels that are called up for display? For example, I don't need to see the standby gauges so I'd prefer to use that matrix spot to display a 2d overhead panel.

Thank you...
 
AFAIK, if they are 2D gauges listed in the panel.cfg file you can do that. As long as the "gauge footprint" on the panel remains the same, you can switch anything you like. Just edit the cfg file. If they are not listed in the cfg file, then they are 3D gauges built into the model, and I don't know how to change those.
 
I found out I had to decompile the icons.spb file into its .xml source, which I've done.

Reading the structure of the xml file I now see how to move the matrix icons to another position which is what I want to do for a couple of them.

To call up a different 2d panel, I need the ident value. Does anyone know where I can get a list of the 2d panel IDENT values? Specifically I'm looking for the 2d overhead panel.

Thank you...
 
The ident number is in the panel.cfg file entry for each [Windownn] section.

For example, this entry from one of my aircraft uses 50 as the ident number:
Code:
//--------------------------------------------------------
[Window01]
Background_color=0,0,0
size_mm=1477,783
window_size_ratio=1.300 
position=8
visible=1
ident=50
 
Hi Bill

I'm attaching my CS 777 panel.cfg file (as a .txt file to get the upload to work).

I can't find the 2d overhead panel ident value.

I'd appreciate it if you could have a look?

Thank you...
 

Attachments

I'm a little puzzled by the fact that my CS 777 SimIcon 2d views do not include the overhead panel.

However, the 'default' SFX 2d panel views do have the overhead.

So, I guess I'm trying to get the SFX 'default' 2d overhead panel ident value so I can use it in SimIcons to pop it up.

I'm attaching those two menu items screen shots.

CS777SFXDefaultViews.jpg


CS777SimIconViews.jpg
 
That is a camera view and as such doesn't have an ID. I do not believe there is a way to switch to a camera view via XML, though I could be mistaken.
 
Ed is quite correct. The overhead is indeed a Camera View and as such there are no commands in either C or XML to programatically select a specific Camera View that I can clearly identify...

There is one command that - not too surprisingly - is not described, who's name implies "selection," but with no example doesn't mean very much:

C command: KEY_VIEW_CAMERA_SELECT_STARTING
XML command: VIEW_CAMERA_SELECT_START

I suppose one could test this by passing a value to the command, such as...
Code:
6 (>K:View_Camera_Select_Start)
...because there must be a reason why this command exists! :confused:
 
Well, the line that calls up the 2d panel view in the xml file (as you both well know)

[Script]11108 (>K:PANEL_ID_TOGGLE)[Script]

so I could try

[Script]11108 (>K:VIEW_CAMERA_SELECT_START)[Script]

but wouldn't I still need the ident value to pass? 11108 on my CS 777 is the VHF com radio 2d panel view.
 
I would assume that you should pass a camera definition number to the variable, not a panel ident.

First create an overhead panel camera definition (which will create an overhead entry in that menu), then pass that number to the variable.

Do you have a separate 2D panel subsection listed in the panel.cfg file for your overhead panel (i.e. is it a separate 2D subpanel)? If so, just pass the ident of that subpanel to your original variable. If not, you'll have to use the camera definition method.
 
Thank you Tom. No I don't have a separate 2D panel in my panel.cfg file.

I guess I will have to create an overhead panel camera definition. I have not done this before but I will work on it. Thank you.
 
Well, the line that calls up the 2d panel view in the xml file (as you both well know)

[Script]11108 (>K:pANEL_ID_TOGGLE)[Script]

so I could try

[Script]11108 (>K:VIEW_CAMERA_SELECT_START)[Script]

but wouldn't I still need the ident value to pass? 11108 on my CS 777 is the VHF com radio 2d panel view.


First, why would I "well know"?? I don't have the addon. Just so we're clear.

Second... what you showed in the menu is NOT a window selection but a CAMERA selection. It doesn't get called by PANEL_ID_TOGGLE, no camera view gets called by that.

However, if you're saying that script for PANEL_ID_TOGGLE uses 11108 and that script calls up the overhead panel... then the panel ID for the overhead is 11108. It seems, based on what you're posting now... you've had the answer in front of you this whole time.
 
1. Sorry, I just assumed you knew more than me, that's all. I thought the .xml file in question was something that comes with SFX but perhaps not.

2. And no I was not trying to say 11108 is the panel I need. It's not. 11108 is for the VHF Radio panel. I don't have the value I need for the overhead panel, but based on what Tom has said, it looks like I will just have to create my own overhead panel camera definition.
 
Uh... that won't do a thing for you. You can't call camera views. So making your own panel camera definition won't do a thing for you. Is the ONLY way this addon displays the overhead is via that menu selection? If so... there is NO overhead panel window at all. If one doesn't exist... then you have to create an overhead panel WINDOW, not camera.
 
The answer to the question is buried in the fine print of the SDK as usual...

This command is used in conjunction with an entry the user can make in the Camera definition in the aircraft.cfg file. This parameter is:
Code:
HotKeySelect=n (where n may be 0, 5, 6, 7, 8, 9)
  • Camera 1 is assigned to Virtual Cockpit (F9)
  • Camera 2 is assigned to 2d Cockpit (F10)
  • Camera 3 is assigned to Spot View, Locked (F11)
  • Camera 4 is assigned to Top Down (F12)
For example, I've added this to my C310R's aircraft.cfg file:
Code:
[CameraDefinition.003]
Title = "Lower Panel"
Guid = {D95E57AC-1EF3-442e-901D-8C7168F4DA9D}
Description = Virtual Cockpit Lower Panel
Origin = Virtual Cockpit
Category = Cockpit
HotKeySelect=5
... etc.
I have assigned "Shift+F12" to control Camera 5 in the Control Assignment dialog. Now, pressing Shift-F12 on the keyboard will instantly select "Virtual Cockpit Lower Panel". Pressing F9 will instantly return me to the "Virtual Cockpit" camera.

Now while I did not need to assign a key-combo in the Control Assignment dialog, I just wanted to try it out. For the purposes of the OP however, what is important is that the following should now work either through a C or XML gauge:
Code:
(>K:VIEW_CAMERA_SELECT_5)
similarly, this should return one to the Virtual Cockpit camera:
Code:
(>K:VIEW_CAMERA_SELECT_1)
Ed, this will also work for C gauges using the equivalent command:
Code:
KEY_VIEW_CAMERA_SELECT_5
KEY_VIEW_CAMERA_SELECT_1
Those View Selects can also be assigned via FSUIPC as well as they are standard offsets 66851 - 66860. See pages 6 & 7 of the "List of FSX Controls.pdf" that is supplied as part of the FSUIPC4 documentation.
 
Last edited:
Glad to hear that technique is indeed working, Bill. Thanks for testing it.
 
Back
Top