Skip to content

Commit

Permalink
Change to version 1.2.1
Browse files Browse the repository at this point in the history
change A-10C
add ID 717 for Standby Attitude Indicator knob arrow
add ID 22 for ADI Pitch Trim Knob
add ID 45 for HSI Heading Set Knob
add ID 44 for HSI Course Set Knob
add ID 67 for SAI Cage Standby Attitude Indicator. Hold Right Mouse Button and rotate Scroll Wheel to uncage
add ID 66 for SAI Cage Standby Attitude Indicator. Hold Right Mouse Button and rotate Scroll Wheel to uncage
add ID 68 for Clock Toggle Clock and Elapsed Time Modes
add ID 69 for Clock Start, Stop and Reset Elapsed Timer
change ID 127 to 128 for PTR-THROTTLE-FRICTION (Throttle Friction Control)
add ID 652 for PTR-TEMS-DATA (TEMS DATA)
add ID 773 for PTR-FLAPS (Flap Setting)
add ID 709 for PTR-ARMGS-COVER (Arm Ground Safety Override Cover)
add ID 710 for PTR-ARMGS-OVERRIDE-SWITCH (Arm Ground Safety Override Switch)
add ID 666 for PTR-CBP-AILERON-DISC-L (AILERON DISC L)
add ID 667 for PTR-CBP-AILERON-DISC-R (AILERON DISC R)
add ID 668 for PTR-CBP-SPS-RUDDER-AUTH-LIM (SPS & RUDDER AUTH LIMIT)
add ID 669 for PTR-CBP-ELEVATION-DISC-L (ELEVATION DISC L)
add ID 670 for PTR-CBP-ELEVATION-DISC-R (ELEVATION DISC R)
add ID 671 for PTR-CBP-AILERON-TAB-L (AILERON TAB L)
add ID 672 for PTR-CBP-AILERON-TAB-R (AILERON TAB R)
add ID 673 for PTR-CBP-EMER-FLAP (EMER FLAP)
add ID 674 for PTR-CBP-EMER-TRIM (EMER TRIM)
add ID 675 for PTR-CBP-LAND-GEAR (LAND GEAR)
add ID 676 for PTR-CBP-ENGINE-START-L (ENGINE START L)
add ID 677 for PTR-CBP-ENGINE-START-R (ENGINE START R)
add ID 678 for PTR-CBP-APU-CONT (APU CONT)
add ID 679 for PTR-CBP-ANG-IGNITOR-1 (ENG IGNITOR L/R-1)
add ID 680 for PTR-CBP-ANG-IGNITOR-2 (ENG IGNITOR L/R-2)
add ID 681 for PTR-CBP-EMER-FUEL-SHUTOFF-ENG-L (EMER FUEL SHUTOFF ENG L)
add ID 682 for PTR-CBP-EMER-FUEL-SHUTOFF-ENG-R (EMER FUEL SHUTOFF ENG R)
add ID 683 for PTR-CBP-DC-FUEL-PUMP (DC FUEL PUMP)
add ID 684 for PTR-CBP-BLEED-AIR-CONT-L (BLEED AIR CONT L)
add ID 685 for PTR-CBP-BLEED-AIR-CONT-R (BLEED AIR CONT R)
add ID 686 for PTR-CBP-EXT-STORES-JETT-1 (EXT STORES JETT 1)
add ID 687 for PTR-CBP-EXT-STORES-JETT-2 (EXT STORES JETT 2)
add ID 688 for PTR-CBP-STBY-ATT-IND (STBY ATT IND)
add ID 689 for PTR-CBP-MASTER-CAUT (MASTER CAUT)
add ID 690 for PTR-CBP-PITOT-HEAT-AC (PITOT HEAT AC)
add ID 691 for PTR-CBP-IFF (IFF)
add ID 692 for PTR-CBP-UHF-COMM (UHF COMM)
add ID 693 for PTR-CBP-INTER-COMM (INTER COMM)
add ID 694 for PTR-CBP-GENERATOR-CONT-L (GENERATOR CONT L)
add ID 695 for PTR-CBP-GENERATOR-CONT-R (GENERATOR CONT R)
add ID 696 for PTR-CBP-CONVERTER-L (CONVERTER L)
add ID 697 for PTR-CBP-AUX-ESS-BUS-0A (AUX ESS BUS 0A)
add ID 698 for PTR-CBP-AUX-ESS-BUS-0B (AUX ESS BUS 0B)
add ID 699 for PTR-CBP-AUX-ESS-BUS-0C (AUX ESS BUS 0C)
add ID 700 for PTR-CBP-BATTERY-BUS-TRANS (BATTERY BUS TRANS)
add ID 701 for PTR-CBP-INVERTER-PWR (INVERTER PWR)
add ID 702 for PTR-CBP-INVERTER-CONT (INVERTER CONT)
add ID 703 for PTR-CBP-AUX-ESS-BUS-TIE (AUX ESS BUS TIE)
add ID 62 for PNT-ALT-LEVR-L (Set Pressure)
add ID 60 for PNT-ALT-LEVR-R (ELECT/PNEU)
add ID 770 for Seat Height Adjustment up/down
add ID 787 for Extend boarding ladder cover
add ID 788 for Extend boarding ladder button
add ID 904 for Accelerometer Push to set
add ID 789 for DVADR - Function control toggle switch
add ID 776 for Anti-G suit valve test button
add ID 777 for Internal canopy actuator disengage lever
add ID 785 for Canopy jettison lever
add ID 786 for Canopy Jettison Lever Unlock Button
add ID 706 for IFF - antenna switch
add ID 707 for UHF - antenna switch
add ID 708 for EGI HQ TOD
add ID 16 for RWR Adjust Display Brightness

