• 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 Gear Steering

Messages
1,468
Country
italy
I found these in the SDK
GEAR CENTER STEER ANGLESelf explanatory
GEAR LEFT STEER ANGLE Self explanatory
GEAR RIGHT STEER ANGLE Self explanatory
GEAR AUX STEER ANGLE Self explanatory
GEAR STEER ANGLE Self explanatory (takes index)

But no equivalent K events. So do they take the rudder values instead?
 
I'm trying this out which works. But it needs a null zone. What's the best way to achieve that?
Code:
<Mouse>
<Tooltip>Nose Wheel Angle %((L:steering,number))%!1.2f!</Tooltip>
<Area Left="0" Top="0" Width="12" Height="25">
    <Cursor Type="DownArrow"/>
    <Click Repeat="Yes">
(L:steering,number) 0.15 + 16384 * (>K:RUDDER_SET)
    </Click>
</Area>     
<Area Left="13" Top="0" Width="13" Height="25">
    <Cursor Type="UpArrow"/>
    <Click Repeat="Yes">
(L:steering,number) 0.15 - 16384 * (>K:RUDDER_SET)
    </Click>
</Area> 
</Mouse>
 
Null zone? You mean neutral setting, right?

(>K:RUDDER_CENTER)

or

0 (>K:RUDDER_SET)
 
Hi H,
I ended up with (>K:RUDDER_CENTER)
I toyed with with either using the mouse buttons or just using the mouse wheel. Potentially the mouse wheel would seem to be the
more logical way but I found it was too easy to oversteer so went back to using mouse clicks with the mouse wheel as the neutral setting.
Each click increases the turn rate and the mouse wheel centres as it were. I've been testing it all day and found it to be extremely accurate, more than before! Anyway cast your expert eye over this and tell me what you think.
Code:
  <Mouse>
<Tooltip>Nose Wheel Tiller</Tooltip>
  <Cursor Type="Hand"/>
<Click Kind="LeftSingle+RightSingle+WheelDown+WheelUp">
(M:Event) 'LeftSingle' scmp 0 == if{ (A:GROUND VELOCITY, knots) 40 &lt;
if{ (L:steering,number) 0.15 + (>L:steering,number) (L:steering,number) + 16384 * (>K:RUDDER_SET) } }
(M:Event) 'WheelDown' scmp 0 == if{ 0 (>L:steering,number) 1 (>K:RUDDER_CENTER) }
(M:Event) 'WheelUp' scmp 0 == if{ 0 (>L:steering,number) 1 (>K:RUDDER_CENTER) }
(M:Event) 'RightSingle' scmp 0 == if{ (A:GROUND VELOCITY, knots) 40 &lt;
if{ (L:steering,number) 0.15 + (>L:steering,number) (L:steering,number) - 16384 * (>K:RUDDER_SET) } }
  </Click>
</Mouse>
 
Last edited:
I don't like that any mousewheel movement centers the NWS. It makes the entire mechanism way too susceptible to inadvertent centering.
 
I don't like that any mousewheel movement centers the NWS. It makes the entire mechanism way too susceptible to inadvertent centering.
I take your point but it's a bit like swings and roundabouts as using the mousewheel exclusively leads to overcorrection all the time. The mouse is placed over the image of the tiller with fingers on both left and right buttons so a definite movement to the mousewheel has to be made by one or other finger. Only a light touch is necessary on the wheel to centre. Also with a mousewheel there is always the chance of moving it in the wrong direction. I've changed the 0.15 to 0.13125 which with four clicks the a/c will turn 90deg and line up with the crossing taxiway centreline at 10kts. Without the
(>K:RUDDER_CENTER) though the a/c yaws from side to side as there is no null point.(which is what I would have preferred).

nw.jpg
 
This is now the working code complete with model
Code:
<Gauge Name="Steering trim" Version="1.0">
   <Image Name="steerx.bmp"/>
 
<Element>
      <Position X="85" Y="82"/>
      <Image Name="Tiller.bmp" PointsTo="North">
         <Axis X="45" Y="78"/>
      </Image>
      <Rotate>
         <Value Minimum="-100" Maximum="100">(L:steering,number) 100 *</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="-1"/>
         </Failures>
         <Nonlinearity>
            <Item Value="+100" X="4" Y="113"/>
            <Item Value="+86" X="4" Y="104"/>
            <Item Value="+72" X="4" Y="95"/>
            <Item Value="+58" X="4" Y="85"/>
            <Item Value="+43" X="5" Y="74"/>
            <Item Value="+29" X="6" Y="47"/>
            <Item Value="+14" X="13" Y="23"/>
            <Item Value="0" X="49" Y="8"/>
            <Item Value="-14" X="81" Y="6"/>
            <Item Value="-29" X="104" Y="7"/>
            <Item Value="-43" X="117" Y="10"/>
            <Item Value="-58" X="125" Y="16"/>
            <Item Value="-72" X="130" Y="22"/>
            <Item Value="-86" X="136" Y="27"/>
            <Item Value="-100" X="155" Y="22"/>
         </Nonlinearity>  
      </Rotate>
   </Element>

   <Mouse>
<Tooltip>Nose Wheel Tiller</Tooltip>
    <Cursor Type="Hand"/>
<Click Kind="LeftSingle+RightSingle+WheelDown+WheelUp">

(M:Event) 'LeftSingle' scmp 0 == if{ (A:GROUND VELOCITY, knots) 60 &lt; 1 (>L:steering_lock,bool) }

(M:Event) 'WheelDown' scmp 0 == if{ (A:GROUND VELOCITY, knots) 60 &lt; (L:steering_lock,bool) 1 == and
if{ (L:steering,number) 0.01296 + (>L:steering,number) (L:steering,number) + 16384 * (>K:RUDDER_SET) } }

(M:Event) 'RightSingle' scmp 0 == if{ 1 (>K:RUDDER_CENTER) 0 (>L:steering_lock,bool) 0 (>L:steering,number) }

(M:Event) 'WheelUp' scmp 0 == if{ (A:GROUND VELOCITY, knots) 40 &lt; (L:steering_lock,bool) 1 == and
if{ (L:steering,number) 0.01296 - (>L:steering,number) (L:steering,number) + 16384 * (>K:RUDDER_SET) } }

    </Click>
</Mouse>

</Gauge>

The mouse wheel is set to about 1 degree per notch.

steer1.jpg
 
Last edited:
Back
Top