gpa-set.xml 5.75 KB
Newer Older
lm's avatar
lm committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
<?xml version="1.0"?>


<PropertyList>

 <sim>

  <description> GPA amphibious Jeep</description>
  <author>Detlef Faber</author>
  <status>alpha</status>
  <flight-model>yasim</flight-model>
  <aero>gpa-yasim</aero>


  <virtual-cockpit archive="y">true</virtual-cockpit>
  <allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>

  <sound>
   <path>Aircraft/Generic/generic-sound.xml</path>
  </sound>

  <model>
   <path>Aircraft/jeep/Models/GPA.xml</path>
   <crew>
     <pilot>
       <visible type="int">1</visible>
     </pilot>
   </crew>
  </model> 
	<walker>
		<outside type="bool">false</outside>
		<walking type="bool">false</walking>
		<speed type="double">0.000006</speed>
		<latitude-deg type="double">0.0</latitude-deg>
		<longitude-deg type="double">0.0</longitude-deg>
		<altitude-ft type="double">0.0</altitude-ft>
		<heading-deg type="double">0.0</heading-deg>
		<pitch-deg type="double">0.0</pitch-deg>
		<roll-deg type="double">0.0</roll-deg>
	</walker>
  <chase-distance-m type="double" archive="y">-14.0</chase-distance-m>
  <view n="0">
   <internal archive="y">true</internal>
   <config>
    <x-offset-m archive="y" type="double">-0.35</x-offset-m>
    <y-offset-m archive="y" type="double">1.5</y-offset-m>
    <z-offset-m archive="y" type="double">2.295</z-offset-m>
    <pitch-offset-deg>-15.0</pitch-offset-deg>
   </config>
  </view>

  <view n="1">
   <config>
    <target-z-offset-m archive="y" type="double">1.6</target-z-offset-m>
   </config>
  </view>

  <view n="2">
   <config>
    <target-z-offset-m archive="y" type="double">1.6</target-z-offset-m>
   </config>
  </view>

  <view n="3">
   <config>
    <target-z-offset-m archive="y" type="double">1.6</target-z-offset-m>
   </config>
  </view>

  <view n="4">
   <config>
    <target-z-offset-m archive="y" type="double">1.6</target-z-offset-m>
   </config>
  </view>

  <view n="5">
   <config>
    <target-z-offset-m archive="y" type="double">1.6</target-z-offset-m>
   </config>
  </view>

  <view n="6">
   <config>
    <target-z-offset-m archive="y" type="double">1.6</target-z-offset-m>
   </config>
  </view>

  <view n="100">
    <name>Walk View</name>
    <type>lookfrom</type>
    <config>
      <eye-lat-deg-path>sim/walker/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>sim/walker/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>sim/walker/altitude-ft</eye-alt-ft-path>
      <eye-heading-deg-path>sim/walker/heading-deg</eye-heading-deg-path>
      <eye-roll-deg-path>sim/walker/roll-deg</eye-roll-deg-path>
      <eye-pitch-deg-path>sim/walker/pitch-deg</eye-pitch-deg-path>


      <ground-level-nearplane-m type="double">10.0</ground-level-nearplane-m>
      <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>

     <x-offset-m archive="y" type="double">0.35</x-offset-m>
     <y-offset-m archive="y" type="double">1.5</y-offset-m>
     <z-offset-m archive="y" type="double">2.295</z-offset-m>

    </config>
  </view>


  <hud>
   <enable3d>false</enable3d>
  </hud>

  <help>
    <key>
      <name>,</name>
      <desc>Brakes</desc>
    </key>
    <key>
      <name>.</name>
      <desc>Accelerator</desc>
    </key>
    <key>
      <name>o</name>
      <desc>Walker gets outside</desc>
    </key>
    <key>
      <name>o</name>
      <desc>Walker gets back in</desc>
    </key>
    <key>
      <name>w</name>
      <desc>Walk forward while in Walk View</desc>
    </key>
  </help>
	<menubar>
		<default>
			<menu n="10">
				<label>Jeep</label>
					<enabled type="bool">true</enabled>
					<item>
						<label>tilt Windscreen forward</label>
						<binding>
          <command>property-toggle</command>
          <property>/controls/gear/screen</property>
						</binding>
					</item>
					<item>
						<label>put Splashshield on</label>
						<binding>
          <command>property-toggle</command>
          <property>/controls/gear/shield</property>
						</binding>
					</item>
			</menu>
		</default>
	</menubar>
 </sim>

 <engines>
  <engine>
   <rpm type="double">700</rpm>
  </engine>
 </engines>
 <controls>
   <engines>
      <engine n="0">
        <magnetos>3</magnetos>
      </engine>
   </engines>
	<gear>
		<screen type="bool">false</screen>
		<roof type="bool">false</roof>
	</gear>
 </controls>
<input>
	<keyboard>
        <key n="77"> 
          <name>M</name>
          <desc>engage Reverse</desc>
          <binding> 
            <command>property-assign</command>
            <property>controls/engines/engine[0]/mixture</property>
            <value type="double">0.0</value>
          </binding>
        </key>
        <key n="109"> 
          <name>m</name>
          <desc>disengage Reverse</desc>
          <binding> 
            <command>property-assign</command>
            <property>controls/engines/engine[0]/mixture</property>
            <value type="double">1.0</value>
          </binding>
        </key>
        <key n="111"> 
          <name>o</name>
          <desc>get Walker out</desc>
          <binding> 
            <command>nasal</command>
          <script>walk.get_out();</script>
          </binding>
        </key>
        <key n="79"> 
          <name>O</name>
          <desc>get Walker in</desc>
          <binding> 
            <command>nasal</command>
          <script>walk.get_in();</script>
          </binding>
        </key>
     		 <key n="119"> 
      	  <name>w</name>
     		   <desc>walk forward</desc>
     	   <binding n="0"> 
  			 <command>property-toggle</command>
  			 <property>/sim/walker/walking</property>
        </binding>
				<mod-up>
					<binding>
			 		 <command>property-toggle</command>
  				 <property>/sim/walker/walking</property>
        </binding>
				</mod-up>
      </key>
	</keyboard>
</input>
 <nasal>
   <walk>
     <file>Aircraft/jeep/Nasal/walk.nas</file>
     <script>main_loop();</script>
   </walk>
 </nasal>
</PropertyList>