change AJS37
add ID 131 for Minute
add ID 133 for Second (Arrow)
add ID 1333 for Second
add ID 135 for Clock Setting

change AV8BNA
add ID 350 for Backup ADI Cage

change F-5E-3
format value for Radio with ID 327, 328, 329, 330 and 331
format value for TACAN XY Wheel ID 266
format value for set air speed knob ID 177

change FA-18C_hornet
add ID 439 for FLIR Switch, ON/STBY/OFF
add id 441 for LTD/R Switch, ARM/SAFE/AFT

change Ka-50
add ID 573 for VM_15PV_BALT_tenths

change M-2000C
format value for ADI standby ID 328
format value for Rada altimeter mimimum knob ID 192
change UHF Radio Preset Chanel values

change Mi-8MT
format value for VD 10K L Press ID 21

change SA342L/SA342;/SA342Mistral
change clock (minute) values for ID 42
change clock (second) values for ID 43
add ID 210 for clock ExtCouronne
formate value Radar Alt lamp for ID 97
  • Loading branch information
mcmicha committed May 7, 2019
1 parent 8c69898 commit 9c007dd
Show file tree
Hide file tree
Showing 35 changed files with 238 additions and 82 deletions.
2 changes: 1 addition & 1 deletion Scripts/DCS-ExportScript/Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- Contact [email protected]

ExportScript.Config = {}
ExportScript.Version.Config = "1.2.0"
ExportScript.Version.Config = "1.2.1"

-- Ikarus a Glass Cockpit Software
ExportScript.Config.IkarusExport = true -- false for not use
Expand Down
2 changes: 1 addition & 1 deletion Scripts/DCS-ExportScript/ExportScript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-- Main Table
ExportScript = {}
ExportScript.Version = {}
ExportScript.Version.ExportScript = "1.2.0"
ExportScript.Version.ExportScript = "1.2.1"
-- Simulation id
ExportScript.SimID = string.format("%08x*",os.time())

Expand Down
2 changes: 1 addition & 1 deletion Scripts/DCS-ExportScript/ExportsModules/A-10A.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- A-10A

ExportScript.FoundFCModule = true
ExportScript.Version.A10A = "1.2.0"
ExportScript.Version.A10A = "1.2.1"

-- auxiliary function
dofile(ExportScript.Config.ExportModulePath.."FC_AuxiliaryFuntions.lua")
Expand Down
89 changes: 84 additions & 5 deletions Scripts/DCS-ExportScript/ExportsModules/A-10C.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- A-10C

ExportScript.FoundDCSModule = true
ExportScript.Version.A10C = "1.2.0"
ExportScript.Version.A10C = "1.2.1"

