Skip to content

Mirage F1

Bailey edited this page Jul 28, 2022 · 12 revisions

How to use the Mirage F1 with DCS-Interface


Example for making a Fuselage bombs pushbutton
  1. Launch Stream Deck
  2. Launch DCS
  3. Start the Mirage F1 Ready for Takeoff Instant Action Mission
  4. Drag a DCS-Interface Momentary Button With Lamp onto the Stream Deck area
  5. Open C:\..\DCS World\Mods\aircraft\Mirage-F1\Cockpit\Common\clickabledata_common.lua and C:\..\DCS World\Mods\aircraft\Mirage-F1\Cockpit\Mirage-F1\Mirage-F1_Common\clickabledata_common_F1C.lua
  6. In DCS hover over the Fuselage bombs pushbutton (BOMB FUS) to read Fuselage bombs pushbutton
  7. Search the files in step 5 for Fuselage bombs pushbutton. Here is the result: elements["PNT-618"] = default_2_position_tumb(_("Fuselage bombs pushbutton"), 0, devices.MAIN, devCmds.Cmd594, 618, 1, {0, 1}, true, false, nil, false)
  8. In DCS-Interface, the Button ID will be 3 followed by the numbers that are after Cmd. In this case, the Button ID is 3594
  9. In DCS-Interface, the Device ID is 1
  10. Send Value while Pressed is 1
  11. Send Value while Released is Disable
  12. You should be able to now press the Momentary Button and watch the Fuselage bombs pushbutton depress
  13. If you want to add detection for lights, open the next menu in DCS-Interface (Image State Change on DCS Update Settings)
  14. The DCS ID for lights is typically the number that follows PNT + 1. In this case it is 619 from step 7. Refer to the Mirage-F1CE.lua ExportScripts file to confirm
  15. Congratulations, you have made a button and its corresponding light. The knowledge of the Button ID, Device ID, and DCS ID will take you far.
  16. You will notice that you cannot make the light come back up by pressing the button again. Try working around the problem by using an Incremental Input Rotary with the knowledge above. Good luck!

Media



Stream Deck IDs


