Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="Windows-1252"?>
- <SimBase.Document Type="CheckpointLibrary" version="1,0">
- <Checklist.CheckpointLibrary>
- <!-- C152 Library.xml /// v0.21 - 20200905 -->
- <!-- custom checklist items for the Cessna C152 in Flight Simulator 2020 -->
- <!-- definitions file ONLY, you must use this with the full custom checklist file here (instructions in that file): https://pastebin.com/acqBHnLL -->
- <Checkpoint Id="Master_Switch_On_C152">
- <Clue name="TT:CLUE.ELECTRIC_MASTER_SWITCH_ON"/>
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_MASTER_SWITCH" ExpectationTT="TT:GAME.CHECKLIST_ON"/>
- <Sequence SeqType="UnOrdered">
- <Test>
- <TestValue>
- <Val SimVarName="ELECTRICAL MASTER BATTERY" Units="Boolean"/>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_BATTERY"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
- <!-- as it's used by C152 only, adding this action here -->
- <Instrument Id="ELECTRICAL_Switch_Battery_Master"/>
- <Instrument Id="knob_electric_master"/>
- </Test>
- <Test>
- <TestValue>
- <Val SimVarName="AVIONICS MASTER SWITCH:1" Units="Boolean"/>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
- </Test>
- <Test>
- <TestValue>
- <Val SimVarName="GENERAL ENG MASTER ALTERNATOR:1" Units="Boolean"/>
- </TestValue>
- <Instrument Id="ALTERNATOR_MASTER_SWITCH"/>
- <Instrument Id="ALTERNATOR_MASTER_SWITCH1"/>
- <Instrument Id="ELECTRICAL_Switch_Alternator"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_ALTERNATOR"/>
- </Test>
- </Sequence>
- </Checkpoint>
- <Checkpoint Id="Master_Switch_Off_C152">
- <Clue name="TT:CLUE.ELECTRIC_MASTER_SWITCH_OFF"/>
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_MASTER_SWITCH" ExpectationTT="TT:GAME.CHECKLIST_OFF"/>
- <Sequence SeqType="UnOrdered">
- <Test>
- <TestValue>
- <Operator OpType="NOT"> <!-- same as above except wrapped in this NOT tag to invert the current status -->
- <Val SimVarName="ELECTRICAL MASTER BATTERY" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_MASTER_BATTERY"/>
- <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
- <!-- as it's used by C152 only, adding this action here -->
- <Instrument Id="ELECTRICAL_Switch_Battery_Master"/>
- <Instrument Id="knob_electric_master"/>
- </Test>
- <Test>
- <TestValue>
- <Val SimVarName="AVIONICS MASTER SWITCH:1" Units="Boolean"/>
- </TestValue>
- <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
- </Test>
- <Test>
- <TestValue>
- <Val SimVarName="GENERAL ENG MASTER ALTERNATOR:1" Units="Boolean"/>
- </TestValue>
- <Instrument Id="ALTERNATOR_MASTER_SWITCH"/>
- <Instrument Id="ALTERNATOR_MASTER_SWITCH1"/>
- <Instrument Id="ELECTRICAL_Switch_Alternator"/>
- <Action Copilot="True" Condition="TestValueTrue" Once="true" EventID="TOGGLE_MASTER_ALTERNATOR"/>
- </Test>
- </Sequence>
- </Checkpoint>
- <Checkpoint Id="Magneto_100_RPM_Decrease_50_RPM_Diff_Max">
- <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 -->
- <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 -->
- <Action Condition="Init" StoreVar="Magneto_RPM_BOTH" Value="0"/>
- <Action Condition="Init" StoreVar="Magneto_RPM_LEFT" Value="0"/>
- <Action Condition="Init" StoreVar="Magneto_RPM_RIGHT" Value="0"/>
- <Sequence SeqType="Ordered">
- <Test>
- <TestValue>
- <Operator OpType="And">
- <Val SimVarName="RECIP ENG LEFT MAGNETO:1" Units="Boolean"/>
- <Val SimVarName="RECIP ENG RIGHT MAGNETO:1" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Duration Value="1.0" Cumulative="False"/>
- <Once>True</Once>
- <Instrument Id="ENGINE_Switch_Master"/>
- <Instrument Id="ENGINE_Switch_Master1"/>
- <!-- <Instrument Id="HTML:G1000_MFD:Piston_RPMGauge"/> -->
- <!-- <Instrument Id="HTML:AS1000_MFD:Piston_RPMGauge"/> -->
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="MAGNETO_BOTH"/>
- <Action Condition="TestValueTrue" Once="false" StoreVar="Magneto_RPM_BOTH">
- <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
- </Action>
- </Test>
- <Sequence SeqType="Unordered">
- <Sequence SeqType="Ordered">
- <Once>True</Once>
- <Test>
- <TestValue>
- <Operator OpType="OR">
- <!-- Skips if Magneto_RPM_RIGHT is already set -->
- <Val ReadVar="Magneto_RPM_RIGHT"/>
- <Operator OpType="And">
- <Val SimVarName="RECIP ENG LEFT MAGNETO:1" Units="Boolean"/>
- <Operator OpType="Not">
- <Val SimVarName="RECIP ENG RIGHT MAGNETO:1" Units="Boolean"/>
- </Operator>
- </Operator>
- </Operator>
- </TestValue>
- <Duration Value="1.5" Cumulative="False"/>
- <Instrument Id="ENGINE_Switch_Master"/>
- <Instrument Id="ENGINE_Switch_Master1"/>
- <Instrument Id="INSTRUMENT_Digits_Tachometer"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="MAGNETO_LEFT"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="OR">
- <!-- Skips if Magneto_RPM_RIGHT is already set -->
- <Val ReadVar="Magneto_RPM_RIGHT"/>
- <Operator OpType="Greater">
- <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
- <Operator OpType="Minus">
- <Val ReadVar="Magneto_RPM_BOTH"/>
- <Val Value="100"/>
- </Operator>
- </Operator>
- </Operator>
- </TestValue>
- </Test>
- <Test>
- <!-- Store the current rpm in Magneto_RPM_LEFT, unless Magneto_RPM_RIGHT is already set -->
- <TestValue>
- <Operator OpType="OR">
- <!-- Verifies if one of the var is set -->
- <Val ReadVar="Magneto_RPM_LEFT"/>
- <Val ReadVar="Magneto_RPM_RIGHT"/>
- </Operator>
- </TestValue>
- <Action Condition="TestValueFalse" Once="True" StoreVar="Magneto_RPM_LEFT">
- <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
- </Action>
- </Test>
- </Sequence>
- <Sequence SeqType="Ordered">
- <Once>True</Once>
- <Test>
- <TestValue>
- <Operator OpType="OR">
- <!-- Skips if Magneto_RPM_LEFT is already set -->
- <Val ReadVar="Magneto_RPM_LEFT"/>
- <Operator OpType="And">
- <Val SimVarName="RECIP ENG RIGHT MAGNETO:1" Units="Boolean"/>
- <Operator OpType="Not">
- <Val SimVarName="RECIP ENG LEFT MAGNETO:1" Units="Boolean"/>
- </Operator>
- </Operator>
- </Operator>
- </TestValue>
- <Duration Value="1.5" Cumulative="False"/>
- <Instrument Id="ENGINE_Switch_Master"/>
- <Instrument Id="ENGINE_Switch_Master1"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="MAGNETO_RIGHT"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="OR">
- <!-- Skips if Magneto_RPM_LEFT is already set -->
- <Val ReadVar="Magneto_RPM_LEFT"/>
- <Operator OpType="Greater">
- <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
- <Operator OpType="Minus">
- <Val ReadVar="Magneto_RPM_BOTH"/>
- <Val Value="100"/>
- </Operator>
- </Operator>
- </Operator>
- </TestValue>
- </Test>
- <Test>
- <!-- Store the current rpm in Magneto_RPM_RIGHT, unless Magneto_RPM_LEFT is already set -->
- <TestValue>
- <Operator OpType="OR">
- <!-- Verifies if one of the var is set -->
- <Val ReadVar="Magneto_RPM_LEFT"/>
- <Val ReadVar="Magneto_RPM_RIGHT"/>
- </Operator>
- </TestValue>
- <Action Condition="TestValueFalse" Once="True" StoreVar="Magneto_RPM_RIGHT">
- <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
- </Action>
- </Test>
- </Sequence>
- </Sequence>
- <!-- finally, test L AND R versus each other, max 50 diff -->
- <Test>
- <TestValue>
- <Operator OpType="Equal" Tolerance="50">
- <Val ReadVar="Magneto_RPM_LEFT"/>
- <Val ReadVar="Magneto_RPM_RIGHT"/>
- </Operator>
- </TestValue>
- </Test>
- </Sequence>
- </Checkpoint>
- <Checkpoint Id="Throttle_Adjust_1700_RPM">
- <Clue name="TT:Adjust throttle for 1700RPM"/>
- <Action Condition="Init" Code="1 (>L:IsFirstRPMAdjustment)"/>
- <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 -->
- <Test>
- <Duration Value="3.5" Cumulative="False"/>
- <TestValue>
- <Operator OpType="EQUAL" Tolerance="50">
- <Val SimVarName="GENERAL ENG RPM:1" Units="rpm"/>
- <Val Value="1700"/>
- </Operator>
- </TestValue>
- <Instrument Id="ENGINE_Lever_Throttle"/>
- <Instrument Id="ENGINE_Lever_Throttle_Copilot"/>
- <Instrument Id="ENGINE_Lever_Throttle1"/>
- <Instrument Id="ENGINE_Lever_Throttle2"/>
- <Instrument Id="INSTRUMENT_Digits_Tachometer"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="false" Code="
- (L:CheckListThrottle_NextKeySentTime) (E:SIMULATION TIME, seconds) < if{
- (L:IsFirstRPMAdjustment) if{
- 4687 (>K:THROTTLE1_SET)
- 0 (>L:IsFirstRPMAdjustment)
- (E:SIMULATION TIME, seconds) 0.5 + (>L:CheckListThrottle_NextKeySentTime)
- } els{
- (A:GENERAL ENG RPM:1, rpm) sp1
- l1 (L:ChecklistThrottle_LastRPM) - (>L:ChecklistThrottle_DeltaRPM)
- (L:ChecklistThrottle_DeltaRPM) abs (L:ChecklistThrottle_LastDeltaRPM) abs < if{
- l1 1700 <
- (L:ChecklistThrottle_DeltaRPM) 0.5 < and if{
- (>K:THROTTLE_INCR)
- } els{
- l1 1700 >
- (L:ChecklistThrottle_DeltaRPM) -0.5 > and if{
- (>K:THROTTLE_DECR)
- }
- }
- (E:SIMULATION TIME, seconds) 0.5 + (>L:CheckListThrottle_NextKeySentTime)
- }
- }
- l1 (>L:ChecklistThrottle_LastRPM)
- (L:ChecklistThrottle_DeltaRPM) (>L:ChecklistThrottle_LastDeltaRPM)
- }
- "/>
- </Test>
- </Checkpoint>
- <Checkpoint Id="ALL_ELECTRICAL_EQUIPMENT_OFF_C152"> <!-- this modded from orig because of different equipment on the C152 vs everything else -->
- <Clue name="TT:CLUE.ALL_ELECTRICAL_EQUIPMENT_OFF"/>
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_ALL_ELECTRICAL_EQUIPMENT" ExpectationTT="TT:GAME.CHECKLIST_OFF"/>
- <Sequence SeqType="Unordered">
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="LIGHT STROBE" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="STROBES_TOGGLE"/>
- <Instrument Id="LIGHTING_Switch_Light_Strobe"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="LIGHT NAV" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_NAV_LIGHTS"/>
- <Instrument Id="LIGHTING_Switch_Light_Navigation"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="LIGHT TAXI" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_TAXI_LIGHTS"/>
- <Instrument Id="LIGHTING_Switch_Light_Taxi"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="LIGHT LANDING" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="LANDING_LIGHTS_TOGGLE"/>
- <Instrument Id="LIGHTING_Switch_Light_Landing"/>
- <Instrument Id="LIGHTING_Switch_Light_Landing_1"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="PITOT HEAT" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="PITOT_HEAT_TOGGLE"/>
- <Instrument Id="DEICE_Switch_PitotHeat"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="ELECTRICAL MASTER BATTERY" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_BATTERY"/>
- <Instrument Id="ELECTRICAL_Switch_Battery_Master"/>
- <Instrument Id="knob_electric_master"/>
- </Test>
- <Test> <!-- don't know if this exists on C152 or what it tracks -->
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="AVIONICS MASTER SWITCH:0" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_AVIONICS_MASTER"/>
- <Instrument Id="ELECTRICAL_Switch_Avionics_Master"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="GENERAL ENG MASTER ALTERNATOR:0" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Instrument Id="ALTERNATOR_MASTER_SWITCH"/>
- <Instrument Id="ALTERNATOR_MASTER_SWITCH1"/>
- <Instrument Id="ELECTRICAL_Switch_Alternator"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_MASTER_ALTERNATOR"/>
- </Test>
- <Test>
- <TestValue>
- <Operator OpType="NOT">
- <Val SimVarName="LIGHT PANEL" Units="Boolean"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="PANEL_LIGHTS_TOGGLE"/>
- <Instrument Id="LIGHTING_Switch_Panel"/>
- </Test>
- <!-- <Test> we actually want to leave the beacon on -->
- <!-- <TestValue> -->
- <!-- <Operator OpType="NOT"> -->
- <!-- <Val SimVarName="LIGHT BEACON" Units="Boolean"/> -->
- <!-- </Operator> -->
- <!-- </TestValue> -->
- <!-- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="TOGGLE_BEACON_LIGHTS"/> -->
- <!-- <Instrument Id="LIGHTING_Switch_Light_Beacon"/> -->
- <!-- </Test> -->
- </Sequence>
- </Checkpoint>
- <Checkpoint Id="C152_TaxiwayClear">
- <Clue name="TT:Make sure taxiway is clear"/>
- <CheckpointDesc SubjectTT="TT:Taxiway and slipstream" ExpectationTT="TT:GAME.CHECKLIST_CLEAR"/>
- </Checkpoint>
- <Checkpoint Id="C152_LOOKOUT">
- <Clue name="TT:Check that runway and approach is clear."/> <!-- this is the description text -->
- <CheckpointDesc SubjectTT="TT:Runway and approach" ExpectationTT="TT:Clear skies. Full hearts. Can't lose."/>
- </Checkpoint>
- <Checkpoint Id="Hobbs_And_Tach_Record_Fix">
- <Clue name="TT:CLUE.HOBBS_AND_TACH_RECORD"/>
- <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 -->
- <Test>
- <Instrument Id="HIGHLIGHT_RPM"/>
- <Instrument Id="INSTRUMENT_Digits_Tachometer"/>
- </Test>
- </Checkpoint>
- <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)-->
- <Clue name="TT:CLUE.RADIOS_OFF"/>
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_RADIOS" ExpectationTT="TT:GAME.CHECKLIST_OFF"/>
- <Test>
- <Instrument Id="RADIOS"/>
- <TestValue>
- <Operator OpType="EQUAL">
- <Val SimVarName="COM VOLUME:1" Units="percent"/>
- <Val Value="0"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="COM1_VOLUME_SET" EventParam="0"/>
- </Test>
- <Test>
- <Instrument Id="RADIOS"/>
- <TestValue>
- <Operator OpType="EQUAL">
- <Val SimVarName="COM VOLUME:2" Units="percent"/>
- <Val Value="0"/>
- </Operator>
- </TestValue>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="COM2_VOLUME_SET" EventParam="0"/>
- </Test>
- </Checkpoint>
- <Checkpoint Id="Transponder_On_On"> <!-- to put it on 'ON'/ground -->
- <!-- PARAMETRABLE -->
- <Clue name="TT:Transponder to ON"/>
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_TRANSPONDER" ExpectationTT="TT:Set to ON"/>
- <SetTemplateValue Id="XPDR_Position">
- <Val Value="3"/>
- </SetTemplateValue>
- <SetTemplateAction Id="Set_XPDR_to_ON" Copilot="True" Condition="TestValueFalse" Once="true" Code="3 (>A:TRANSPONDER STATE:1, Number)"/>
- <!-- first Code value is the desired position of the XPDR knob -->
- <Test>
- <Instrument Id="TRANSPONDER_KNOB"/>
- <TestValue>
- <Operator OpType="EQUAL">
- <Val Code="(A:TRANSPONDER STATE:1, Enum)"/>
- <Val UseTemplateValue="XPDR_Position"/>
- </Operator>
- </TestValue>
- <Action UseTemplateAction="Set_XPDR_to_ON"/>
- </Test>
- <Instrument Id="TRANSPONDER_PUSH_ON"/>
- </Checkpoint>
- <Checkpoint Id="BAGGAGE_STOWED_C152"> <!-- the default doesn't have proper 'completed' text -->
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_BAGGAGE" ExpectationTT="TT:Stowed securely"/>
- </Checkpoint>
- <Checkpoint Id="Preflight_Flaps_Down">
- <Clue name="TT:Visually check the flaps are down and symmetrical"/>
- <CheckpointDesc SubjectTT="TT:GAME.CHECKLIST_FLAPS" ExpectationTT="TT:Down and checked visually"/>
- <Test>
- <TestValue>
- <Operator OpType="GREATER">
- <Val SimVarName="FLAPS HANDLE PERCENT" Units="percent"/>
- <Val Value="99"/>
- </Operator>
- </TestValue>
- <Instrument Id="HANDLING_Lever_Flaps"/>
- <Action Copilot="True" Condition="TestValueFalse" Once="true" EventID="FLAPS_DOWN"/>
- </Test>
- </Checkpoint>
- </Checklist.CheckpointLibrary>
- </SimBase.Document>
Add Comment
Please, Sign In to add comment