ExportScript.ConfigEveryFrameArguments =
{
Expand Down Expand Up @@ -67,6 +67,7 @@ ExportScript.ConfigEveryFrameArguments =
[64] = "%.4f", -- Standby Attitude Indicator bank
[65] = "%0.1f", -- Standby Attitude Indicator warning flag
[715] = "%.4f", -- Standby Attitude Indicator manual pitch adjustment
[717] = "%.4f", -- Standby Attitude Indicator knob arrow
-- Engine Gauges
[70] = "%.4f", -- Left Engine Temperature
[71] = "%.4f", -- Left Engine TemperatureUnits
Expand Down Expand Up @@ -188,8 +189,6 @@ ExportScript.ConfigEveryFrameArguments =
[648] = "%.4f", -- HydraulicPressureRight {0.0,1.0}
-- Flap Indicator
[653] = "%.4f", -- FlapPositionIndicator {0,20} {0,2/3,1}
-- CPT MECH
[654] = "%1d", -- PTR-ANTI-SKID (Anti Skid)
-- Landing Gear Lamps
[659] = "%.f", -- GEAR_N_SAFE
[660] = "%.f", -- GEAR_L_SAFE
Expand Down Expand Up @@ -220,7 +219,17 @@ ExportScript.ConfigArguments =
arguments for export in low tick interval
based on "clickabledata.lua"
]]
[22] = "%.3f", -- AAP ??
--Attitude Direction Indicator
[22] = "%.4f", -- ADI Pitch Trim Knob {-.05,0.5} in 01. steps
--Horizontal Situation Indicator
[45] = "%.4f", -- HSI Heading Set Knob
[44] = "%.4f", -- HSI Course Set Knob
--Standby Attitude Indicator
[67] = "%1df", -- SAI Cage Standby Attitude Indicator. Hold Right Mouse Button and rotate Scroll Wheel to uncage
[66] = "%.4f", -- SAI Cage Standby Attitude Indicator. Hold Right Mouse Button and rotate Scroll Wheel to uncage
-- Digital Clock
[68] = "%1d", -- Clock Toggle Clock and Elapsed Time Modes
[69] = "%1d", -- Clock Start, Stop and Reset Elapsed Timer
-- Emergency Jettison Button
[101] = "%.1f", -- PTR-EXT-STORES-JETT (mergency Jettison External Stores)
-- Fire Extinguishers Panel
Expand Down Expand Up @@ -251,7 +260,8 @@ ExportScript.ConfigArguments =
[124] = "%1d", -- PTR-ENGINE-OPER-L (Engine Operate Left)
[125] = "%1d", -- PTR-ENGINE-OPER-R (Engine Operate Right)
[126] = "%1d", -- PTR-APU-START (APU On/Off)
[127] = "%.1f", -- PTR-THROTTLE-FRICTION (Throttle Friction Control)
[128] = "%.1f", -- PTR-THROTTLE-FRICTION (Throttle Friction Control)
[652] = "%1d", -- PTR-TEMS-DATA (TEMS DATA)
-- LASTE Control Panel
[130] = "%1d", -- PTR-LCP-RDRALTM (Radar Altimeter Normal/Disabled)
[131] = "%.1f", -- PTR-LCP-AUTOPILOT-ENGAGE (Autopilot Engage/Disengage)
Expand Down Expand Up @@ -628,6 +638,8 @@ ExportScript.ConfigArguments =
-- CPT MECH
[651] = "%.1f", -- PTR-DOWNLOCK-OVERRIDE (Downlock Override)
[716] = "%1d", -- PNT-LNDGEAR (Landing Gear Lever)
[773] = "%1d", -- PTR-FLAPS (Flap Setting)
[654] = "%1d", -- PTR-ANTI-SKID (Anti Skid)
-- Light System Control Panel
[655] = "%0.1f", -- PTR-LIGHTS-LAND (Land Taxi Lights)
-- STALL
Expand All @@ -650,6 +662,73 @@ ExportScript.ConfigArguments =
[782] = "%0.1f", -- PTR-LVR-PANKY58-1TO5 (Full switch)
[783] = "%0.1f", -- PTR-LVR-PANKY58-MODE (Mode switch)
[784] = "%1d", -- PTR-TMB-PANKY58-POWER (Power switch)
-- Armament Ground Safety Override Switch
[709] = "%1d", -- PTR-ARMGS-COVER (Arm Ground Safety Override Cover)
[710] = "%1d", -- PTR-ARMGS-OVERRIDE-SWITCH (Arm Ground Safety Override Switch)
--Circuit Breaker Panel CBP
[666] = "%1d", -- PTR-CBP-AILERON-DISC-L (AILERON DISC L)
[667] = "%1d", -- PTR-CBP-AILERON-DISC-R (AILERON DISC R)
[668] = "%1d", -- PTR-CBP-SPS-RUDDER-AUTH-LIM (SPS & RUDDER AUTH LIMIT)
[669] = "%1d", -- PTR-CBP-ELEVATION-DISC-L (ELEVATION DISC L)
[670] = "%1d", -- PTR-CBP-ELEVATION-DISC-R (ELEVATION DISC R)
[671] = "%1d", -- PTR-CBP-AILERON-TAB-L (AILERON TAB L)
[672] = "%1d", -- PTR-CBP-AILERON-TAB-R (AILERON TAB R)
[673] = "%1d", -- PTR-CBP-EMER-FLAP (EMER FLAP)
[674] = "%1d", -- PTR-CBP-EMER-TRIM (EMER TRIM)
[675] = "%1d", -- PTR-CBP-LAND-GEAR (LAND GEAR)
[676] = "%1d", -- PTR-CBP-ENGINE-START-L (ENGINE START L)
[677] = "%1d", -- PTR-CBP-ENGINE-START-R (ENGINE START R)
[678] = "%1d", -- PTR-CBP-APU-CONT (APU CONT)
[679] = "%1d", -- PTR-CBP-ANG-IGNITOR-1 (ENG IGNITOR L/R-1)
[680] = "%1d", -- PTR-CBP-ANG-IGNITOR-2 (ENG IGNITOR L/R-2)
[681] = "%1d", -- PTR-CBP-EMER-FUEL-SHUTOFF-ENG-L (EMER FUEL SHUTOFF ENG L)
[682] = "%1d", -- PTR-CBP-EMER-FUEL-SHUTOFF-ENG-R (EMER FUEL SHUTOFF ENG R)
[683] = "%1d", -- PTR-CBP-DC-FUEL-PUMP (DC FUEL PUMP)
[684] = "%1d", -- PTR-CBP-BLEED-AIR-CONT-L (BLEED AIR CONT L)
[685] = "%1d", -- PTR-CBP-BLEED-AIR-CONT-R (BLEED AIR CONT R)
[686] = "%1d", -- PTR-CBP-EXT-STORES-JETT-1 (EXT STORES JETT 1)
[687] = "%1d", -- PTR-CBP-EXT-STORES-JETT-2 (EXT STORES JETT 2)
[688] = "%1d", -- PTR-CBP-STBY-ATT-IND (STBY ATT IND)
[689] = "%1d", -- PTR-CBP-MASTER-CAUT (MASTER CAUT)
[690] = "%1d", -- PTR-CBP-PITOT-HEAT-AC (PITOT HEAT AC)
[691] = "%1d", -- PTR-CBP-IFF (IFF)
[692] = "%1d", -- PTR-CBP-UHF-COMM (UHF COMM)
[693] = "%1d", -- PTR-CBP-INTER-COMM (INTER COMM)
[694] = "%1d", -- PTR-CBP-GENERATOR-CONT-L (GENERATOR CONT L)
[695] = "%1d", -- PTR-CBP-GENERATOR-CONT-R (GENERATOR CONT R)
[696] = "%1d", -- PTR-CBP-CONVERTER-L (CONVERTER L)
[697] = "%1d", -- PTR-CBP-AUX-ESS-BUS-0A (AUX ESS BUS 0A)
[698] = "%1d", -- PTR-CBP-AUX-ESS-BUS-0B (AUX ESS BUS 0B)
[699] = "%1d", -- PTR-CBP-AUX-ESS-BUS-0C (AUX ESS BUS 0C)
[700] = "%1d", -- PTR-CBP-BATTERY-BUS-TRANS (BATTERY BUS TRANS)
[701] = "%1d", -- PTR-CBP-INVERTER-PWR (INVERTER PWR)
[702] = "%1d", -- PTR-CBP-INVERTER-CONT (INVERTER CONT)
[703] = "%1d", -- PTR-CBP-AUX-ESS-BUS-TIE (AUX ESS BUS TIE)
--AAU-34/A
[62] = "%1d", -- PNT-ALT-LEVR-L (Set Pressure)
[60] = "%1d", -- PNT-ALT-LEVR-R (ELECT/PNEU)
-- Seat Adjustment Button
[770] = "%1d", -- Seat Height Adjustment up/down
-- Arm Seat Handle
[787] = "%1d", -- Extend boarding ladder cover
[788] = "%1d", -- Extend boarding ladder button
-- Accelerometer
[904] = "%1d", -- Accelerometer Push to set
-- DVADR Remote Control Panel
[789] = "%1d", -- DVADR - Function control toggle switch
-- Anti-G suit valve test button
[776] = "%1d", -- Anti-G suit valve test button
-- Internal canopy actuator disengage lever
[777] = "%1d", -- Internal canopy actuator disengage lever
-- Canopy jettison lever
[785] = "%1d", -- Canopy jettison lever
[786] = "%1d", -- Canopy Jettison Lever Unlock Button
-- Antenna Select Panel
[706] = "%1d", -- IFF - antenna switch
[707] = "%1d", -- UHF - antenna switch
[708] = "%1d", -- EGI HQ TOD
-- RWR
[16] = "%.4f", -- RWR Adjust Display Brightness {0.15, 0.85} in 0.1 steps
}

