<PropertyList>
    <name>Taxi and Takeoff</name>
    <description>
		Time to taxi to the runway and make this beauty go up in the air!
    </description>
    <audio-dir>Aircraft/747-400/tutorial</audio-dir>
	
	<presets>
		<airport-id>EHAM</airport-id>
		<on-ground>1</on-ground>
		<parkpos>E20</parkpos>
	</presets>
	
	<init>
		<set>
			<property>/controls/gear/brake-parking</property>
			<value>1</value>
		</set>
		<set>
			<property>/controls/flight/flaps</property>
			<value>0.0</value>
		</set>
		<set>
			<property>/controls/electric/battery-switch</property>
			<value>1.0</value>
		</set>
    </init>

	<!--
	<step>
		<message>Turn TAXI LIGHT ON.</message>
		<exit>           
			<condition>                   
				<property>/controls/lighting/taxi-light</property>
			</condition>
		</exit>
	</step>
	-->

	<step>
		<message>Set flaps to 20.</message>
		<exit>
			<condition>
				<equals>         
					<property>/controls/flight/flaps</property>
					<value>0.667</value>
				</equals>
			</condition>
		</exit>
	</step>

	<step>
		<message>Release parking brake and taxi to runway 18L.</message>
		<exit>
			<condition>
				<equals>
						<property>/controls/gear/brake-parking</property>
						<value>0</value>		
				</equals>
			</condition>
		</exit>
	</step>

	<step>
		<message>Taxi onto the runway and stop.</message>
	</step>

	<step>
		<message>Turn LANDING and STROBE lights ON.</message>
		<exit>
			<condition>
				<and>
					<property>/controls/lighting/landing-light-inbdl</property>
					<property>/controls/lighting/landing-light-inbdr</property>
					<property>/controls/lighting/landing-light-outbdl</property>
					<property>/controls/lighting/landing-light-outbdr</property>
					<property>/controls/lighting/strobe</property>
				</and>
			</condition>
		</exit>
	 </step>

	<step>
		<message>Enable Autothrottle.</message>
		<exit>
			<condition>
				<equals>
					<property>/autopilot/locks/speed</property>
					<value>speed-with-throttle</value>
				</equals>
			</condition>
		</exit>
	</step>

	<step>
		<message>Ensure Flight Director is ON, runway heading is set to 183 degree, IAS is set to V2 and that altitude is 10,000.</message>
		<exit>
			<condition>
				<equals>
					<property>/autopilot/locks/passive-mode</property>
					<value>1</value>
				</equals>
				<equals>
					<property>/autopilot/settings/heading-bug-deg</property>
					<value>183</value>
				</equals>
				<equals>
					<property>/autopilot/settings/target-speed-kt</property>
					<property>/instrumentation/fmc/vspeeds/V2</property>
				</equals>
				<equals>
					<property>/autopilot/settings/target-altitude-ft</property>
					<value>10000</value>
				</equals>
			</condition>
		</exit>
	</step>

	<step>
		<message>At Rotate, slowly and smoothly pull back on the controls to become airborne.</message>
		<exit>
			<condition>
				<greater-than>
					<property>/position/altitude-agl-ft</property>
					<value>25</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<!--
	<step>
		<message>Adjust pitch and roll with the controls to center the flight director indicators.</message>
		<exit>
			<condition>
				<greater-than> 
					<property>/velocities/vertical-speed-fps</property>
					<value>8.3</value>
				</greater-than>
			</condition>
		</exit>
	</step>
	-->

	<step>
		<message>As soon as you're clear of the runway and your climb rate is at least 500 feet per minute, set the landing gear to UP.</message>
		<exit>
			<condition>
				<equals>
					<property>/controls/gear/gear-down</property>
					<value>0</value>
				</equals>
			</condition>
		</exit>
	</step>

</PropertyList>
