//Delay for freeze
 WAIT 1

//Start sim in paused mode
 SimCommand SimMotionFreeze
 
//Text layout setup
 SetColor 0xffffffff
 SetTextBoxed 2
 SetFont 3
 SetTextOrientation 0
 SetFlash 0

 //Some text
 SetCursor -0.98 0.08
 Print 2 "Welcome to the BMS ILS training mission"

 MoveCursor 0 -0.08
 WaitPrint 4 "Please wait until your cockpit is set up."

 //Set COM 1 to 365, COM 2 to 1
 SimCommand SimICPCom1
 SimCommand SimICPTHREE
 SimCommand SimICPSIX
 SimCommand SimICPCrus
 SimCommand SimICPZERO
 SimCommand SimICPZERO
 SimCommand SimICPEnter
 SimCommand SimICPCom2
 SimCommand SimICPTILS
 SimCommand SimICPEnter
 SimCommand SimICPResetDED

 //RALT OFF -> set to on
 SimCommand SimRALTON

 //ILS OFF -> set to on
 SimCommand SimILSOn

 //HUD FPM/ATT OFF -> set to on
 SimCommand SimPitchLadderATTFPM

 //Set tacan & ILS
 SimCommand SimICPTILS
 SimCommand SimICPTILS
 SimCommand SimICPALOW
 SimCommand SimICPCrus
 SimCommand SimICPEnter
 SimCommand SimICPDEDDOWN
 SimCommand SimICPTHREE
 SimCommand SimICPALOW
 SimCommand SimICPZERO
 SimCommand SimICPEnter
 SimCommand SimICPDEDDOWN
 SimCommand SimICPTILS
 SimCommand SimICPZERO
 SimCommand SimICPEIGHT
 SimCommand SimICPMark
 SimCommand SimICPZERO
 SimCommand SimICPEnter

 //Set HSI
 SimCommand SimHSITcn

 //Full Fuel load -> dump fuel to 3000Lbs
 SimCommand SimFuelDump
 SimCommand SimFuelDump
 SimCommand SimFuelDump 
 SimCommand SimFuelDump 
 SimCommand SimFuelDump 
 SimCommand SimFuelDump
 SimCommand SimFuelDump
 SimCommand SimFuelDump
 SimCommand SimFuelDump 
 SimCommand SimFuelDump 
 SimCommand SimFuelDump 
 SimCommand SimFuelDump
 SimCommand SimFuelDump


 MoveCursor 0 -0.08
 Print 4 "Initial setup finished. You have the aircraft."

 //resumes mission
 SimCommand SimMotionFreeze