-----------------------------
Expand Down
17 changes: 10 additions & 7 deletions Scripts/DCS-ExportScript/ExportsModules/AJS37.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- AJS37

ExportScript.FoundDCSModule = true
ExportScript.Version.AJS37 = "1.2.0"
ExportScript.Version.AJS37 = "1.2.1"

ExportScript.ConfigEveryFrameArguments =
{
Expand Down Expand Up @@ -84,8 +84,9 @@ ExportScript.ConfigEveryFrameArguments =
[145] = "%.4f", -- FuelNeeded {0.0, 1.0} {0.0, 135.0}
-- Clock
[130] = "%.4f", -- Hour
--[] = "%.4f", -- Minute
[133] = "%.4f", -- Second
[131] = "%.4f", -- Minute
[133] = "%.4f", -- Second (Arrow)
[1333] = "%.4f", -- Second
--
[141] = "%.4f", -- Engine pressure ratio EPR indicator
-- INSTRUMENTS Right Panel
Expand Down Expand Up @@ -241,12 +242,12 @@ ExportScript.ConfigArguments =
[203] = "%1d", -- Main Electric Power
[207] = "%1d", -- Generator
[209] = "%1d", -- Master Mode Selector
[446] = "%1d", -- "Master Caution Reset
[446] = "%1d", -- Master Caution Reset
[323] = "%1d", -- Slav SI
[324] = "%1d", -- HÖJD CISI
--[0] = "%1d", -- Snabbresning
[123] = "%1d", -- Backup ADI Cage
[126] = "%.3f", -- Backup Altimeter Setting (Axis) {0.0,1.0} in 0.001 steps
--[123] = "%1d", -- Backup ADI Cage
--[126] = "%.3f", -- Backup Altimeter Setting (Axis) {0.0,1.0} in 0.001 steps
[311] = "%1d", -- Pitch Gear Automatic/Landing
-- Countermeasure panel
[317] = "%.1f", -- Jammer Operation Mode Selector {0.0,0.1,0.2,0.3,0.4}
Expand Down Expand Up @@ -356,7 +357,9 @@ ExportScript.ConfigArguments =
[211] = "%.2f", -- Autopilot yaw correction RENFLYGN (Axis) {0.0,1.0} in 0.01 steps
[400] = "%1d", -- Missile Select Button
[399] = "%.3f", -- Master Volume / Sidewinder Tone (Axis) {0.0,1.0} in 0.001 steps
[1201] = "%.1f" -- Magnetic Declination Correction (Axis) {0.0,1.0} in 0.1 steps
[1201] = "%.1f", -- Magnetic Declination Correction (Axis) {0.0,1.0} in 0.1 steps
-- Clock
[135] = "%.3f", -- Clock Setting
}

