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

FS2004 Pitot Heat Switch

Messages
1,084
Country
us-northcarolina
Here is one I am really stumped. The BT-13 has a pitot heat switch on the panel (real a/c) so I installed one from the Curtiss P-40. First I installed the full switch panel which is one unit from the P-40. All the switches work except the pitot heat. Double checked this. Even extracted it individually from the set and installed it as an individual gauge. It is on the panel but won't click at all so I am sure I have no pitot heat. That's fine in the summer, but in the cold weather it will freeze up and affect the instruments in FS9 just like in real life. HELP!!! Any ideas? I have installed [pitot static} in the aircraft.cfg which was missing but noticed that other panels the switch works on don't have this in their aircraft.cfg so I assume that isn't it.
 
Below is the code I use to operate a switch On/Off bitmaps.
I do not use it for Icing , it's used in my setup to trigger a Missile fire effect at a
separate switch.

Cheers
Karol
Code:
<Gauge Name="Pitot Icing Switch" Version="1.0">
    <Element>
        <Select>
            <Value>(A:Pitot heat,bool)</Value>
                <Case Value="0">
                    <Image Name="switch1_off.bmp"/>
                </Case>
                <Case Value="1">
                    <Image Name="switch1_on.bmp"/>
                </Case>
        </Select>
    </Element>
                                                     
        <Mouse>
            <Tooltip ID="TOOLTIPTEXT_PITOT_HEAT_SWITCH"/>
                <Cursor Type="Hand"/>
            <Click>1 (&gt;K:PITOT_HEAT_TOGGLE) 33947648 (&gt;K:ADF2_COMPLETE_SET)</Click>
        </Mouse>
  </Gauge>
 
This is the other switch.

Code:
<Gauge Name="MISSILE FIRE Switch" Version="1.0">
    <Element>
      <Select>
         <Value>
                 == (A:PITOT HEAT,bool) (A:SIM ON GROUND,bool) ! &amp;&amp;
                if{ (A:LIGHT WING,bool) ! if{ (&gt;K:TOGGLE_WING_LIGHTS) } }
                els{ (A:LIGHT WING,bool) if{ (&gt;K:TOGGLE_WING_LIGHTS) } }
            </Value>
         <Case Value="0">
            <Image Name="MISS_FIRE_ON.bmp"/>
         </Case>
         <Case Value="1">
            <Image Name="MISS_FIRE_OFF.bmp"/>
         </Case>
      </Select>
    </Element>

   <Mouse>
      <Tooltip>Fire Missile</Tooltip>
      <Cursor Type="Hand"/>
      <Click>(&gt;K:PITOT_HEAT_TOGGLE)</Click>
   </Mouse>
</Gauge>
 
This is all you need.
vololiberista

Code:
<Gauge Name="Pitot heat switch" Version="1.0">
   <Element>
      <Select>
         <Value>(A:PITOT HEAT,bool)</Value>
         <Case Value="0">
            <Image Name="OH_SWITCH_1_OFF.bmp" ImageSizes="33,58"/>
         </Case>
         <Case Value="1">
            <Image Name="OH_SWITCH_1_ON.bmp" ImageSizes="33,58"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
         <Tooltip>Pitot heater</Tooltip>
      <Cursor Type="Hand"/>
       <Click>(&gt;K:PITOT_HEAT_TOGGLE) 1 (>L:Sound_button,enum)</Click>
   </Mouse>
</Gauge>
 
Thank you both for the gauges. Unfortunately, neither one works on the BT-13 panel. I even created two new pitot heat gauge folders with new named bmps and still the gauge appears on the panel but does not click on/off. Next in case the other electric switch group from the P40 panel I had was the problem I deleted it and left nothing but the Pitot heat switch but still nothing. Is there something not in the aircraft.cfg or worse yet in the model file that is keeping this from operating properly? As i said above, I am REALLY stumped. I have tried and nothing works. i am going to try and install the Cessna Pitot heat.gau and see if that works. new ideas most welcome, guys.
 
There has GOT to be something going on with this aircraft because no matter what pitot heat switch I install on this panel it appears but does not click on and off.
 
