Ok donc si tu as téléchargé une des dernières version de PM systems, tu peux trouver dans le fichier pmsys737.lgc la partie concernant l'after overhead :
- Code: Tout sélectionner
////AFT
if aftPanel then
if noirs then
sixpackirs = 0
else
SixPackIRS = IRSDCL or IRSDCR
endif
if flapstest <> 0 then flapstest = 0 [2]
if flapstest = 0 then
LETransit = LEFlapsTransit
LEExtended = LEFlapsExtended
SlatTransit = LEFlapsTransit or ((FlapsPosL > 2050) and (FlapsPosL < 4090))
SlatExtended = (FlapsPosL > 10) and (FlapsPosL < 4090)
SlatFull = (FlapsPosL > 4090)
else
LETransit = 1
LEExtended = 1
SlatTransit = 1
SlatExtended = 1
SlatFull = 1
endif
//--
if IRSSelector1 = 0 then
DCTestL = 1
IRSTestL = 1
IRSOff1 = 1
IRSDCL = 0
IRSLAlign = 0
ATT1 = 0
IRSAlignedL = 1
endif
if IRSSelector2 = 0 then
DCTestR = 1
IRSTestR = 1
IRSOff2 = 1
IRSDCR = 0
IRSRAlign = 0
ATT2 = 0
IRSAlignedR = 1
endif
if (IRSSelector1 <> 0) then
DCTestL = 0 [2]
IRSTestL = 0 [12]
IRSDCL = DCTestL
if DCTestL = 0 then
IRSLAlign = IRSTestL or AlignL
endif
if (IRSSelector1 < 3) and (ATT1 = 0) then IRSOff1 = IRSNotAlignedCDU
if (DCTestL = 0) and (IRSTestL = 0) then
IRSAlignedL = IRSOff1
else
IRSAlignedL = 1
endif
endif
if (IRSSelector2 <> 0) then
DCTestR = 0 [2]
IRSTestR = 0 [12]
IRSDCR = DCTestR
if DCTestR = 0 then
IRSRAlign = IRSTestR or AlignR
endif
if (IRSSelector2 < 3) and (ATT2 = 0) then IRSOff2 = IRSNotAlignedCDU
if (DCTestR = 0) and (IRSTestR = 0) then
IRSAlignedR = IRSOff2
else
IRSAlignedR = 1
endif
endif
if IRSNotAlignedCDU and (IRSTestL = 0) then AlignL = blink
if IRSNotAlignedCDU and (IRSTestR = 0) then AlignR = blink
if (IRSSelector1 <> 0) or (IRSSelector2 <> 0) then
IRSNotAligned = (IRSAlignedL and IRSAlignedR) or ((IRSSource < 1) and IRSAlignedL) or ((IRSSource > 1) and IRSAlignedR)
else
IRSNotAligned = 1
endif
if (IRSSelector1 = 3) or IRSNotAlignedCDU then
IRSOff1 = 1
ATT1 = 1
endif
if (IRSSelector2 = 3) or IRSNotAlignedCDU then
IRSOff2 = 1
ATT2 = 1
endif
//-----------
//-----------
if OxygenCover then OxygenSW = 1
if OxygenSW then
Oxygen = counter 12 18
else
Oxygen = counter 0 10
endif
if StallTest <> 0 then StallTest = 0 [1.5]
if StallTest2 <> 0 then StallTest2 = 0 [1.5]
stallwarn = stallwarning or stalltest or stalltest2
if overspeedtest <> 0 then overspeedtest = 0 [1.5]
if overspeedtest2 <> 0 then overspeedtest2 = 0 [1.5]
overspeedwarn = overspeedwarning or overspeedtest or overspeedtest2
else
if noirs then sixpackirs = 0
endif
////
Il en manque c'est sur... il y a plus ou moins la manip d'alignement des IRS mais je ne sais pas si il y a les temporisations, j'ai pas étudié le langage de PM.
On pouvait espérer que ça irait plus vite avec le travail en solo de Thomas Richter
http://www.technicalservicerichter.com/ mais il ne fait que suivre la progression de PM Systems (ceux là ils exagèrent un peu depuis le temps que c'est sorti....)
A surveiller aussi sur le forum de mycockpit la section "custom PM system"
http://www.mycockpit.org/fltsim/forumdi ... stom-Edits