-----------------------------
Expand Down
9 changes: 5 additions & 4 deletions Scripts/DCS-ExportScript/ExportsModules/AV8BNA.lua
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ ExportScript.ConfigEveryFrameArguments =
[354] = "%.4f", --ALT DIGITAL 2.
[353] = "%.4f", --ALT DIGITAL 3.
[356] = "%.4f", --IN HG 1. NUMBER
[357] = "%.4f", --IN HG 2.
[358] = "%.4f", --IN HG 3.
[359] = "%.4f", --IN HG 4.
[357] = "%.4f", --IN HG 2. NUMBER
[358] = "%.4f", --IN HG 3. NUMBER
[359] = "%.4f", --IN HG 4. NUMBER
--AOA
[360] = "%.4f", --AOA FLAG
[361] = "%.4f", --AOA POINTER
Expand Down Expand Up @@ -409,7 +409,8 @@ ExportScript.ConfigArguments =
-- Flights Instruments Panel
[364] = "%.4f", --NAV Course Setting
[653] = "%.4f", --Barometric Pressure Calibration
[351] = "%1d", --Backup ADI Cage/Pitch Adjust Knob
[350] = "%1d", --Backup ADI Cage
[351] = "%.4f", --Backup ADI Pitch Adjust Knob
-- Miscelaneous Switch Panel
[422] = "%1d", --Video Recorder System Mode Switch
[423] = "%1d", --Video Recorder System Display Selector Switch
Expand Down
2 changes: 1 addition & 1 deletion Scripts/DCS-ExportScript/ExportsModules/Bf-109K-4.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Bf-109K-4 Kurfürst

