plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

conradsm avatar image
conradsm asked conradsm answered

how to show Pilot_1 with cold&dark situation setting the weight in W&B windows ?

Hi all,

I have in my interior.xml file of my custom aircraft this code for Pilot_1 ( copilot ):

<Component ID="copilot_visibility" Node="PILOT_1">

<UseTemplate Name="ASOBO_GT_Visibility_Code">

<VISIBILITY_CODE>(A:PAYLOAD STATION WEIGHT:2, pounds) 5 &gt;</VISIBILITY_CODE>

</UseTemplate>

</Component>

If I put in flightmodel file a weight for the copilot , loading the aircraft I can see it in the cockpit as well, and if I set to "0" the Copilot weight in the Weight and balance windows the Copilot figure disappear. Good but, If I set to "0" the weight in the flightmodel so to have not the Copilot inside loading the aircraft in the sim ( what I should have .. ) and loaded the aircraft I want to show the Copilot adding a weight in the Weight and balance windows , my Copilot won't appear... why ?

this is the code in flightmodel and Copilot won't appear. I need to set the weight to station load 1 to have the copilot showed .

station_load.0 =160,-1.926,-0.794,0.492,PILOT, 1

station_load.1 = 0,-1.926,0.822,0.492,Copilot,2

station_load.2 = 0,-4.126,-0,0.772,Baggage (MAX 55 lbs),6

thanks ....

aircraftflightmodel
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Flysimware avatar image
Flysimware answered Flysimware edited

Set the copilot weight in the [WEIGHT_AND_BALANCE] to 0.1

Then make the code based on above 0.1 can bee seen and equal or below 0.1 not seen.

<VISIBILITY_CODE>(A:PAYLOAD STATION WEIGHT:2, pounds) 0.1 &gt;</VISIBILITY_CODE>
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

conradsm avatar image
conradsm answered

hi Flysimware ,

thanks. I try your way and let you know

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.