ID Description Status Output e.g.
8000 VOR ILS Done VOR_ILS
108.00
8001 TACAN Done TACAN
X 09
8002 Omnibearing Done OMNI
123
8003 VOR, ILS, OMNI Done VOR_ILS 108.00
TACAN X 09
OMNI 123
8004 Engine Done 3,050 RPM
383 °C
8005 Fuel Dial Done Fuel (L)
Tot 3,816+
G 1,900
D 1,916
8006 Fuel Roller Done Fuel (L)
Tot 4,241
G 1,900
D 1,916
8007 Flight Instruments Done FLT INST
00080 ft
1013 mb
0 fpm
8008 QFE Calc Done QFE Calc
Tgt 1013
Alt 1013
Tgt 0ft
8009 QFE Calc Done mRad 000
Baro 1013
Tgt 1013
8010 Timer and Clock Done Time
C 06h00
T 00m25
8011 UHF Channel and Freq Done UHF
CH 2
245.000
8012 V/UHF Channel and Freq Done V/UHF
CH M
127.500
8013 Radio Channels and Freqs Done V/UHF (8)
127.500
UHF (1)
245.000
8014 Chaff Amount Done 30
Chaff
8015 Flare Amount Done 14
Flare
8016 Countermeasure
Amounts
Done C 30
F 14
8017 Countermeasure
Select
Done C F
H ⫷ L
A ⫷ A
F ⫷ R
F E
8018 Selected Mrad Done 000
Mrad
8019 Accelerometer Done G 1.5
MAX 2.6
MIN-0.8
8020 Engine Relight
Helper
Done ❌Cutoff
✅RPM
✅Kts
❌RESTART
8021 isCutoff Done 0, else 1 if in cutoff
8022 HSI Repeater 1 Done HDG 214
BUG 360
DST 045
8023 HSI Repeater 2 Done HDG 214
N1 214
N2 360
8024 HSI Additional Tgt Done VECT.
➤BRG 010
DST 034
8025 Tacan Partial
Button 1
Done TACAN
0-
8026 Tacan Partial
Button 2
Done TACAN
-9
8027 Weapon Pushbutton
isExtGon
Done 0, else 1 if on or selected
8028 Weapon Pushbutton
isMgFuson
Done 0, else 1 if on or selected
8029 Weapon Pushbutton
isCanAon
Done 0, else 1 if on or selected
8030 Weapon Pushbutton
isBombVolon
Done 0, else 1 if on or selected
8031 Weapon Pushbutton
isExtDon
Done 0, else 1 if on or selected
8032 Weapon Pushbutton
isMDon
Done 0, else 1 if on or selected
8033 Weapon Pushbutton
isCanSRoQon
Done 0, else 1 if on or selected
8034 Weapon Pushbutton
isBombFuson
Done 0, else 1 if on or selected
8035 Gears Done Gear⇓
⚪🔴⚪
⚪🟢🟢
8036 Flaps Readout Done Flap⇔
⚪⚪
🟢🟡
8037 AoA Indicator Done AoA🔴
22
8038 Autopilot isPAon Done 0, else 1 if on
8039 Autopilot isALTon Done 0, else 1 if on
8040 Autopilot isCAPon Done 0, else 1 if on
8041 Autopilot isRon Done 0, else 1 if on
8042 Autopilot isGon Done 0, else 1 if on
8043 Depression Table
Calculator
Done MATRA F4
320kts/-10°
4,000ft
65 Mrad
8044 Depression Table
Mrad
Done Mrad
65
8045 Depression Table
Dive Ange
Done Dive
-10°
8046 Depression Table
Altitude
Done Alt
4,000ft
8047 Depression Table
Knots
Done Kts
320ft
8048 Depression Table
Weapon
Done MATRA
F4
8049 Animated FLow Indicator Helper Proof of Concept 1 or 0
8050 Unused Nothing
8051 Parachute Brake Limit Done Chute
🟡
8052 isChuteOverspeed Done 0 if below 200kts
1 if below 210kts
2 if above 210kts
8053 Oxygen Amount Readout Done Chute
🟡
8054 isOxyDanger Done 0 if above 38%
1 if above 13%
2 if below 13%
8055 Max Altitude Readout WIP Ceiling
MAX ✅
SVC ❌
8056 isAltitudeMax WIP 0 if below 50,000ft
1 if below 55,000ft
2 if above 55,000ft
8057 isAlternatorZone WIP 0 if out of zone
1 if in zone
8058 Economy Descent Schedule Done ECON DES
RPM 6500
Brake IN
IAS 300kts
8059 Operational Descent Schedule Done OP DES
RPM ~6500
Brake IN
0.92/450kts
Path -10°
8060 Fast Descent Schedule Done FAST DES
RPM 6500
Brake OUT
Dive -20°
8061 Letdown Descent Schedule Done LETDOWN
RPM 6500
Brake OUT
IAS 300kts
Path -10°
8062 isAirspeedLimit Done 0 if not limit
1 if above limit
8063 currentAirspeed Done IAS
257 kts
8064 isAirspeedLimitMach WIP
8065 machReadout WIP
8066 Trim Readout Tile Done TRIM
Rud 85% R
Roll 1% L
Pitch 30% U
8067 Cockpit Pressure Altitude Done Press
10,500 ft
8068 Radar Volume Calculator Done RDR VOL
NM HI/LO
60 55/-14
30 24/18
8069 Radar Angle Calculator Done RDR ANGLE
5 NM
5000 altΔ
8070 Subsonic Climb Schedule
Clean Mil Power
Done SUB CLMB
CLEAN MIL
470/0.92
8071 Subsonic Climb Schedule
Clean Max Power
Done SUB CLMB
CLEAN MAX
500/0.95
8072 Subsonic Climb Schedule
Fuel Tank Mil Power
Done SUB CLMB
TANK MIL
422/0.84
8073 Subsonic Climb Schedule
Fuel Tank Max Power
Done SUB CLMB
TANK MAX
475/0.92
8074 Supersonic Climb Schedule Done SUPER
SUB to 30K
610 to 36K
M1.8 to ALT
8075 Fuel Time Remaining Calculator (unset) Done Fuel Calc
Set Mrad w/
10s fuel
T - 00m00
Fuel 2252
8075 Fuel Time Remaining Calculator (set) Done Fuel Calc
T - 02m51
Rate - 15
Fuel 1911
00h21m13
8076 IFF M1 Done IFF M1
42
8077 IFF M3A Done IFF M1
4523
8078 IFF M1 and M3A Done IFF
M1 42
M3A 4523
8079 Pressure Converter (Main Altimeter) Done Pressure
0950 mbar
713 mmhg
28.05 inhg