ExportScript.FoundDCSModule = true
ExportScript.Version.Bf109K4 = "1.2.0"
ExportScript.Version.Bf109K4 = "1.2.1"

ExportScript.ConfigEveryFrameArguments =
{
Expand Down
2 changes: 1 addition & 1 deletion Scripts/DCS-ExportScript/ExportsModules/F-15C.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- F-15C

ExportScript.FoundFCModule = true
ExportScript.Version.F15C = "1.2.0"
ExportScript.Version.F15C = "1.2.1"

-- auxiliary function
dofile(ExportScript.Config.ExportModulePath.."FC_AuxiliaryFuntions.lua")
Expand Down
73 changes: 63 additions & 10 deletions Scripts/DCS-ExportScript/ExportsModules/F-5E-3.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- F-5E-3

ExportScript.FoundDCSModule = true
ExportScript.Version.F5E3 = "1.2.0"
ExportScript.Version.F5E3 = "1.2.1"

ExportScript.ConfigEveryFrameArguments =
{
Expand Down Expand Up @@ -55,7 +55,7 @@ ExportScript.ConfigEveryFrameArguments =
-- AirSpeed/Mach Indicator
[8] = "%.4f", -- Airspeed {0.0, 0.0435, 0.1, 0.318, 0.3745, 0.397, 0.4495, 0.482, 0.54, 0.553, 0.6145, 0.658, 0.668, 0.761, 0.801, 0.877, 0.909, 0.942, 0.972, 1.0} {0.0, 80.0, 100.0, 170.0, 190.0, 200.0, 230.0, 250.0, 290.0, 300.0, 350.0, 390.0, 400.0, 500.0, 550.0, 650.0, 700.0, 750.0, 800.0, 850.0}
[178] = "%.4f", -- MaxAirspeed {0.0, 0.0435, 0.1, 0.318, 0.3745, 0.397, 0.4495, 0.482, 0.54, 0.553, 0.6145, 0.658, 0.668, 0.761, 0.801, 0.877, 0.909, 0.942, 0.972, 1.0} {0.0, 80.0, 100.0, 170.0, 190.0, 200.0, 230.0, 250.0, 290.0, 300.0, 350.0, 390.0, 400.0, 500.0, 550.0, 650.0, 700.0, 750.0, 800.0, 850.0}
[177] = "%.f", -- SetAirspeed
[177] = "%.4f", -- SetAirspeed
[179] = "%.4f", -- MachIndicator {1.0, 0.957, 0.92, 0.631, 0.386} {0.0, 0.5, 1.0, 1.8, 2.5}
-- Vertical Velocity Indicator
[24] = "%.4f", -- Variometer {-1.0, -0.64, -0.5, -0.29, 0.0, 0.29, 0.5, 0.64, 1.0} {-6000.0, -3000.0, -2000.0, -1000.0, 0.0, 1000.0, 2000.0, 3000.0, 6000.0}
Expand Down Expand Up @@ -93,7 +93,7 @@ ExportScript.ConfigEveryFrameArguments =
[438] = "%.4f", -- SAI_Pitch {-0.665, -0.581, -0.5, 0.0, 0.5, 0.581, 0.676, 0.735} {-rad_(78.0), -rad_(60.0), -rad_(42.0), 0.0, rad_(42.0), rad_(60.0), rad_(80.0), rad_(92.0)}
[439] = "%.4f", -- SAI_Bank {1.0, -1.0} {-math.pi, math.pi}
[440] = "%.4f", -- SAI_OFF_flag
[443] = "%.4f", -- SAI_knob_arrow {-1.0, 1.0} {0.0, 1.0}
--[443] = "%.4f", -- SAI_knob_arrow {-1.0, 1.0} {0.0, 1.0}
-- Clock
[19] = "%.4f", -- CLOCK_currtime_hours
[18] = "%.4f", -- CLOCK_currtime_minutes
Expand Down Expand Up @@ -151,7 +151,7 @@ ExportScript.ConfigEveryFrameArguments =
[263] = "%.4f", -- TACAN_window_wheel.hundreds {0.0, 1.0} {0.0, 10.0}
[264] = "%.4f", -- TACAN_window_wheel.tens {0.0, 1.0} {0.0, 10.0}
[265] = "%.4f", -- TACAN_window_wheel.ones {0.0, 1.0} {0.0, 10.0}
[266] = "%.4f", -- XYwheel
--[266] = "%.4f", -- XYwheel
[260] = "%.f", -- TACAN_test_light
-- LAMPS
-- Engine Fire Lights
Expand Down Expand Up @@ -467,11 +467,11 @@ ExportScript.ConfigArguments =
[246] = "%1d", -- CB LDG-TAXI LAMP PWR, ON/OFF {1.0, 0.0}
--UHF Radio AN/ARC-164
[300] = "%.2f", -- AN/ARC-164, UHF Radio Preset Channel Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, ... 0.15, 0.16, 0.17, 0.18, 0.19}
[327] = "%.1f", -- AN/ARC-164, UHF Radio 100 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3}
[328] = "%.1f", -- AN/ARC-164, UHF Radio 10 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
[329] = "%.1f", -- AN/ARC-164, UHF Radio 1 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
[330] = "%.1f", -- AN/ARC-164, UHF Radio 0.1 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
[331] = "%.2f", -- AN/ARC-164, UHF Radio 0.025 MHz Frequency Selector Knob {0.0, 0.25, 0.5, 0.75}
--[327] = "%.1f", -- AN/ARC-164, UHF Radio 100 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3}
--[328] = "%.1f", -- AN/ARC-164, UHF Radio 10 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
--[329] = "%.1f", -- AN/ARC-164, UHF Radio 1 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
--[330] = "%.1f", -- AN/ARC-164, UHF Radio 0.1 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
--[331] = "%.2f", -- AN/ARC-164, UHF Radio 0.025 MHz Frequency Selector Knob {0.0, 0.25, 0.5, 0.75}
[307] = "%.1f", -- AN/ARC-164, UHF Radio Frequency Mode Selector Switch, MANUAL/PRESET/GUARD {0.0, 0.1, 0.2}
[311] = "%.1f", -- AN/ARC-164, UHF Radio Function Selector Switch, OFF/MAIN/BOTH/ADF {0.0, 0.1, 0.2}
[310] = "%1d", -- AN/ARC-164, UHF Radio Tone Button
Expand Down Expand Up @@ -510,6 +510,9 @@ function ExportScript.ProcessIkarusDCSConfigHighImportance(mainPanelDevice)
ExportScript.Tools.SendData(2000, string.format("%7.3f", lUHFRadio:get_frequency()/1000000)) -- <- special function for get frequency data
ExportScript.Tools.SendData(2000, ExportScript.Tools.RoundFreqeuncy((UHF_RADIO:get_frequency()/1000000))) -- ExportScript.Tools.RoundFreqeuncy(frequency (MHz|KHz), format ("7.3"), PrefixZeros (false), LeastValue (0.025))
]]

