<?xml version="1.0"?>

<PropertyList>

	<sim>
		<description>Sukhoi T-50 PAK FA JSBSim</description>
		<author>Petar Jedvaj, Ummon Karpe, StuartC</author>
		<status>1.6</status>
		<rating>
			<FDM type="int">3</FDM>
			<systems type="int">2</systems>
			<cockpit type="int">2</cockpit>
			<model type="int">4</model>
		</rating>
		
		<flight-model>jsb</flight-model>
		<aero>T-50</aero>
		<fuel-fraction>1.0</fuel-fraction>
		
		<systems>
			<autopilot>
				<path>Aircraft/T-50/Systems/Autopilot.xml</path>
			</autopilot>
			
			<electrical>
				<path>Aircraft/T-50/Systems/Electrical.xml</path>
			</electrical>
		</systems>
		
		<startup>
			<splash-texture>Aircraft/T-50/Splash.png</splash-texture>
		</startup>
		
		<sound>
			<path>Aircraft/T-50/Sounds/Sound.xml</path>
		</sound>
		
		<model>
			<path>Aircraft/T-50/Models/T-50.xml</path>
		</model> 
		
		<submodels>
			<serviceable type="bool">1</serviceable>
			<path>Aircraft/T-50/Submodels.xml</path>
		</submodels>
		
		<panel>
			<path>Aircraft/Generic/Panels/generic-vfr-panel.xml</path>
			<visibility>false</visibility>
		</panel>
		
		<instrumentation>
			<radar-altimeter>
				<limit-bug type="double">250</limit-bug>
			</radar-altimeter>
			
			<warnings>
				<master-caution type="bool">0</master-caution>
			</warnings>
		</instrumentation>
		
		<mp-systems>
			<radar-enabled type="bool">true</radar-enabled>
			<ecm-rwr-enabled type="bool">true</ecm-rwr-enabled>
			<combat-enabled type="bool">true</combat-enabled>
		</mp-systems>
		
		<multiplay>
			<chat_display>1</chat_display>
			<generic> 
				<int n="0" alias="/sim/crashed" />
		  
				<!-- Beacon on -->
				<int n="1" alias="/controls/lighting/beacon" />
				<!-- Landing lights on -->
				<int n="2" alias="/controls/lighting/landing-lights" />
				<!-- Taxi light on -->
				<int n="3" alias="/controls/lighting/taxi-light" />
				<!-- Nav lights on -->
				<int n="4" alias="/controls/lighting/nav-lights" />
	  
				<!-- Engine Status -->
				<int n="5" alias="/engines/engine[0]/state" />
				<int n="6" alias="/engines/engine[1]/state" />
				<int n="7" alias="/sim/crashed" />
        
				<float n="0" alias="/surface-positions/left-taileron-pos-norm"/>
				<float n="1" alias="/surface-positions/right-taileron-pos-norm"/>
				<float n="2" alias="/surface-positions/left-flap-pos-norm"/>
				<float n="3" alias="/surface-positions/right-flap-pos-norm"/>
				<float n="4" alias="/sim/model/nozzle-animation"/>
				<float n="8" alias="/engines/engine[0]/afterburner" />
				<float n="9" alias="/engines/engine[1]/afterburner" />
				
			</generic>
		</multiplay>
		
		<virtual-cockpit archive="y">true</virtual-cockpit>
		<allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
		
		<rendering>
			<redout>
				<parameters>
					<blackout-complete-g>10.0</blackout-complete-g>
					<blackout-onset-g>7.9</blackout-onset-g>
				</parameters>
			</redout>
		</rendering>

		<view n="0">
			<internal archive="y">true</internal>
			<config>
				<x-offset-m archive="y" type="double">0.0</x-offset-m>
				<y-offset-m archive="y" type="double">0.54</y-offset-m>
				<z-offset-m archive="y" type="double">4.81</z-offset-m>
				<pitch-offset-deg>-18.0</pitch-offset-deg>
				<default-field-of-view-deg type="double">70.0</default-field-of-view-deg>
			</config>
		</view>
		
		<view n="101">
			<name>Pilot cam</name>
			<internal archive="y">false</internal>
			<config>
				<from-model type="bool">true</from-model>
				<from-model-idx type="int">0</from-model-idx>
				<x-offset-m archive="y" type="double">0.0</x-offset-m>
				<y-offset-m archive="y" type="double">0.54</y-offset-m>
				<z-offset-m archive="y" type="double">4.3</z-offset-m>
				<pitch-offset-deg>0</pitch-offset-deg>
				<heading-offset-deg>180</heading-offset-deg>
				<default-field-of-view-deg>95</default-field-of-view-deg>
			</config>
		</view>
	  
		<view n="100">
			<name>Over the shoulder cam</name>
			<internal archive="y">false</internal>
			<config>
				<from-model type="bool">true</from-model>
				<from-model-idx type="int">0</from-model-idx>
				<x-offset-m archive="y">0.5</x-offset-m>
				<y-offset-m archive="y">0.54</y-offset-m>
				<z-offset-m archive="y">5.3</z-offset-m>
				<pitch-offset-deg>0</pitch-offset-deg>
				<heading-offset-deg>15</heading-offset-deg>
				<default-field-of-view-deg>95</default-field-of-view-deg>
			</config>
		</view>
		
		<view n="1">
			<config>
				<target-z-offset-m archive="y" type="double">9.0</target-z-offset-m>
			</config>
		</view>
		
		<view n="2">
			<config>
				<target-z-offset-m archive="y" type="double">9.9</target-z-offset-m>
			</config>
		</view>
		
		<view n="3">
			<config>
				<target-z-offset-m archive="y" type="double">9.0</target-z-offset-m>
			</config>
		</view>
		
		<view n="4">
			<config>
				<target-z-offset-m archive="y" type="double">9.0</target-z-offset-m>
			</config>
		</view>
		
		<view n="5">
			<config>
				<target-z-offset-m archive="y" type="double">9.0</target-z-offset-m>
			</config>
		</view>
		
		<view n="6">
			<config>
				<target-z-offset-m archive="y" type="double">9.0</target-z-offset-m>
			</config>
		</view>
		
		<hud>
			<path n="1">Aircraft/T-50/HUD/HUD.xml</path>
			<visibility n="0" type="bool">false</visibility>
			<visibility n="1" type="bool">true</visibility>
			<current-color>0</current-color>
			<color>
				<transparent type="bool">true</transparent>
				<antialiased type="bool">true</antialiased>
				<brightness type="float">1.0</brightness>
				<alpha type="float">1.0</alpha>
			</color>
			<palette>
				<color n="0">
					<red type="float">0.00</red>
					<green type="float">1.0</green>
					<blue type="float">0.00</blue>
				</color>
				<color n="1">
					<red type="float">1.0</red>
					<green type="float">0.0</green>
					<blue type="float">0.0</blue>
				</color>
				<color n="2">
					<red type="float">0.0</red>
					<green type="float">0.0</green>
					<blue type="float">1.0</blue>
				</color>
				<color n="3">
					<red type="float">1.0</red>
					<green type="float">1.0</green>
					<blue type="float">1.0</blue>
				</color>
			</palette>
			<clipping>
				<left type="double">-95</left>
				<right type="double">95</right>
				<top type="double">65</top>
				<bottom type="double">-170</bottom>
			</clipping>
			<enable3d>false</enable3d>
		</hud>
		
		<help>
			<title>Sukhoi T-50 PAK FA</title>
			
			<key>
				<name>Ctrl+b</name>
				<desc>Toggle speedbrakes</desc>
			</key>
			
			<key>
				<name>d</name>
				<desc>Deploy drag parachute</desc>
			</key>
			
			<key>
				<name>j</name>
				<desc>Jettison drag parachute</desc>
			</key>
			
			<key>
				<name>c</name>
				<desc>Toggle canopy</desc>
			</key>
			
			<key>
				<name>Ctrl+d</name>
				<desc>Toggle baydoors</desc>
			</key>
			
			<key>
				<name>f</name>
				<desc>Gun trigger</desc>
			</key>
			
			<key>
				<name>e</name>
				<desc>Fire selected weapon</desc>
			</key>
			
			<line>Select missiles with Left Mouse Button</line>
			<line>Parking brake is on, press B to release</line>
		</help>
		
		<menubar>
			<default>
				<menu n="100">
					<label>T-50</label>
					<enabled type="bool">true</enabled>
					<item>
						<label>Select Livery</label>
						<binding>
							<command>nasal</command>
							<script>aircraft.livery.dialog.toggle()</script>
						</binding>
					</item>
				</menu>
			</default>
		</menubar>
	</sim>
	
	<engines>
		<engine n="0">
			<running>true</running>
		</engine>
		<engine n="1">
			<running>true</running>
		</engine>
	</engines>
	
	<instrumentation>
		<efis>
			<ecam>
				<display-mode type="string">FUEL</display-mode>
			</ecam>
			<nd>
				<display-mode type="string">VOR</display-mode>
				<display-mode-knob type="int">2</display-mode-knob>
				<display-range type="int">40</display-range>
			</nd>
			<input>
				<vor-adf-1 type="int">1</vor-adf-1>
				<vor-adf-2 type="int">1</vor-adf-2>
				<CSTR type="bool">1</CSTR>
				<WPT type="bool">1</WPT>
				<VORD type="bool">1</VORD>
				<NDB type="bool">1</NDB>
				<ARPT type="bool">1</ARPT>
				<WX type="bool">1</WX>
				<TERR type="bool">1</TERR>
				<TRAF type="bool">1</TRAF>
				<taxi type="bool">1</taxi>
			</input>
		</efis>
	
		<enav>
			<selected type="int">3</selected>
		</enav>
		
		<rwr>
			<display-lighting-intens type="double">0.4</display-lighting-intens>
			<symbology-lighting-intens type="double">1</symbology-lighting-intens>
		</rwr>
		
		<radar>
			<range type="int" archive="y">20</range>
			<range-factor type="double" archive="n">0.001888</range-factor>
			<minimized type="bool" archive="y">false</minimized>
			<selected type="int">3</selected>
			<enabled type="bool">true</enabled>
			<az-field type="double">120</az-field>
			<range type="double">150</range>
			<range-selected type="double">50</range-selected>
			<radar2-range type="double">150</radar2-range>
			<display-rdr type="bool">true</display-rdr>
			<radar-standby type="int">3</radar-standby>
			<mode>
				<rws type="bool">true</rws>
				<tws-auto type="bool">false</tws-auto>
			</mode>
		</radar> 
		
		<terrain-radar>
			<hi-elev>
				<alt-ft type="double">-9999.9</alt-ft>
				<lat-deg type="double">-9999.9</lat-deg>
				<lon-deg type="double">-9999.9</lon-deg>
				<dist-m type="double">-9999.9</dist-m>
				<collision-status type="string">initialised</collision-status>
			</hi-elev>
			<settings>
				<mode type="string">extend</mode>
				<state type="string">off</state>
				<range-m type="double">2500</range-m>
				<step-m type="double">250</step-m>
				<max-climb-rate-fps type="double">120</max-climb-rate-fps>
				<hi-elev-markers type="bool">false</hi-elev-markers>
			</settings>
		</terrain-radar>
	</instrumentation>
	
	<controls>
		<gear>
			<tailwheel-lock>false</tailwheel-lock>
			<brake-parking>1</brake-parking>
		</gear>
		<lighting>
			<instruments-norm>0.3</instruments-norm>
		</lighting>
	</controls>
	
	<systems>
		<refuel>
			<type>boom</type>
			<serviceable type="bool">true</serviceable>
		</refuel>
	</systems>
	
	<fdm>
		<jsbsim>
			<systems>
				<canopy>
					<command type="double">0</command>
					<position type="double">0</position>
				</canopy>
				
				<armament>
					<station1>
						<selected type="double">0</selected>
					</station1>
					<station2>
						<selected type="double">0</selected>
					</station2>
					<station3>
						<selected type="double">0</selected>
					</station3>
					<station4>
						<selected type="double">0</selected>
					</station4>
					<station5>
						<selected type="double">0</selected>
					</station5>
					<station6>
						<selected type="double">0</selected>
					</station6>
				</armament>
				
			</systems>
		</jsbsim>
	</fdm>
	
	<input>
		<keyboard>
			<key n="4">
				<name>Ctrl-d</name>
				<desc>Toggle baydoors</desc>
				<binding>
					<command>nasal</command>
					<script>baydoors.baydoors_switch(2)</script>
				</binding>
			</key>

			<key n="99">
				<name>c</name>
				<desc>Canopy</desc>
				<binding>
					<command>property-toggle</command>
					<property>fdm/jsbsim/systems/canopy/command</property>
				</binding>
			</key>
			
			<key n="100">
				<name>d</name>
				<desc>Deploy braking parachute</desc>
				<binding>
					<command>property-assign</command>
					<property>fdm/jsbsim/systems/chute/deploy</property>
					<value type="int">1</value>
				</binding>
			</key>
            
			<key n="101">
				<name>e</name>
				<desc>Release selected store</desc>
				<binding>
					<command>property-assign</command>
					<property>fdm/jsbsim/systems/armament/release</property>
					<value>1</value>
				</binding>
				<mod-up>
					<binding>
						<command>property-assign</command>
						<property>fdm/jsbsim/systems/armament/release</property>
						<value>0</value> 
					</binding>
				</mod-up>
			</key>
            
			<key n="102">
				<name>f</name>
				<desc>Gun trigger</desc> 
				<binding>
					<command>property-assign</command>
					<property>controls/armament/trigger</property>
					<value>true</value>
				</binding>
				<mod-up>
					<binding>
						<command>property-assign</command>
						<property>controls/armament/trigger</property>
						<value>false</value>
					</binding> 
				</mod-up>
			</key>

			<key n="106">
				<name>j</name>
				<desc>jettison braking parachute</desc>
				<binding>
					<command>property-assign</command>
					<property>fdm/jsbsim/systems/chute/deploy</property>
					<value type="int">0</value>
				</binding>
				<binding>
					<command>property-assign</command>
					<property>controls/flight/chute_jettisoned</property>
					<value type="int">1</value>
				</binding>
			</key>
		</keyboard>
	</input>
	
	<gear>
		<gear n="0">
			<tyre-smoke type="int">0</tyre-smoke>
			<sprayspeed-ms type="double">0</sprayspeed-ms>
			<spray-density type="double">0</spray-density>
			<caster-angle-deg-damped type="double">0</caster-angle-deg-damped>
		</gear>
		<gear n="1">
			<tyre-smoke type="int">0</tyre-smoke>
			<sprayspeed-ms type="double">0</sprayspeed-ms>
			<spray-density type="double">0</spray-density>
		</gear>
		<gear n="2">
			<tyre-smoke type="int">0</tyre-smoke>
			<sprayspeed-ms type="double">0</sprayspeed-ms>
			<spray-density type="double">0</spray-density>
		</gear>
	</gear>
    
	<environment>
		<turbulence>
			<use-cloud-turbulence>true</use-cloud-turbulence>
		</turbulence>
	</environment>
	
	<nasal>
		<T-50>
			<file>Aircraft/T-50/Nasal/Liveries.nas</file>
			<file>Aircraft/T-50/Nasal/Explode.nas</file>
			<file>Aircraft/T-50/Nasal/HUD.nas</file>
		</T-50>
		
		<pilot-g>
			<file>Aircraft/T-50/Nasal/Pilot-G.nas</file>
		</pilot-g>
		
		<tvc>
			<file>Aircraft/T-50/Nasal/TVC.nas</file>
		</tvc>
		
		<baydoors>
			<file>Aircraft/T-50/Nasal/Baydoors.nas</file>
		</baydoors>
		
		<tyresmoke>
			<file>Aircraft/T-50/Nasal/Tyresmoke.nas</file>
		</tyresmoke>
		
		<low>
			<file>Aircraft/T-50/Nasal/Low.nas</file>
		</low>
		
		<aar> 
			<file>Aircraft/Generic/aar.nas</file>
		</aar>
		
		<rwr>
			<file>Aircraft/Instruments-3d/rwr/rwr.nas</file>
		</rwr>
		
		<radardist>
			<file>Aircraft/Instruments-3d/radardist/radardist.nas</file>
		</radardist>
		
		<radar>
			<file>Aircraft/T-50/Nasal/Radar.nas</file> 
		</radar>
		
		<radar2>
			<file>Aircraft/Instruments-3d/radar2/radar2.nas</file>
		</radar2>
		
		<enav>
			<file>Aircraft/T-50/Nasal/ENAV.nas</file>
		</enav>
		
		<eno>
			<file>Aircraft/T-50/Nasal/eno.nas</file>
		</eno>
	
		<lights>
			<file>Aircraft/T-50/Nasal/Lights.nas</file>
		</lights>
		
		<maintenance>
			<file>Aircraft/T-50/Nasal/maintenance.nas</file>
		</maintenance>
	
		<terrain-map>
			<file>Aircraft/T-50/Nasal/terrain-map.nas</file>
		</terrain-map>
		
		<su27>
	    	<file>Aircraft/T-50/Nasal/SU-27.nas</file>
	    </su27>
	</nasal>

</PropertyList>
