Jump to content

Compass Control Panel Switch Bug


BlackLibrary

Recommended Posts

Compass N-S Hemisphere Switch (Compass Control Panel right side Uper right ) 

 

Small switch (N/S) (upper right on this panel; Nr 2)

compasscontrol.png

In real a 2 pos switch (real unit by the hand) N and S.

Verified in model viewer: Arg valve -1 and 1

 

In latest beta the ingame args only going from 0  to 1 -> visual the 2 pos are Middle and S.

switching to N not possible

 

there is an easy Fix:

 

actual programmed:   (clickable.lua Line 1117)

elements["PNT_906"] = default_2_position_tumb(_("Compass N-S Hemisphere"), devices.AHRS, device_commands.AHRS_NorthSouth, cockpit_args.AHRS_NorthSouth)

 

Change to:

elements["PNT_906"] = alt_2_position_tumb(_("Compass N-S Hemisphere"), devices.AHRS, device_commands.AHRS_NorthSouth, cockpit_args.AHRS_NorthSouth)

 

That works. i made the change some version ago for me local. 

But in cold and dark start the switch is in middle pos, which is not possible.


Edited by BlackLibrary
Link to comment
Share on other sites

  • 10 months later...
  • Recently Browsing   0 members

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