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

MSFS20 North American T-28 Trojan

15_panel.jpg
 
Pilots. Took way too long. The pilot and copilot models can be switched out to use the default MSFS models if you like. I might one day post the models for the safety belt and parachute hardware which I modeled from the original drawings. Done a lot of work on sounds, flight dynamics, engine performance, systems etc which is why I haven't posted any pictures recently. This is probably one of the last modeling tasks that needed to be completed.

Picture is from Cambridge Aerodrome near Hobart. The MSFS 2020 load screens are currently promoting the Australia World Update and one of the main pictures is from Hobart.

18_pilots.jpg
 
"The pilot and copilot models can be switched out to use the default MSFS models if you like" ... I'm curious to learn how to make that ;) I have some ideas on the question, but what would be the lightest method?
 
"The pilot and copilot models can be switched out to use the default MSFS models if you like" ... I'm curious to learn how to make that ;) I have some ideas on the question, but what would be the lightest method?
The way I do it is the pilot and copilot are integral parts of the aircraft interior model. I simply set the base to a visibility condition. I also add a PILOT_0 and PILOT_1 empty axis parts to the model (these part names are set in stone, they are required to be named PILOT_0 and PILOT_1 for MSFS to find them and attach the pilot and copilot models. The location is a few inches above the butt) and set their visibility condition.

The code is bit intense though. You need to hide any pilots in preview mode so that requires checking the camera state. I'm not sure the following code works 100% right as it needs some more work. But it does show that all you need is to add some visibility code to show/hide your pilots and hide/show your PILOT_0 and PILOT_1 empties.


Code:
        <Component ID="PILOT_0" Node="PILOT_0">       
            <UseTemplate Name="ASOBO_GT_Visibility">
                <VISIBILITY_CODE>
                    (A:CAMERA STATE,number) 15 !=
                    if{
                        (A:IS USER SIM,bool)
                        if{
                            (L:ants_pilot_type,number) 1 ==
                            if{
                            
                                (L:ants_pilot_visibility,number) 0 ==
                                if{
                                    
                                    (A:ELECTRICAL MASTER BATTERY,bool) ! (A:GENERAL ENG COMBUSTION:1,bool) ! (A:SIM ON GROUND,bool) (A:BRAKE PARKING INDICATOR,number) (L:Winjeel_chocks,number) + &amp; &amp; &amp;
                                    if{
                                        0 (&gt;L:is_pilot_visible,bool)
                                    }
                                    els{                               
                                        (A:CAMERA STATE,number) 2 !=
                                        if{
                                            1 (&gt;L:is_pilot_visible,bool)
                                        }
                                        els{
                                            0 (&gt;L:is_pilot_visible,bool)
                                        }
                                    }               
                                }
                                
                                (L:ants_pilot_visibility,number) 1 ==
                                if{
                                    (A:CAMERA STATE,number) 2 !=
                                    if{
                                        1 (&gt;L:is_pilot_visible,bool)
                                    }
                                    els{
                                        0 (&gt;L:is_pilot_visible,bool)
                                    }
                                }
                                
                                (L:ants_pilot_visibility,number) 2 ==
                                if{
                                    0 (&gt;L:is_pilot_visible,bool)
                                }                               
                                (L:is_pilot_visible,bool)
                            }
                            els{
                                0
                            }

                        }
                        els{
                            (A:ELECTRICAL MASTER BATTERY,bool)
                        }
                    }
                    els{ 0 }
                </VISIBILITY_CODE>
            </UseTemplate>
        </Component>

19_msfs_pilots.jpg
 
Thank you, Anthony, this is a bit like what I had designed "on paper" for the DC-4 ;) Seeing XML code from others dev it's always interesting.

The only times I managed to get into the cockpit during one of my trips (before 1970 on a DC-4 and Caravelle), I was very often sitting in the place of the flight engineer (yes, since then it has become very difficult to enter these holy places) and the view there is very special because you can have the pilot and co-pilot at the same time in front of you.
In current achievements, this kind of view is not realized because flight engineers have completely disappeared from our current aircraft (the crew is reduced at two people)

To get this kind of view, I tried several things by testing the CAMERA STATE but it quickly becomes horribly complicated. The solution of having your own pilots (which you manage to display) is much simpler. Also I have tried to display a third crew as the radio using Asobo people (with a PILOT_2) but without success.
 
Back
Top