--[443] = "%.4f", -- SAI_knob_arrow {-1.0, 1.0} {0.0, 1.0}
ExportScript.Tools.SendData(443, ExportScript.Tools.negate(mainPanelDevice:get_argument_value(443)))
end

function ExportScript.ProcessDACConfigHighImportance(mainPanelDevice)
Expand Down Expand Up @@ -554,10 +557,60 @@ function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
ExportScript.Tools.SendData(2001, lUHFRadio_PRESET[ExportScript.Tools.round(mainPanelDevice:get_argument_value(300), 2)])
end

--[327] = "%.1f", -- AN/ARC-164, UHF Radio 100 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3}
--[328] = "%.1f", -- AN/ARC-164, UHF Radio 10 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
--[329] = "%.1f", -- AN/ARC-164, UHF Radio 1 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
--[330] = "%.1f", -- AN/ARC-164, UHF Radio 0.1 MHz Frequency Selector Knob {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}
--[331] = "%.2f", -- AN/ARC-164, UHF Radio 0.025 MHz Frequency Selector Knob {0.0, 0.25, 0.5, 0.75}
--F5E_UHF
--327: 0.0=A, 0.1=3, 0.2=2, 0.3=T
--1: 0.0=A, 0.1=T, 0.2=2, 0.3=3

--328: 0.0=0, 0.1=9, 0.2=8, 0.3=7, 0.4=6, 0.5=5, 0.6=4, 0.7=3, 0.8=2, 0.9=1, 1.0=0
--2: 0.0=0, 0.1=1, 0.2=2, 0.3=3, 0.4=4, 0.5=5, 0.6=6, 0.7=7, 0.8=8, 0.9=9, 1.0=0

