Pantalaimon

Library.xml C152 custom checklist v0.21- Flight Simulator 2020

Sep 4th, 2020 (edited)
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 18.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="Windows-1252"?>
  2. <SimBase.Document Type="CheckpointLibrary" version="1,0">
  3.     <Checklist.CheckpointLibrary>
  4.     <!-- C152 Library.xml /// v0.21 - 20200905 -->
  5. <!-- custom checklist items for the Cessna C152 in Flight Simulator 2020 -->
  6. <!-- definitions file ONLY, you must use this with the full custom checklist file here (instructions in that file): https://pastebin.com/acqBHnLL -->
  7.         <Checkpoint Id="Master_Switch_On_C152">
  8.           <Clue name="TT:CLUE.ELECTRIC_MASTER_SWITCH_ON"/>
  9.           <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_MASTER_SWITCH" ExpectationTT="TT:GAME.CHECKLIST_ON"/>
  10.           <Sequence SeqType="UnOrdered">
  11.             <Test>
  12.               <TestValue>
  13.                 <Val SimVarName="ELECTRICAL MASTER BATTERY" Units="Boolean"/>
  14.               </TestValue>
  15.               <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_BATTERY"/>
  16.               <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
  17.               <!-- as it's used by C152 only, adding this action here -->
  18.               <Instrument Id="ELECTRICAL_Switch_Battery_Master"/>
  19.               <Instrument Id="knob_electric_master"/>
  20.             </Test>
  21.             <Test>
  22.               <TestValue>
  23.                 <Val SimVarName="AVIONICS MASTER SWITCH:1" Units="Boolean"/>
  24.               </TestValue>
  25.               <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
  26.             </Test>
  27.             <Test>
  28.               <TestValue>
  29.                 <Val SimVarName="GENERAL ENG MASTER ALTERNATOR:1" Units="Boolean"/>
  30.               </TestValue>
  31.               <Instrument Id="ALTERNATOR_MASTER_SWITCH"/>
  32.               <Instrument Id="ALTERNATOR_MASTER_SWITCH1"/>
  33.               <Instrument Id="ELECTRICAL_Switch_Alternator"/>
  34.               <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_ALTERNATOR"/>
  35.             </Test>
  36.           </Sequence>
  37.         </Checkpoint>
  38.        
  39.             <Checkpoint Id="Master_Switch_Off_C152">
  40.           <Clue name="TT:CLUE.ELECTRIC_MASTER_SWITCH_OFF"/>
  41.           <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_MASTER_SWITCH" ExpectationTT="TT:GAME.CHECKLIST_OFF"/>
  42.           <Sequence SeqType="UnOrdered">
  43.             <Test>
  44.                 <TestValue>
  45.                     <Operator OpType="NOT"> <!-- same as above except wrapped in this NOT tag to invert the current status -->
  46.                         <Val SimVarName="ELECTRICAL MASTER BATTERY" Units="Boolean"/>
  47.                     </Operator>
  48.                 </TestValue>
  49.             <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_MASTER_BATTERY"/>
  50.             <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
  51.             <!-- as it's used by C152 only, adding this action here -->
  52.             <Instrument Id="ELECTRICAL_Switch_Battery_Master"/>
  53.             <Instrument Id="knob_electric_master"/>
  54.             </Test>
  55.            
  56.             <Test>
  57.                 <TestValue>
  58.                     <Val SimVarName="AVIONICS MASTER SWITCH:1" Units="Boolean"/>
  59.                 </TestValue>
  60.             <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
  61.             </Test>
  62.            
  63.             <Test>
  64.                 <TestValue>
  65.                     <Val SimVarName="GENERAL ENG MASTER ALTERNATOR:1" Units="Boolean"/>
  66.                 </TestValue>
  67.                 <Instrument Id="ALTERNATOR_MASTER_SWITCH"/>
  68.                 <Instrument Id="ALTERNATOR_MASTER_SWITCH1"/>
  69.                 <Instrument Id="ELECTRICAL_Switch_Alternator"/>
  70.                 <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_MASTER_ALTERNATOR"/>
  71.             </Test>
  72.           </Sequence>
  73.         </Checkpoint>
  74.        
  75.             <Checkpoint Id="Magneto_100_RPM_Decrease_50_RPM_Diff_Max">
  76.                 <Clue name="TT:Check that right and left magnetos decrease RPM by 100RPM, and that there is at most 50RPM differencial between each"/> <!-- obviously does not match an Asobo text, so in-game we get 'CLUE.MAGNETO...' but at least is readable -->
  77.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_MAGNETOS" ExpectationTT="TT:Max 100 RPM Differencial"/> <!-- TT does not match to an Asobo stringtable however the game parses the text and the co-pilot reads back okay -->
  78.                 <Action Condition="Init" StoreVar="Magneto_RPM_BOTH" Value="0"/>
  79.                 <Action Condition="Init" StoreVar="Magneto_RPM_LEFT" Value="0"/>
  80.                 <Action Condition="Init" StoreVar="Magneto_RPM_RIGHT" Value="0"/>
  81.                 <Sequence SeqType="Ordered">
  82.                     <Test>
  83.                         <TestValue>
  84.                             <Operator OpType="And">
  85.                                 <Val SimVarName="RECIP ENG LEFT MAGNETO:1" Units="Boolean"/>
  86.                                 <Val SimVarName="RECIP ENG RIGHT MAGNETO:1" Units="Boolean"/>
  87.                             </Operator>
  88.                         </TestValue>
  89.                         <Duration Value="1.0" Cumulative="False"/>
  90.                         <Once>True</Once>
  91.                         <Instrument Id="ENGINE_Switch_Master"/>
  92.                         <Instrument Id="ENGINE_Switch_Master1"/>
  93.                         <!-- <Instrument Id="HTML:G1000_MFD:Piston_RPMGauge"/> -->
  94.                         <!-- <Instrument Id="HTML:AS1000_MFD:Piston_RPMGauge"/> -->
  95.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="MAGNETO_BOTH"/>
  96.                         <Action Condition="TestValueTrue" Once="false" StoreVar="Magneto_RPM_BOTH">
  97.                             <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
  98.                         </Action>
  99.                     </Test>
  100.                     <Sequence SeqType="Unordered">
  101.                         <Sequence SeqType="Ordered">
  102.                             <Once>True</Once>
  103.                             <Test>
  104.                                 <TestValue>
  105.                                     <Operator OpType="OR">
  106.                                         <!-- Skips if Magneto_RPM_RIGHT is already set -->
  107.                                         <Val ReadVar="Magneto_RPM_RIGHT"/>
  108.                                         <Operator OpType="And">
  109.                                             <Val SimVarName="RECIP ENG LEFT MAGNETO:1" Units="Boolean"/>
  110.                                             <Operator OpType="Not">
  111.                                                 <Val SimVarName="RECIP ENG RIGHT MAGNETO:1" Units="Boolean"/>
  112.                                             </Operator>
  113.                                         </Operator>
  114.                                     </Operator>
  115.                                 </TestValue>
  116.                                 <Duration Value="1.5" Cumulative="False"/>
  117.                                 <Instrument Id="ENGINE_Switch_Master"/>
  118.                                 <Instrument Id="ENGINE_Switch_Master1"/>
  119.                                 <Instrument Id="INSTRUMENT_Digits_Tachometer"/>
  120.                                 <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="MAGNETO_LEFT"/>
  121.                             </Test>
  122.                             <Test>
  123.                                 <TestValue>
  124.                                     <Operator OpType="OR">
  125.                                         <!-- Skips if Magneto_RPM_RIGHT is already set -->
  126.                                         <Val ReadVar="Magneto_RPM_RIGHT"/>
  127.                                         <Operator OpType="Greater">
  128.                                             <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
  129.                                             <Operator OpType="Minus">
  130.                                                 <Val ReadVar="Magneto_RPM_BOTH"/>
  131.                                                 <Val Value="100"/>
  132.                                             </Operator>
  133.                                         </Operator>
  134.                                     </Operator>
  135.                                 </TestValue>
  136.                             </Test>
  137.                             <Test>
  138.                                 <!-- Store the current rpm in Magneto_RPM_LEFT, unless Magneto_RPM_RIGHT is already set -->
  139.                                 <TestValue>
  140.                                     <Operator OpType="OR">
  141.                                         <!-- Verifies if one of the var is set -->
  142.                                         <Val ReadVar="Magneto_RPM_LEFT"/>
  143.                                         <Val ReadVar="Magneto_RPM_RIGHT"/>
  144.                                     </Operator>
  145.                                 </TestValue>
  146.                                 <Action Condition="TestValueFalse" Once="True" StoreVar="Magneto_RPM_LEFT">
  147.                                     <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
  148.                                 </Action>
  149.                             </Test>
  150.                         </Sequence>
  151.                         <Sequence SeqType="Ordered">
  152.                             <Once>True</Once>
  153.                             <Test>
  154.                                 <TestValue>
  155.                                     <Operator OpType="OR">
  156.                                         <!-- Skips if Magneto_RPM_LEFT is already set -->
  157.                                         <Val ReadVar="Magneto_RPM_LEFT"/>
  158.                                         <Operator OpType="And">
  159.                                             <Val SimVarName="RECIP ENG RIGHT MAGNETO:1" Units="Boolean"/>
  160.                                             <Operator OpType="Not">
  161.                                                 <Val SimVarName="RECIP ENG LEFT MAGNETO:1" Units="Boolean"/>
  162.                                             </Operator>
  163.                                         </Operator>
  164.                                     </Operator>
  165.                                 </TestValue>
  166.                                 <Duration Value="1.5" Cumulative="False"/>
  167.                                 <Instrument Id="ENGINE_Switch_Master"/>
  168.                                 <Instrument Id="ENGINE_Switch_Master1"/>
  169.                                 <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="MAGNETO_RIGHT"/>
  170.                             </Test>
  171.                             <Test>
  172.                                 <TestValue>
  173.                                     <Operator OpType="OR">
  174.                                         <!-- Skips if Magneto_RPM_LEFT is already set -->
  175.                                         <Val ReadVar="Magneto_RPM_LEFT"/>
  176.                                         <Operator OpType="Greater">
  177.                                             <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
  178.                                             <Operator OpType="Minus">
  179.                                                 <Val ReadVar="Magneto_RPM_BOTH"/>
  180.                                                 <Val Value="100"/>
  181.                                             </Operator>
  182.                                         </Operator>
  183.                                     </Operator>
  184.                                 </TestValue>
  185.                             </Test>
  186.                             <Test>
  187.                                 <!-- Store the current rpm in Magneto_RPM_RIGHT, unless Magneto_RPM_LEFT is already set -->
  188.                                 <TestValue>
  189.                                     <Operator OpType="OR">
  190.                                         <!-- Verifies if one of the var is set -->
  191.                                         <Val ReadVar="Magneto_RPM_LEFT"/>
  192.                                         <Val ReadVar="Magneto_RPM_RIGHT"/>
  193.                                     </Operator>
  194.                                 </TestValue>
  195.                                 <Action Condition="TestValueFalse" Once="True" StoreVar="Magneto_RPM_RIGHT">
  196.                                     <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
  197.                                 </Action>
  198.                             </Test>
  199.                         </Sequence>
  200.                     </Sequence>
  201.                     <!-- finally, test L AND R versus each other, max 50 diff   -->
  202.                     <Test>
  203.                         <TestValue>
  204.                             <Operator OpType="Equal" Tolerance="50">
  205.                                 <Val ReadVar="Magneto_RPM_LEFT"/>
  206.                                 <Val ReadVar="Magneto_RPM_RIGHT"/>
  207.                             </Operator>
  208.                         </TestValue>
  209.                     </Test>
  210.                 </Sequence>
  211.             </Checkpoint>
  212.            
  213.            
  214.             <Checkpoint Id="Throttle_Adjust_1700_RPM">
  215.                 <Clue name="TT:Adjust throttle for 1700RPM"/>
  216.                 <Action Condition="Init" Code="1 (&gt;L:IsFirstRPMAdjustment)"/>
  217.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_THROTTLE" ExpectationTT="TT:Adjusted for 1700RPM"/> <!-- the game displays the expectation text and the co-pilot reads back okay which is nice -->
  218.                 <Test>
  219.                     <Duration Value="3.5" Cumulative="False"/>
  220.                     <TestValue>
  221.                         <Operator OpType="EQUAL" Tolerance="50">
  222.                             <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
  223.                             <Val Value="1700"/>
  224.                         </Operator>
  225.                     </TestValue>
  226.                     <Instrument Id="ENGINE_Lever_Throttle"/>
  227.                     <Instrument Id="ENGINE_Lever_Throttle_Copilot"/>
  228.                     <Instrument Id="ENGINE_Lever_Throttle1"/>
  229.                     <Instrument Id="ENGINE_Lever_Throttle2"/>
  230.                     <Instrument Id="INSTRUMENT_Digits_Tachometer"/>
  231.                     <Action Copilot="True" Condition="TestValueFalse" Once="false" Code="
  232.                         (L:CheckListThrottle_NextKeySentTime) (E:SIMULATION TIME, seconds) &lt; if{
  233.                             (L:IsFirstRPMAdjustment) if{
  234.                                 4687 (&gt;K:THROTTLE1_SET)
  235.                                 0 (&gt;L:IsFirstRPMAdjustment)
  236.                 (E:SIMULATION TIME, seconds) 0.5 + (&gt;L:CheckListThrottle_NextKeySentTime)    
  237.                             } els{
  238.                                 (A:GENERAL ENG RPM:1, rpm) sp1
  239.                                 l1 (L:ChecklistThrottle_LastRPM) - (&gt;L:ChecklistThrottle_DeltaRPM)
  240.                        
  241.                                 (L:ChecklistThrottle_DeltaRPM) abs (L:ChecklistThrottle_LastDeltaRPM) abs &lt;  if{
  242.                                     l1 1700 &lt;
  243.                                     (L:ChecklistThrottle_DeltaRPM) 0.5 &lt; and if{
  244.                                         (&gt;K:THROTTLE_INCR)
  245.                                     } els{
  246.                                         l1 1700 &gt;
  247.                                         (L:ChecklistThrottle_DeltaRPM) -0.5 &gt; and if{
  248.                                             (&gt;K:THROTTLE_DECR)
  249.                                         }
  250.                                     }
  251.                                     (E:SIMULATION TIME, seconds) 0.5 + (&gt;L:CheckListThrottle_NextKeySentTime)
  252.                                 }
  253.                             }
  254.                        
  255.                             l1 (&gt;L:ChecklistThrottle_LastRPM)
  256.                             (L:ChecklistThrottle_DeltaRPM) (&gt;L:ChecklistThrottle_LastDeltaRPM)
  257.                         }
  258.                     "/>
  259.                 </Test>
  260.             </Checkpoint>
  261.            
  262.            
  263.             <Checkpoint Id="ALL_ELECTRICAL_EQUIPMENT_OFF_C152"> <!-- this modded from orig because of different equipment on the C152 vs everything else -->
  264.                 <Clue name="TT:CLUE.ALL_ELECTRICAL_EQUIPMENT_OFF"/>
  265.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_ALL_ELECTRICAL_EQUIPMENT" ExpectationTT="TT:GAME.CHECKLIST_OFF"/>
  266.                 <Sequence SeqType="Unordered">
  267.                     <Test>
  268.                         <TestValue>
  269.                             <Operator OpType="NOT">
  270.                                 <Val SimVarName="LIGHT STROBE" Units="Boolean"/>
  271.                             </Operator>
  272.                         </TestValue>
  273.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="STROBES_TOGGLE"/>
  274.                         <Instrument Id="LIGHTING_Switch_Light_Strobe"/>
  275.                     </Test>
  276.                     <Test>
  277.                         <TestValue>
  278.                             <Operator OpType="NOT">
  279.                                 <Val SimVarName="LIGHT NAV" Units="Boolean"/>
  280.                             </Operator>
  281.                         </TestValue>
  282.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_NAV_LIGHTS"/>
  283.                         <Instrument Id="LIGHTING_Switch_Light_Navigation"/>
  284.                     </Test>
  285.                     <Test>
  286.                         <TestValue>
  287.                             <Operator OpType="NOT">
  288.                                 <Val SimVarName="LIGHT TAXI" Units="Boolean"/>
  289.                             </Operator>
  290.                         </TestValue>
  291.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_TAXI_LIGHTS"/>
  292.                         <Instrument Id="LIGHTING_Switch_Light_Taxi"/>
  293.                     </Test>
  294.                     <Test>
  295.                         <TestValue>
  296.                             <Operator OpType="NOT">
  297.                                 <Val SimVarName="LIGHT LANDING" Units="Boolean"/>
  298.                             </Operator>
  299.                         </TestValue>
  300.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="LANDING_LIGHTS_TOGGLE"/>
  301.                         <Instrument Id="LIGHTING_Switch_Light_Landing"/>
  302.                         <Instrument Id="LIGHTING_Switch_Light_Landing_1"/>
  303.                     </Test>
  304.                     <Test>
  305.                         <TestValue>
  306.                             <Operator OpType="NOT">
  307.                                 <Val SimVarName="PITOT HEAT" Units="Boolean"/>
  308.                             </Operator>
  309.                         </TestValue>
  310.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="PITOT_HEAT_TOGGLE"/>
  311.                         <Instrument Id="DEICE_Switch_PitotHeat"/>
  312.                     </Test>
  313.                     <Test>
  314.                         <TestValue>
  315.                             <Operator OpType="NOT">
  316.                                 <Val SimVarName="ELECTRICAL MASTER BATTERY" Units="Boolean"/>
  317.                             </Operator>
  318.                         </TestValue>
  319.                       <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_BATTERY"/>
  320.                       <Instrument Id="ELECTRICAL_Switch_Battery_Master"/>
  321.                       <Instrument Id="knob_electric_master"/>
  322.                     </Test>
  323.                     <Test> <!-- don't know if this exists on C152 or what it tracks -->
  324.                       <TestValue>
  325.                         <Operator OpType="NOT">
  326.                                 <Val SimVarName="AVIONICS MASTER SWITCH:0" Units="Boolean"/>
  327.                             </Operator>
  328.                       </TestValue>
  329.                       <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
  330.                       <Instrument Id="ELECTRICAL_Switch_Avionics_Master"/>
  331.                     </Test>
  332.                     <Test>
  333.                       <TestValue>
  334.                             <Operator OpType="NOT">
  335.                         <Val SimVarName="GENERAL ENG MASTER ALTERNATOR:0" Units="Boolean"/>
  336.                             </Operator>
  337.                       </TestValue>
  338.                       <Instrument Id="ALTERNATOR_MASTER_SWITCH"/>
  339.                       <Instrument Id="ALTERNATOR_MASTER_SWITCH1"/>
  340.                       <Instrument Id="ELECTRICAL_Switch_Alternator"/>
  341.                       <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_ALTERNATOR"/>
  342.                     </Test>  
  343.                     <Test>
  344.                         <TestValue>
  345.                             <Operator OpType="NOT">
  346.                                 <Val SimVarName="LIGHT PANEL" Units="Boolean"/>
  347.                             </Operator>
  348.                         </TestValue>
  349.                         <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="PANEL_LIGHTS_TOGGLE"/>
  350.                         <Instrument Id="LIGHTING_Switch_Panel"/>
  351.                     </Test>
  352.                     <!-- <Test> we actually want to leave the beacon on -->
  353.                         <!-- <TestValue> -->
  354.                             <!-- <Operator OpType="NOT"> -->
  355.                                 <!-- <Val SimVarName="LIGHT BEACON" Units="Boolean"/>  -->
  356.                             <!-- </Operator> -->
  357.                         <!-- </TestValue> -->
  358.                         <!-- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_BEACON_LIGHTS"/> -->
  359.                         <!-- <Instrument Id="LIGHTING_Switch_Light_Beacon"/> -->
  360.                     <!-- </Test> -->
  361.                 </Sequence>
  362.             </Checkpoint>
  363.            
  364.            
  365.             <Checkpoint Id="C152_TaxiwayClear">
  366.                 <Clue name="TT:Make sure taxiway is clear"/>
  367.                 <CheckpointDesc SubjectTT="TT:Taxiway and slipstream" ExpectationTT="TT:GAME.CHECKLIST_CLEAR"/>
  368.             </Checkpoint>
  369.            
  370.             <Checkpoint Id="C152_LOOKOUT">
  371.                 <Clue name="TT:Check that runway and approach is clear."/>  <!-- this is the description text -->
  372.                 <CheckpointDesc SubjectTT="TT:Runway and approach" ExpectationTT="TT:Clear skies. Full hearts. Can't lose."/>
  373.             </Checkpoint>
  374.            
  375.            
  376.             <Checkpoint Id="Hobbs_And_Tach_Record_Fix">
  377.                 <Clue name="TT:CLUE.HOBBS_AND_TACH_RECORD"/>
  378.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_HOBBS_AND_TACH" ExpectationTT="TT:GAME.CHECKLIST_RECORD"/> <!-- when we figure out how to edit readbacks, this needs to be spelled phonetically so the co-pilot says wrec cord and not record as in record player -->
  379.                 <Test>
  380.                     <Instrument Id="HIGHLIGHT_RPM"/>
  381.                     <Instrument Id="INSTRUMENT_Digits_Tachometer"/>
  382.                 </Test>
  383.             </Checkpoint>
  384.            
  385.            
  386.             <Checkpoint Id="Radios_Off_C152"> <!-- the default item doesn't turn both off (nor does mine currently - can't find the reference for the second radio)-->
  387.                 <Clue name="TT:CLUE.RADIOS_OFF"/>
  388.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_RADIOS" ExpectationTT="TT:GAME.CHECKLIST_OFF"/>
  389.                 <Test>
  390.                     <Instrument Id="RADIOS"/>
  391.                     <TestValue>
  392.                         <Operator OpType="EQUAL">
  393.                             <Val SimVarName="COM VOLUME:1" Units="percent"/>
  394.                             <Val Value="0"/>
  395.                         </Operator>
  396.                     </TestValue>
  397.                     <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="COM1_VOLUME_SET" EventParam="0"/>
  398.                 </Test>
  399.                 <Test>
  400.                     <Instrument Id="RADIOS"/>
  401.                     <TestValue>
  402.                         <Operator OpType="EQUAL">
  403.                             <Val SimVarName="COM VOLUME:2" Units="percent"/>
  404.                             <Val Value="0"/>
  405.                         </Operator>
  406.                     </TestValue>
  407.                     <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="COM2_VOLUME_SET" EventParam="0"/>
  408.                 </Test>
  409.             </Checkpoint>
  410.            
  411.            
  412.             <Checkpoint Id="Transponder_On_On"> <!-- to put it on 'ON'/ground -->
  413.                 <!-- PARAMETRABLE -->
  414.                 <Clue name="TT:Transponder to ON"/>
  415.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_TRANSPONDER" ExpectationTT="TT:Set to ON"/>
  416.                 <SetTemplateValue Id="XPDR_Position">
  417.                     <Val Value="3"/>
  418.                 </SetTemplateValue>
  419.                 <SetTemplateAction Id="Set_XPDR_to_ON" Copilot="True" Condition="TestValueFalse" Once="true"    Code="3 (&gt;A:TRANSPONDER STATE:1, Number)"/>
  420.                 <!-- first Code value is the desired position of the XPDR knob -->
  421.                 <Test>
  422.                     <Instrument Id="TRANSPONDER_KNOB"/>
  423.                     <TestValue>
  424.                         <Operator OpType="EQUAL">
  425.                             <Val Code="(A:TRANSPONDER STATE:1, Enum)"/>
  426.                             <Val UseTemplateValue="XPDR_Position"/>
  427.                         </Operator>
  428.                     </TestValue>
  429.                     <Action UseTemplateAction="Set_XPDR_to_ON"/>
  430.                 </Test>
  431.                 <Instrument Id="TRANSPONDER_PUSH_ON"/>
  432.             </Checkpoint>
  433.            
  434.             <Checkpoint Id="BAGGAGE_STOWED_C152"> <!-- the default doesn't have proper 'completed' text -->
  435.                 <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_BAGGAGE" ExpectationTT="TT:Stowed securely"/>
  436.             </Checkpoint>
  437.            
  438.             <Checkpoint Id="Preflight_Flaps_Down">
  439.             <Clue name="TT:Visually check the flaps are down and symmetrical"/>
  440.             <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_FLAPS" ExpectationTT="TT:Down and checked visually"/>
  441.             <Test>
  442.                 <TestValue>
  443.                     <Operator OpType="GREATER">
  444.                         <Val SimVarName="FLAPS HANDLE PERCENT" Units="percent"/>
  445.                         <Val Value="99"/>
  446.                     </Operator>
  447.                 </TestValue>
  448.                 <Instrument Id="HANDLING_Lever_Flaps"/>
  449.                 <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="FLAPS_DOWN"/>
  450.             </Test>
  451.         </Checkpoint>
  452.        
  453.        
  454.     </Checklist.CheckpointLibrary>
  455. </SimBase.Document>
Add Comment
Please, Sign In to add comment