Did you try the other pitot heat Key Events, PITOT_HEAT_ON, PITOT_HEAT_OFF, or PITOT_HEAT_SET, instead of PITOT_HEAT_TOGGLE?
 
Hi
check the aircraft.cfg for
[pitot_static]
vertical_speed_time_constant=2
pitot_heat=1.000000
and also the electrical section...shouldn't stop the switch moving though
 
Hi,

1.
Show your code!

2.
try this and report if it works:
Code:
<Gauge Name="Pitot test" Version="1.0">

<Element>
<Select>
<Value>(L:PITOT_HEAT_TOGGLE,bool)</Value>
<Case Value="0"><Image Name="your OFF.bmp"/></Case>
<Case Value="1"><Image Name="your ON.bmp"/></Case>
</Select>
</Element>

<Mouse>

<Tooltip>Pitot test</Tooltip>
<Cursor Type="Hand"/>
<Click>(L:PITOT_HEAT_TOGGLE,bool) ! (>L:PITOT_HEAT_TOGGLE,bool)</Click>

</Mouse>

</Gauge>

3. Maybe the airfile misses record 323 and 324??
 
Hi
check the aircraft.cfg for
[pitot_static]
vertical_speed_time_constant=2
pitot_heat=1.000000
and also the electrical section...shouldn't stop the switch moving though

Thank you for that one.

I didn't know that " vertical_speed_time_constant " even existed , I use the
Pitot heat to trigger a Missile Effect comprising of missile exhaust and ground impact explosion.
To date the effect worked until the aircraft was put through violent vertical flight , after that
the effect played up and would not fire except at high alpha .
I just tolerated that aberrant switch behaviour for the past several years !

I have just inserted ,

vertical_speed_time_constant=85

into the [pitot_static] section of my aircraft cfg , and that has fixed the Missile firing Effect ,
it now works following violent vertical maneouvering , it works a charm , the erratic switch
behavior has been eliminated.
I presume that the effect got caught up in the VSI lag at the default 2 value .

I owe you at the very least a beer .

Cheers
Karol
 
Hi,

1.
Show your code!

2.
try this and report if it works:
Code:
<Gauge Name="Pitot test" Version="1.0">

<Element>
<Select>
<Value>(L:PITOT_HEAT_TOGGLE,bool)</Value>
<Case Value="0"><Image Name="your OFF.bmp"/></Case>
<Case Value="1"><Image Name="your ON.bmp"/></Case>
</Select>
</Element>

<Mouse>

<Tooltip>Pitot test</Tooltip>
<Cursor Type="Hand"/>
<Click>(L:PITOT_HEAT_TOGGLE,bool) ! (>L:PITOT_HEAT_TOGGLE,bool)</Click>

</Mouse>

</Gauge>

3. Maybe the airfile misses record 323 and 324??

The problem was the airfile missing the above. Thank you. I have aired152 which I suggest everyone download. I pasted lines 323 and 324 from the P40 and they work. Added [pitot static] to the aircraft.cfg previously but that didn't fix the problem. Didn't think and compare the P-40 and the BT13 airfiles. Thank you. Do you have a panel light dimmer switch in your basket of gauges to share? I am waiting to hear from Paul Clawson for permission to share his wonderful BT-13 with my updated complete panel with the Flight sim community.
 
You can dim your panel with transparant rectangles.
Must ofcourse be the last gauge or element.
 
I know lhow to create lamps and gauge faces in Xara Xtreme with a transparent overlay but i want to have a transparent color rectangle in front of the entire main panel to act as a sun shade like a transparent visor. It puts an opaque rectangle not a transparent one in when the window is opened.
 
I know lhow to create lamps and gauge faces in Xara Xtreme with a transparent overlay but i want to have a transparent color rectangle in front of the entire main panel to act as a sun shade like a transparent visor. It puts an opaque rectangle not a transparent one in when the window is opened.

This is actually very easy. Take a look at the response to your Sunshade topic and please read the SDK more carefully. Apply Transparency to a Rectangle Object.
 
Back
Top