--329: 0.0=0, 0.1=9, 0.2=8, 0.3=7, 0.4=6, 0.5=5, 0.6=4, 0.7=3, 0.8=2, 0.9=1, 1.0=0
--3: 0.0=0, 0.1=1, 0.2=2, 0.3=3, 0.4=4, 0.5=5, 0.6=6, 0.7=7, 0.8=8, 0.9=9, 1.0=0

--330: 0.0=0, 0.1=9, 0.2=8, 0.3=7, 0.4=6, 0.5=5, 0.6=4, 0.7=3, 0.8=2, 0.9=1, 1.0=0
--4: 0.0=0, 0.1=1, 0.2=2, 0.3=3, 0.4=4, 0.5=5, 0.6=6, 0.7=7, 0.8=8, 0.9=9, 1.0=0

--331: 0.0=00, 0.25=75, 0.5=50, 0.75=25, 1.0=00
--5: 0.0=00, 0.25=25, 0.5=50, 0.75=75

local lTmp327 = tonumber(string.format("%0.1f", mainPanelDevice:get_argument_value(327)))
local lTmp327_2 = lTmp327
if lTmp327 == 0.0 then lTmp327_2 = 0.0
elseif lTmp327 == 0.1 then lTmp327_2 = 0.3
elseif lTmp327 == 0.2 then lTmp327_2 = 0.2
elseif lTmp327 == 0.3 then lTmp327_2 = 0.1
else lTmp327_2 = lTmp327 end

local lTmp328_2 = 1 - mainPanelDevice:get_argument_value(328)
local lTmp329_2 = 1 - mainPanelDevice:get_argument_value(329)
local lTmp330_2 = 1 - mainPanelDevice:get_argument_value(330)

local lTmp331 = mainPanelDevice:get_argument_value(331)
local lTmp331_2 = 0
if lTmp331 == 0.0 then lTmp331_2 = 0.0
elseif lTmp331 == 0.25 then lTmp331_2 = 0.75
elseif lTmp331 == 0.5 then lTmp331_2 = 0.5
elseif lTmp331 == 0.75 then lTmp331_2 = 0.25
else lTmp331_2 = lTmp331 end

ExportScript.Tools.SendData(327, lTmp327_2)
ExportScript.Tools.SendData(328, lTmp328_2)
ExportScript.Tools.SendData(329, lTmp329_2)
ExportScript.Tools.SendData(330, lTmp330_2)
ExportScript.Tools.SendData(331, lTmp331_2)


-- TACAN Channel
-------------------------------------------------
ExportScript.Tools.SendData(2002, (string.format("%0.2f", (mainPanelDevice:get_argument_value(263))) == "1.00" and "0" or "1")..ExportScript.Tools.round(mainPanelDevice:get_argument_value(264) * 10, 0)..ExportScript.Tools.round(mainPanelDevice:get_argument_value(265) * 10, 0)..(string.format("%1d", (mainPanelDevice:get_argument_value(266))) == "0" and "X" or "Y"))

--[266] = "%.4f", -- XYwheel
ExportScript.Tools.SendData(266, mainPanelDevice:get_argument_value(266) == 0 and 0 or 1)

end

function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice)
Expand Down
2 changes: 1 addition & 1 deletion Scripts/DCS-ExportScript/ExportsModules/F-86F Sabre.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- F-86 Export

ExportScript.FoundDCSModule = true
ExportScript.Version.F86 = "1.2.0"
ExportScript.Version.F86 = "1.2.1"
--ExportScript.NoLuaExportBeforeNextFrame = true

ExportScript.ConfigEveryFrameArguments =
Expand Down
5 changes: 4 additions & 1 deletion Scripts/DCS-ExportScript/ExportsModules/FA-18C_hornet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,10 @@ ExportScript.ConfigArguments =
-- ICMCP
[248] = "%.1f", -- ECM Mode Switch, XMIT/REC/BIT/STBY/OFF {0.0,0.1,0.2,0.3,0.4}
-- Helmet
[136] = "%.2f" -- HMD OFF/BRT Knob {0.0,0.75} in 0.01 Steps
[136] = "%.2f", -- HMD OFF/BRT Knob {0.0,0.75} in 0.01 Steps
-- Targeting Pod, FLIR
[439] = "%.1f", -- FLIR Switch, ON/STBY/OFF {0.0,0.5,1.0}
[441] = "%.1f", -- LTD/R Switch, ARM/SAFE/AFT {0.0,0.5,1.0}
}

-----------------------------
Expand Down
Loading

0 comments on commit 9c007dd

Please sign in to comment.