From 3d46ff9cc1e47e61b9f24f42207c55793704af1d Mon Sep 17 00:00:00 2001
From: boufogre <73106379+boufogre@users.noreply.github.com>
Date: Sun, 23 May 2021 10:57:24 +0200
Subject: [PATCH 1/4] added 1280 range
---
.../VCockpit/Instruments/Airliners/B747_8/MFD/B747_8_MFD.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/B747_8/MFD/B747_8_MFD.js b/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/B747_8/MFD/B747_8_MFD.js
index e8d3a5237..67f38754f 100644
--- a/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/B747_8/MFD/B747_8_MFD.js
+++ b/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/B747_8/MFD/B747_8_MFD.js
@@ -318,7 +318,8 @@ class B747_8_MFD_MainPage extends NavSystemPage {
8: 80,
9: 160,
10: 320,
- 11: 640
+ 11: 640,
+ 12: 1280
};
mapRange = mapRangeEnumToNM[mapRange];
From 89815f538974faa6fbd91a1a59b823101a460abf Mon Sep 17 00:00:00 2001
From: boufogre <73106379+boufogre@users.noreply.github.com>
Date: Sun, 23 May 2021 11:35:35 +0200
Subject: [PATCH 2/4] included modified airlinercommon file
---
.../Asobo/Airliner/AirlinerCommon.xml | 1207 +++++++++++++++++
1 file changed, 1207 insertions(+)
create mode 100644 salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
diff --git a/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml b/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
new file mode 100644
index 000000000..bd6364f9c
--- /dev/null
+++ b/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
@@ -0,0 +1,1207 @@
+
+
+
+
+ #BUTTON_NAME#
+ #BUTTON_NAME##SEQ1_SUFFIX#
+ #BUTTON_NAME#
+ #EVENT_TARGET#_BTN_#BUTTON_ID#
+ atc_push_button_on
+ 0.1
+ atc_push_button_off
+ 0.5
+
+
+
+
+ #ANIM_NAME_BUTTON#
+
+ (>H:#EVENT_NAME#)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UNKNOWN
+ 0
+ _SEQ1
+
+
+
+
+
+
+
+
+ AIRLINER_ATC_Push_
+
+
+
+
+
+
+
+
+ #PUSH_BTN_PREFIX#CLR#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#0#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#1#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#2#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#3#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#4#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#5#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#6#PUSH_BTN_SUFFIX#
+ #PUSH_BTN_PREFIX#7#PUSH_BTN_SUFFIX#
+ atc_transponder_knob
+ atc_transponder_push_button_on
+ atc_transponder_push_button_off
+
+
+ #PUSH_BTN_PREFIX#Ident#PUSH_BTN_SUFFIX#
+ AIRLINER_ATC_Knob_
+ atc_transponder_push_ident
+ atc_transponder_knob_ident
+ B747_8_ATC
+
+
+ #PUSH_BTN_PREFIX#Ident#PUSH_BTN_SUFFIX#
+ Knob_ATC_STBY
+ Knob_ATC_STBY
+ KNOB_ATC_THRT
+ KNOB_ATC_THRT
+ Knob_ATC_ALT
+ Knob_ATC_ALT
+ A320_Neo_ATC
+ 0
+ 1
+ 2
+
+
+
+
+ 7
+
+
+ (>A:TRANSPONDER STATE:1, Enum)
+ (A:TRANSPONDER STATE:1, Enum)
+ 1
+ 4
+ 3
+ #KNOB_XPNDR_NAME#
+ #KNOB_XPNDR_NAME#
+
+
+ 1 == (I:XMLVAR_Auto) ! and
+ (I:XMLVAR_Auto) 0 >
+ 4 3 (I:XMLVAR_ALT_MODE_REQUESTED) ? == (I:XMLVAR_Auto) ! and
+ 1
+ 4 3 (I:XMLVAR_ALT_MODE_REQUESTED) ?
+ (>A:TRANSPONDER STATE:1, Enum)
+ (A:TRANSPONDER STATE:1, Enum)
+
+
+
+
+
+ ASOBO_AIRLINER_ATC_NUMBER_BUTTON_Template
+ #ATC_BUTTON_COUNT#
+ 0
+
+
+ BUTTON_ID
+
+
+ True
+ BUTTON_NAME
+ BUTTON_
+ _NAME
+
+
+ #BUTTON_CLR_NAME#
+ CLR
+
+
+
+
+
+ #KNOB_XPNDR_NODE_ID#
+ #KNOB_XPNDR_ANIM_NAME#
+
+
+ #KNOB_IDENT_NAME#
+ IDENT
+
+ TT:COCKPIT.TOOLTIPS.YOKE_BUTTON_IDENT
+
+
+
+
+ #BUTTON_IDENT_NAME#
+ IDENT
+
+
+
+
+
+ (I:XMLVAR_Auto) if{
+ (A:GENERAL ENG COMBUSTION:1, Bool)
+ (A:GENERAL ENG COMBUSTION:2, Bool) or if{
+ #ENUM_VAL_ON# #SET_TRANSPONDER_STATE#
+ } els{
+ #ENUM_VAL_STBY# #SET_TRANSPONDER_STATE#
+ }
+ }
+
+
+
+ #UPDATE_AUTO_TRANSPONDER_STATE#
+
+
+
+
+ (I:XMLVAR_ALT_MODE_REQUESTED) ! (>I:XMLVAR_ALT_MODE_REQUESTED)
+ #UPDATE_AUTO_TRANSPONDER_STATE#
+
+ (I:XMLVAR_ALT_MODE_REQUESTED) 100 *
+ #KNOB_XPNDR_ON_OFF_ANIM_NAME#
+ TT:COCKPIT.TOOLTIPS.ATC_ALT_RPTG_TURN_ON
+ TT:COCKPIT.TOOLTIPS.ATC_ALT_RPTG_TURN_OFF
+
+
+
+
+ Horizontal
+ TurnLeft
+ TurnRight
+ 0 (>I:XMLVAR_Auto) #ENUM_VAL_STBY# #SET_TRANSPONDER_STATE#
+
+ 1 (>I:XMLVAR_Auto)
+ #UPDATE_AUTO_TRANSPONDER_STATE#
+
+ 0 (>I:XMLVAR_Auto) #ENUM_VAL_ON# #SET_TRANSPONDER_STATE#
+ #GET_TRANSPONDER_STATE# #CHECK_VAL_STBY#
+ #CHECK_VAL_AUTO#
+ #GET_TRANSPONDER_STATE# #CHECK_VAL_ON#
+ #KNOB_XPNDR_MODE_ANIM_NAME#
+ 1
+ TT:COCKPIT.TOOLTIPS.ATC_SET_TO_STBY
+ TT:COCKPIT.TOOLTIPS.ATC_SET_TO_AUTO
+ TT:COCKPIT.TOOLTIPS.ATC_SET_TO_ON
+
+
+
+
+ Horizontal
+ TurnLeft
+ TurnRight
+ #KNOB_XPNDR_THRT_ANIM_NAME#
+ L
+ XMLVAR_XPNDR_THRT_Switch
+
+
+
+
+
+
+
+
+
+ AIRLINER_ATC_Transponder_Mode_Knob
+ AIRLINER_ATC_Transponder_Mode_Knob
+ (>A:TRANSPONDER STATE:1, Enum)
+ (A:TRANSPONDER STATE:1, Enum)
+ 1
+ 4
+ 3
+ 0
+ 1
+ 2
+ 3
+ 4
+
+
+
+
+ Horizontal
+ TurnLeft
+ TurnRight
+
+ #ENUM_VAL_STBY# #SET_TRANSPONDER_STATE#
+ 0 (>I:XMLVAR_IDENT_Shutdown_Time)
+ 0 (>L:XMLVAR_Transponder_Mode)
+
+
+ #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE#
+ 1 (>L:XMLVAR_Transponder_Mode)
+
+
+ #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE#
+ 2 (>L:XMLVAR_Transponder_Mode)
+
+
+ #ENUM_VAL_ALT# #SET_TRANSPONDER_STATE#
+ 3 (>L:XMLVAR_Transponder_Mode)
+
+
+ #ENUM_VAL_ON# #SET_TRANSPONDER_STATE#
+ 0 (>L:XMLVAR_Transponder_Mode)
+
+ #GET_TRANSPONDER_STATE# #ENUM_VAL_STBY# ==
+ #GET_TRANSPONDER_STATE# #ENUM_VAL_ALT# == (L:XMLVAR_Transponder_Mode) 1 == and
+ #GET_TRANSPONDER_STATE# #ENUM_VAL_ALT# == (L:XMLVAR_Transponder_Mode) 2 == and
+ #GET_TRANSPONDER_STATE# #ENUM_VAL_ALT# == (L:XMLVAR_Transponder_Mode) 3 == and
+ #GET_TRANSPONDER_STATE# #ENUM_VAL_ON# ==
+
+ TT:COCKPIT.TOOLTIPS.XPDR_SBY
+ TT:COCKPIT.TOOLTIPS.XPDR_XPDR
+ TT:COCKPIT.TOOLTIPS.XPDR_TA_ONLY
+ TT:COCKPIT.TOOLTIPS.XPDR_TA_RA
+ TT:COCKPIT.TOOLTIPS.XPDR_ALT_RPTG_OFF
+
+
+ TRANSPONDER_KNOB
+
+
+
+
+
+
+
+
+
+
+
+ 0 (>K:
+ )
+
+ UPDATE_CODE
+
+ (A:SIM ON GROUND, Bool) s1 ! (O:XMLVAR_IsOnGround) and if{
+
+
+ }
+ l1 (>O:XMLVAR_IsOnGround)
+
+
+
+ #LIGHT_TYPE_1#_LIGHTS_SET
+
+
+ #LIGHT_TYPE_2#_LIGHTS_SET
+
+
+ #LIGHT_TYPE_2#_LIGHTS_SET
+
+
+
+
+
+
+
+ ASOBO_GT_Update
+ 1
+
+
+
+
+
+ 0
+ 100
+
+
+
+
+
+ (A:SIM ON GROUND, Bool) s1 ! (O:XMLVAR_IsOnGround) 1 != and if{
+ #POTENTIOMETER_AIR_VALUE# #POTENTIOMETER# (>K:2:LIGHT_POTENTIOMETER_SET)
+ } els{
+ l1 (O:XMLVAR_IsOnGround) 2 != and if{
+ #POTENTIOMETER_GROUND_VALUE# #POTENTIOMETER# (>K:2:LIGHT_POTENTIOMETER_SET)
+ }
+ }
+ l1 1 + (>O:XMLVAR_IsOnGround)
+
+ 1
+
+
+
+
+
+ 50
+ 100
+
+
+
+
+
+ (A:GEAR HANDLE POSITION, Bool) s1 ! (O:XMLVAR_IsGearDown) 1 != and if{
+ #POTENTIOMETER_GEAR_UP_VALUE# #POTENTIOMETER# (>K:2:LIGHT_POTENTIOMETER_SET)
+ } els{
+ l1 (O:XMLVAR_IsGearDown) 2 != and if{
+ #POTENTIOMETER_GEAR_DOWN_VALUE# #POTENTIOMETER# (>K:2:LIGHT_POTENTIOMETER_SET)
+ }
+ }
+ l1 1 + (>O:XMLVAR_IsGearDown)
+
+ 1
+
+
+
+
+
+
+ #NODE_ID#_SEQ1
+ #NODE_ID#_SEQ2
+
+
+
+
+
+
+
+
+ AIRBUS_Push_Autopilot_#BTN_ID#_#ID#
+ AIRBUS_Push_Autopilot_#BTN_ID#_#ID#
+ AIRBUS_Push_Autopilot_#BTN_ID#
+ autopilot_push_button_on
+ autopilot_push_button_off
+ 0.1
+ 0.5
+ COCKPIT.TOOLTIPS.EFIS_PANEL_#BTN_ID#_INFO_TURN_OFF
+ COCKPIT.TOOLTIPS.EFIS_PANEL_#BTN_ID#_INFO_TURN_ON
+ L:BTN_#BTN_ID#_FILTER_ACTIVE
+
+
+
+ ASOBO_GT_Push_Button_Airliner
+ (>H:#PLANE_PREFIX#_MFD_BTN_#BTN_ID#) (>H:#PLANE_PREFIX#_PFD_BTN_#BTN_ID#) and
+ (L:BTN_#BTN_ID#_FILTER_ACTIVE)
+ %((#ONOFF_VARIABLE#))%{if}TT:#ON_TOOLTIP#%{else}TT:#OFF_TOOLTIP#%{end}
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+ AIRLINER_Knob_ND_Cursor_#ID#
+ AIRLINER_Knob_ND_Cursor_#ID#
+ AIRLINER_Knob_ND_Cursor
+ AIRLINER_Knob_ND_Cursor_#ID#_Push
+ AIRLINER_Knob_ND_Cursor_#ID#_Push
+ autopilot_knob
+ autopilot_knob_push_button_on
+ 0.1
+ autopilot_knob_push_button_off
+ 0.5
+
+
+ (>H:AS01B_MFD_#ID#_Cursor_INC)
+ (>H:AS01B_MFD_#ID#_Cursor_DEC)
+
+ (>H:AS01B_MFD_#ID#_Cursor_Press)
+
+ -1
+ TurnLeft
+ TurnRight
+ Hand
+ TT:COCKPIT.TOOLTIPS.ND_MODE_SELECTOR_CURSOR_MOVE
+ TT:COCKPIT.TOOLTIPS.ND_MODE_SELECTOR_CURSOR_MOVE
+ TT:COCKPIT.TOOLTIPS.ND_MODE_SELECTOR_SELECT
+ 36
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #BUTTON_ANIM_NAME#
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+ AIRLINER_Knob_Autopilot_ND_#ID#
+ AIRLINER_Knob_Autopilot_ND_#ID#
+ AIRLINER_Knob_Autopilot_ND
+ AIRLINER_Knob_Autopilot_ND_#ID#_Push
+ AIRLINER_Knob_Autopilot_ND_#ID#_Push
+ autopilot_knob
+ autopilot_knob_push_button_on
+ 0.1
+ autopilot_knob_push_button_off
+ 0.5
+
+
+ 5
+ L
+ A320_Neo_MFD_NAV_MODE
+ 0
+ .25
+ .5
+ .75
+ 1
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_ROSE_LS
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_ROSE_VOR
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_ROSE_NAV
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_ARC
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_PLAN
+ 0
+ 1
+
+
+ 4
+ L
+ B747_8_MFD_NAV_MODE
+
+ (>H:B747_8_MFD_KNOB_AUTOPILOT_CTR)
+
+ 0
+ .33
+ .66
+ 1
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_APP
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_VOR
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_MAP
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_PLN
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_CTR_BTN
+
+
+
+
+
+
+
+
+ Horizontal
+ Curved
+ #KNOB_POSITION_TYPE#
+ #KNOB_POSITION_VAR#
+
+
+
+
+
+
+
+ #BUTTON_ANIM_NAME#
+
+
+ #VALUE_TOOLTIP_PUSH#
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+ AIRLINER_Knob_Autopilot_ND_Range_#ID#
+ AIRLINER_Knob_Autopilot_ND_Range_#ID#
+ AIRLINER_Knob_Autopilot_ND_Range
+ AIRLINER_Knob_Autopilot_ND_Range_#ID#_Push
+ AIRLINER_Knob_Autopilot_ND_Range_#ID#_Push
+ autopilot_knob
+ autopilot_knob_push_button_on
+ 0.1
+ autopilot_knob_push_button_off
+ 0.5
+
+
+ 6
+ L
+ A320_Neo_MFD_Range
+ 0
+ .2
+ .4
+ .6
+ .8
+ 1
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_10
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_20
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_40
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_80
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_160
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_320
+ 0
+ 1
+
+
+
+ 13
+ L
+ B747_8_MFD_Range
+
+ (>H:B747_8_MFD_KNOB_RANGE_TFC)
+
+ 0
+ .077
+ .154
+ .231
+ .308
+ .385
+ .462
+ .539
+ .616
+ .693
+ .770
+ .844
+ 1
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_0_25
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_0_5
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_1
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_2
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_5
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_10
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_20
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_40
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_80
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_160
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_320
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_640
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_1280
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_TFC
+
+
+ (>H:AS01B_MFD_#ID#_Range_INC)
+ (>H:AS01B_MFD_#ID#_Range_DEC)
+
+ (>H:AS01B_MFD_#ID#_AUTOPILOT_CTR)
+
+ -1
+ TurnLeft
+ TurnRight
+ Hand
+ TT:COCKPIT.TOOLTIPS.PUSH_ND_RANGE_DECREASE
+ TT:COCKPIT.TOOLTIPS.PUSH_ND_RANGE_INCREASE
+ TT:COCKPIT.TOOLTIPS.EFIS_PANEL_MODE_SELECTOR_CTR_BTN
+ 36
+
+
+
+
+
+
+
+
+
+ #KNOB_NUM_STATE#
+ Horizontal
+ Curved
+ #KNOB_POSITION_TYPE#
+ #KNOB_POSITION_VAR#
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #BUTTON_ANIM_NAME#
+
+
+ #VALUE_TOOLTIP_PUSH#
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+ AIRLINER_Switch_Baro_Selector_#ID#
+ AIRLINER_Switch_Baro_Selector_#ID#
+ AIRLINER_Switch_Baro_Selector
+ 1
+ autopilot_baro_selector_button_on
+ autopilot_baro_selector_button_off
+ TT:COCKPIT.TOOLTIPS.BARO_SET_UNIT_TO_HPA
+ TT:COCKPIT.TOOLTIPS.BARO_SET_UNIT_TO_HG
+
+
+
+
+ (L:XMLVAR_Baro_Selector_HPA_#ID#) ! (>L:XMLVAR_Baro_Selector_HPA_#ID#)
+ (L:XMLVAR_Baro_Selector_HPA_#ID#) 100 *
+
+
+
+
+
+
+ 1
+ 0.03
+ AIRLINER
+
+
+
+
+
+ ASOBO_AIRLINER_Audio_Panel_SubTemplate
+
+
+
+
+
+ #PREFIX#_AudioReceiver_Knob_VHF_L#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_L_LIGHT#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_L#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_VHF_L#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_L_LED#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_01#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_01#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_01_SEQ1#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_01_SEQ2#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_C#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_C_LIGHT#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_C#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_VHF_C#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_C_LED#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_02#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_02#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_02_SEQ1#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_02_SEQ2#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_R#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_R_LIGHT#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_R#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_VHF_R#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Knob_VHF_R_LED#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_03#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_03#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_03_SEQ1#SUFFIX_ID#
+ #PREFIX#_AudioReceiver_Push_mic_call_03_SEQ2#SUFFIX_ID#
+
+
+
+ False
+ 1
+ ASOBO_GT_Knob_Finite_Switch
+ ANIM_CODE_SWITCH
+
+
+ 0
+ ASOBO_GT_Knob_Finite_Code
+ ANIM_CODE
+
+
+ 0
+ ASOBO_GT_Knob_Finite_Code
+ ANIM_CODE
+
+
+ False
+ False
+
+
+
+
+
+ #NODE_ID_RECEIVER_VHF_L#
+ #NODE_ID_LIGHT_RECEIVER_VHF_L#
+ #ANIM_NAME_KNOB_RECEIVER_VHF_L#
+ #ANIM_NAME_PUSH_RECEIVER_VHF_L#
+ #NODE_ID_LED_RECEIVER_VHF_L#
+ #NODE_ID_BUTTON_VHF_L#
+ #ANIM_NAME_BUTTON_VHF_L#
+ #NODE_ID_BUTTON_SEQ1_VHF_L#
+ #NODE_ID_BUTTON_SEQ2_VHF_L#
+ VHF_L
+ 1
+ 1
+ 0
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_L_VOLUME_DEC
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_L_VOLUME_INC
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_L_AUDIO_TOGGLE
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_SELECT_VHF_L
+
+
+ #NODE_ID_RECEIVER_VHF_C#
+ #NODE_ID_LIGHT_RECEIVER_VHF_C#
+ #ANIM_NAME_KNOB_RECEIVER_VHF_C#
+ #ANIM_NAME_PUSH_RECEIVER_VHF_C#
+ #NODE_ID_LED_RECEIVER_VHF_C#
+ #NODE_ID_BUTTON_VHF_C#
+ #ANIM_NAME_BUTTON_VHF_C#
+ #NODE_ID_BUTTON_SEQ1_VHF_C#
+ #NODE_ID_BUTTON_SEQ2_VHF_C#
+ VHF_C
+ 2
+ 2
+ 1
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_C_VOLUME_DEC
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_C_VOLUME_INC
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_C_AUDIO_TOGGLE
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_SELECT_VHF_C
+
+
+ #NODE_ID_RECEIVER_VHF_R#
+ #NODE_ID_LIGHT_RECEIVER_VHF_R#
+ #ANIM_NAME_KNOB_RECEIVER_VHF_R#
+ #ANIM_NAME_PUSH_RECEIVER_VHF_R#
+ #NODE_ID_LED_RECEIVER_VHF_R#
+ #NODE_ID_BUTTON_VHF_R#
+ #ANIM_NAME_BUTTON_VHF_R#
+ #NODE_ID_BUTTON_SEQ1_VHF_R#
+ #NODE_ID_BUTTON_SEQ2_VHF_R#
+ VHF_R
+ 3
+ 3
+ 2
+
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_R_VOLUME_DEC
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_R_VOLUME_INC
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_VHF_R_AUDIO_TOGGLE
+ TT:COCKPIT.TOOLTIPS.TRANSMITTER_SELECT_VHF_R
+
+
+
+
+
+
+
+
+
+ ASOBO_GT_Knob_Finite_Switch
+ ANIM_CODE_SWITCH
+
+
+ (L:XMLVAR_COM_#ID#_#FREQ_ID#_Switch_Down) #Button_ID# (L:XMLVAR_COM_Transmit_Channel) == ! and
+
+
+
+
+ 3
+
+ (A:COM TRANSMIT:#Radio_ID#, Bool) if{
+ #Button_ID# (>L:XMLVAR_COM_Transmit_Channel)
+ }
+
+
+
+
+
+
+
+
+ #TOOLTIP_PB#
+ #NODE_ID_BUTTON#
+ #ANIM_NAME_BUTTON#
+ #NODE_ID_BUTTON_SEQ1#
+ #NODE_ID_BUTTON_SEQ2#
+
+ #Button_ID# (>L:XMLVAR_COM_Transmit_Channel)
+ #TRANSMIT_ID# (>K:PILOT_TRANSMITTER_SET)
+ 4 (>K:COPILOT_TRANSMITTER_SET)
+
+ #NODE_ID_BUTTON#
+ #Button_ID# (L:XMLVAR_COM_Transmit_Channel) ==
+ audioreceiver_knob_push_button_on
+ 0.1
+ audioreceiver_knob_push_button_off
+ 0.5
+
+
+
+
+
+
+
+
+
+
+
+ #ANIM_NAME_KNOB#
+ 1
+ 0
+ 1
+ TurnLeft
+ TurnRight
+ Hand
+ #TOOLTIP_LEFT#
+ #TOOLTIP_RIGHT#
+ #TOOLTIP_HAND#
+ True
+ False
+ False
+ 0.002
+ (L:XMLVAR_COM_#ID#_Volume_#FREQ_ID#) 100 *
+ (L:XMLVAR_COM_#ID#_Volume_#FREQ_ID#) #VOLUME_INCREMENT# + 1 min (>L:XMLVAR_COM_#ID#_Volume_#FREQ_ID#) 1 (>I:XMLVAR_COM_UpdateVolumes)
+ (L:XMLVAR_COM_#ID#_Volume_#FREQ_ID#) #VOLUME_INCREMENT# - 0 max (>L:XMLVAR_COM_#ID#_Volume_#FREQ_ID#) 1 (>I:XMLVAR_COM_UpdateVolumes)
+
+
+ <#ANIM_CODE_PARAM_NAME#>
+ (L:XMLVAR_COM_#ID#_#FREQ_ID#_Switch_Down)
+ #Button_ID# (L:XMLVAR_COM_Transmit_Channel) == or 100 *
+ #ANIM_CODE_PARAM_NAME#>
+
+
+ #ANIM_NAME_SWITCH#
+
+ #Button_ID# (L:XMLVAR_COM_Transmit_Channel) != if{
+ (L:XMLVAR_COM_#ID#_#FREQ_ID#_Switch_Down) ! (>L:XMLVAR_COM_#ID#_#FREQ_ID#_Switch_Down)
+ 1 (>I:XMLVAR_COM_UpdateReceivers)
+ }
+
+ audioreceiver_push_button_on
+ 0.1
+ audioreceiver_push_button_off
+ 0.5
+ audioreceiver_knob
+ 36
+
+
+
+
+
+
+
+ #NODE_ID_LED#
+ #TRANSMIT_EMISSIVE_CODE#
+
+
+
+
+ #NODE_ID_LED#
+ #TRANSMIT_EMISSIVE_CODE#
+
+
+
+
+
+
+
+
+ #NODE_ID_LIGHT#
+ #NODE_ID_LIGHT#_Light
+
+
+ False
+
+
+ #TRANSMIT_EMISSIVE_CODE#
+
+
+
+
+
+
+
+
+
+ False
+
+
+ #PREFIX#_AudioReceiver_Knob_FLT_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_CAB_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_PA_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_HF_L_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_HF_R_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_SAT_L_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_SAT_R_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_SPKR_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_01_#ID#_SEQ1
+
+
+ #PREFIX#_AudioReceiver_Knob_02_#ID#_SEQ1
+
+
+
+
+
+
+
+
+ 1
+
+ (A:COM RECEIVE:1, Bool) sp1
+ (A:COM RECEIVE:2, Bool) sp2
+ (A:COM RECEIVE:3, Bool) sp3
+
+ (L:XMLVAR_COM_1_VHF_L_Switch_Down) (L:XMLVAR_COM_2_VHF_L_Switch_Down) (L:XMLVAR_COM_3_VHF_L_Switch_Down) or or sp4
+ (L:XMLVAR_COM_1_VHF_C_Switch_Down) (L:XMLVAR_COM_2_VHF_C_Switch_Down) (L:XMLVAR_COM_3_VHF_C_Switch_Down) or or sp5
+ (L:XMLVAR_COM_1_VHF_R_Switch_Down) (L:XMLVAR_COM_2_VHF_R_Switch_Down) (L:XMLVAR_COM_3_VHF_R_Switch_Down) or or sp6
+
+ (A:COM VOLUME:1, Percent over 100) sp7
+ (A:COM VOLUME:2, Percent over 100) sp8
+ (A:COM VOLUME:3, Percent over 100) sp9
+
+ (L:XMLVAR_COM_1_Volume_VHF_L) (L:XMLVAR_COM_2_Volume_VHF_L) (L:XMLVAR_COM_3_Volume_VHF_L) max max sp10
+ (L:XMLVAR_COM_1_Volume_VHF_C) (L:XMLVAR_COM_2_Volume_VHF_C) (L:XMLVAR_COM_3_Volume_VHF_C) max max sp11
+ (L:XMLVAR_COM_1_Volume_VHF_R) (L:XMLVAR_COM_2_Volume_VHF_R) (L:XMLVAR_COM_3_Volume_VHF_R) max max sp12
+
+ (* Check if the Simvars have been toggled externaly *)
+ (I:XMLVAR_COM_UpdateReceivers) if{
+ l4 (>K:COM1_RECEIVE_SELECT)
+ l5 (>K:COM2_RECEIVE_SELECT)
+ l6 (>K:COM3_RECEIVE_SELECT)
+ 0 (>I:XMLVAR_COM_UpdateReceivers)
+ } els{
+ (* Update XML Values if SimVar has changed *)
+ (O:XMLVAR_COM_1_Receive_PreviousValue) l1 != l4 l1 != and if{
+ 1 (>L:XMLVAR_COM_1_VHF_L_Switch_Down)
+ }
+ (O:XMLVAR_COM_2_Receive_PreviousValue) l2 != l5 l2 != and if{
+ 1 (>L:XMLVAR_COM_2_VHF_C_Switch_Down)
+ }
+ (O:XMLVAR_COM_3_Receive_PreviousValue) l3 != l6 l3 != and if{
+ 1 (>L:XMLVAR_COM_3_VHF_R_Switch_Down)
+ }
+ }
+ (I:XMLVAR_COM_UpdateVolumes) if{
+ l10 100 * (>K:COM1_VOLUME_SET)
+ l11 100 * (>K:COM2_VOLUME_SET)
+ l12 100 * (>K:COM3_VOLUME_SET)
+ 0 (>I:XMLVAR_COM_UpdateVolumes)
+ } els{
+ (* Update XML Values if SimVar has changed *)
+ (O:XMLVAR_COM_1_Volume_PreviousValue) l7 != l10 l7 != and if{
+ l10 l7 > if{
+ l7 (L:XMLVAR_COM_1_Volume_VHF_L) min (>L:XMLVAR_COM_1_Volume_VHF_L)
+ l7 (L:XMLVAR_COM_2_Volume_VHF_L) min (>L:XMLVAR_COM_2_Volume_VHF_L)
+ l7 (L:XMLVAR_COM_3_Volume_VHF_L) min (>L:XMLVAR_COM_3_Volume_VHF_L)
+ } els{
+ l7 (>L:XMLVAR_COM_1_Volume_VHF_L)
+ }
+ }
+ (O:XMLVAR_COM_2_Volume_PreviousValue) l8 != l11 l8 != and if{
+ l11 l8 > if{
+ l8 (L:XMLVAR_COM_1_Volume_VHF_C) min (>L:XMLVAR_COM_1_Volume_VHF_C)
+ l8 (L:XMLVAR_COM_2_Volume_VHF_C) min (>L:XMLVAR_COM_2_Volume_VHF_C)
+ l8 (L:XMLVAR_COM_3_Volume_VHF_C) min (>L:XMLVAR_COM_3_Volume_VHF_C)
+ } els{
+ l8 (>L:XMLVAR_COM_2_Volume_VHF_C)
+ }
+ }
+ (O:XMLVAR_COM_3_Volume_PreviousValue) l9 != l12 l9 != and if{
+ l12 l9 > if{
+ l9 (L:XMLVAR_COM_1_Volume_VHF_R) min (>L:XMLVAR_COM_1_Volume_VHF_R)
+ l9 (L:XMLVAR_COM_2_Volume_VHF_R) min (>L:XMLVAR_COM_2_Volume_VHF_R)
+ l9 (L:XMLVAR_COM_3_Volume_VHF_R) min (>L:XMLVAR_COM_3_Volume_VHF_R)
+ } els{
+ l9 (>L:XMLVAR_COM_3_Volume_VHF_R)
+ }
+ }
+ }
+
+ l4 (>O:XMLVAR_COM_1_Receive_PreviousValue)
+ l5 (>O:XMLVAR_COM_2_Receive_PreviousValue)
+ l6 (>O:XMLVAR_COM_3_Receive_PreviousValue)
+ l10 (>O:XMLVAR_COM_1_Volume_PreviousValue)
+ l11 (>O:XMLVAR_COM_2_Volume_PreviousValue)
+ l12 (>O:XMLVAR_COM_3_Volume_PreviousValue)
+
+
+
+
+
+
+ AIRLINER_Switch_Seatbelts
+ AIRLINER_Switch_Seatbelts
+ O
+ L
+ XMLVAR_SeatBelts
+
+
+
+
+
+ CABIN SEATBELTS ALERT SWITCH
+ CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE
+ seatbelts_switch_on
+ seatbelts_switch_off
+ 0.1
+ 0.9
+
+
+
+
+ seatbelts_switch
+
+
+
+
+
+
+
+
+ AIRLINER_Switch_NoSmoking
+ AIRLINER_Switch_NoSmoking
+ O
+ L
+ XMLVAR_NoSmoking
+
+
+
+
+
+ CABIN NO SMOKING ALERT SWITCH
+ CABIN_NO_SMOKING_ALERT_SWITCH_TOGGLE
+ nosmoking_switch_on
+ nosmoking_switch_off
+ 0.1
+ 0.9
+
+
+
+
+ nosmoking_switch
+
+
+
+
+
+
+
+
+ AIRLINER_Push_Clock
+ AIRLINER_Push_Clock
+ Generic
+ Clock
+
+
+
+ (>H:#PLANE_PREFIX#_BTN_#BUTTON_ID#)
+
+
+
+
\ No newline at end of file
From 9883eafecc617459f7798819e6ad4884f90f290c Mon Sep 17 00:00:00 2001
From: boufogre <73106379+boufogre@users.noreply.github.com>
Date: Sun, 23 May 2021 13:18:15 +0200
Subject: [PATCH 3/4] update
---
.../Asobo/Airliner/AirlinerCommon.xml | 22 +++++++++----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml b/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
index bd6364f9c..cc83d0a79 100644
--- a/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
+++ b/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
@@ -629,17 +629,17 @@
(>H:B747_8_MFD_KNOB_RANGE_TFC)
0
- .077
- .154
- .231
- .308
- .385
- .462
- .539
- .616
- .693
- .770
- .844
+ .083
+ .166
+ .250
+ .333
+ .416
+ .500
+ .583
+ .667
+ .750
+ .833
+ .916
1
TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_0_25
TT:COCKPIT.TOOLTIPS.EFIS_PANEL_RANGE_SELECTOR_SET_0_5
From 3e4758579babf291fafb7811f848afd9abe3fbf4 Mon Sep 17 00:00:00 2001
From: boufogre <73106379+boufogre@users.noreply.github.com>
Date: Sun, 23 May 2021 14:00:50 +0200
Subject: [PATCH 4/4] added tooltip for 1280 range
---
salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml b/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
index cc83d0a79..41ed5ae77 100644
--- a/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
+++ b/salty-747/ModelBehaviorDefs/Asobo/Airliner/AirlinerCommon.xml
@@ -715,6 +715,7 @@
+