Jump to content

Recommended Posts

Posted (edited)

Hi, I threw together a quick script that allows you to bind two commands (FlyWithLua/SF34/PitchWheel_up and ..dn) to a button that allow you to simulate the pitch wheel in both IAS and VS mode. Minor issue is that the IAS gets changed in increments of 2kts. Solved with update, see below.

Feedback is welcome.

 

 

 

Edited by Ch.Cole
updated file
  • Like 1
  • Upvote 1
Posted
1 hour ago, Tim013 said:

Why not just bind the X-Plane autopilot pitch commands, instead of using a LUA script?

Besause that does not work, as far as I tested. You have different commands. change the airspeed in IAS and the VS in VS-mode.

Posted

script updated to use the same commands that manually using the pitch wheel uses:

les/sf34a/acft/inst/mnp/airspeed_ind_bug_knob_dn_pilot
les/sf34a/acft/inst/mnp/airspeed_ind_bug_knob_up_pilot

sim/autopilot/vertical_speed_up
sim/autopilot/vertical_speed_down

SF34 Pitch.lua

Posted

Hello,

I just bought the LES SAAB 340A (Sunday 28) and so as not to miss the screen especially in the critical phases (T / O at FL100 and FL100 at landing), I fly the planes from my hangar with a lot of keyboard shortcuts . I just saw your script which interests me a lot and thank you in advance for sharing it. :)

If you have made others for the SAAB 340 where can I find them?

Thanks in advance.

Posted
On 2/26/2021 at 7:37 AM, Ch.Cole said:

Hi, I threw together a quick script that allows you to bind two commands (FlyWithLua/SF34/PitchWheel_up and ..dn) to a button that allow you to simulate the pitch wheel in both IAS and VS mode. Minor issue is that the IAS gets changed in increments of 2kts. Solved with update, see below.

Feedback is welcome.

 

 

 

Hi Ch.Cole, I hope you dont mind I have modified your script to allow quick scrolling and added a command for vertical mode switching.

Am I ok to attach here?

Posted
8 hours ago, sirtopper said:

Hi Ch.Cole, I hope you dont mind I have modified your script to allow quick scrolling and added a command for vertical mode switching.

Am I ok to attach here?

Sure! I like seeing new ideas and solutions.

Posted (edited)

Added script to allow quick scrolling by holding down the assigned button and added a command for vertical mode switch. Switches between IAS and VS but only if one of them is selected. Also added heading bug scroll. I know there are commands but for me it sometimes skipped degrees.

You can assign these commands 

FlyWithLua/SF34/PitchWheel_dn
FlyWithLua/SF34/PitchWheel_up
FlyWithLua/SF34/Vert_Mode_Switch
FlyWithLua/SF34/Heading_Bug_Dn
FlyWithLua/SF34/Heading_Bug_Up

 

SF34 Pitch.lua

Edited by sirtopper
upload new file

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...