Guest User

DCS-BIOS AJS37 test

a guest
May 15th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. BIOS.protocol.beginModule("AJS37", 0x2600)
  2. BIOS.protocol.setExportModuleAircrafts({"AJS37"})
  3.  
  4. local documentation = moduleBeingDefined.documentation
  5. local document = BIOS.util.document
  6. local parse_indication = BIOS.util.parse_indication
  7. local defineToggleSwitch = BIOS.util.defineToggleSwitch
  8. local definePushButton = BIOS.util.definePushButton
  9.  
  10. dofile(lfs.currentdir().."mods/aircraft/AJS37/Cockpit/scripts/devices.lua")
  11. dofile(lfs.currentdir().."mods/aircraft/AJS37/Cockpit/scripts/command_defs.lua")
  12.  
  13.  
  14.  
  15. -- ENGINE PANEL
  16. defineToggleSwitch("ENG_START_SYSTEM", 1, 3001, 206, "Engine Panel", "Start System Switch")
  17. defineToggleSwitch("ENG_LOW_PRES", 1, 3002, 204, "Engine Panel", "Low-pressure Fuel Valve Switch")
  18. defineToggleSwitch("ENG_HIGH_PRES", 1, 3005, 202, "Engine Panel", "High-pressure Fuel Valve Switch")
  19. defineToggleSwitch("ENG_IGNITION", 1, 3003, 205, "Engine Panel", "Ignition System Switch")
  20.  
  21.  
  22. BIOS.protocol.endModule()
Add Comment
Please, Sign In to add comment