Hello to the makers of the c130!

I really enjoy the flight with this plane, especially the <110kts landings :-)

I noticed, that the sim model is not in sync with the 3d model, so I changed Models/c130.xml to

<path>c130.ac</path>
<offsets>
  <x-m>  17.0 </x-m> (was 0)
  <y-m>  0.0 </y-m>
  <z-m> -2.8 </z-m>
</offsets>

of course the views have to be adjusted (see attached set file).

Maybe some finetuning is needed, keep up the work.

fly on,
markus



<?xml version="1.0"?>

<!-- Lockheed C130 Hercules. -->

<PropertyList>

 <sim>

  <description>C130</description>
  <status>BARANGER</status>
  <aircraft-version>0.1</aircraft-version>

  <startup>
   <splash-texture>Aircraft/C130/c130-splash.rgb</splash-texture>
  </startup>

  <flight-model>jsb</flight-model>
  <aero>c130</aero>

  <systems>
   <electrical>
    <path>Aircraft/Generic/generic-electrical.xml</path>
   </electrical>
  </systems> 

  <sound>
   <audible>true</audible>
   <path>Aircraft/C130/Sounds/c130-sound.xml</path>
  </sound>

  <model>
   <path>Aircraft/C130/Models/c130.xml</path>
  </model> 

  <submodels>
    <serviceable type="bool">true</serviceable>
    <path>Aircraft/C130/Submodels/submodels.xml</path>
  </submodels>
  
  <virtual-cockpit archive="y">true</virtual-cockpit>
  <allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
  
  <view>
    <internal archive="y">true</internal>
    <config>
      <!-- X/Y/Z == right/up/back -->
      <x-offset-m archive="y">  -0.598 </x-offset-m>
      <y-offset-m archive="y">   0.205 </y-offset-m> <!-- 3.005 - 2.8 -->
      <z-offset-m archive="y"> 6.533 </z-offset-m><!-- -changed- -->
      <pitch-offset-deg> 0.0 </pitch-offset-deg>
      <default-field-of-view-deg type="double"> 60.0 </default-field-of-view-deg>
    </config>
  </view>
  
  <!-- Shift the camera target point back -changed=inserted view 1-3- -->
  <view n="1">
	  <config>
		  <target-z-offset-m archive="y" type="double">16.0</target-z-offset-m>
	  </config>
  </view>
  
  <view n="2">
	  <config>
		  <target-z-offset-m archive="y" type="double">16.0</target-z-offset-m>
	  </config>
  </view>
  
  <view n="3">
	  <config>
		  <target-z-offset-m archive="y" type="double">16.0</target-z-offset-m>
	  </config>
    </view>
  
  <chase-distance-m type="double" archive="y">-45.00</chase-distance-m>
  
  <help>
    <key>
      <name>D</name>
      <desc>Open/Close backdoor</desc>
    </key>
    <key>
      <name>d</name>
      <desc>Open/Close crew door</desc>
    </key>
    <key>
      <name>S</name>
      <desc>Start engine smoke</desc>
    </key>
    <key>
      <name>s</name>
      <desc>Stop engine smoke</desc>
    </key>
    <key>
      <name>j</name>
      <desc>Parachutist</desc>
    </key>
  </help>

 </sim>
 
<!-- engines on, low pitch (parking) -->
 <controls>
  <engines>
   <engine n="0">
    <magnetos archive="y">3</magnetos>
    <propeller-pitch>0.0</propeller-pitch>
   </engine>
   <engine n="1">
    <magnetos archive="y">3</magnetos>
    <propeller-pitch>0.0</propeller-pitch>
   </engine>
   <engine n="2">
    <magnetos archive="y">3</magnetos>
    <propeller-pitch>0.0</propeller-pitch>
   </engine>
   <engine n="3">
    <magnetos archive="y">3</magnetos>
    <propeller-pitch>0.0</propeller-pitch>
   </engine>
  </engines>
  <smoke type="bool">true</smoke>
  <signal type="bool">true</signal>
  <paratroopers type="bool">true</paratroopers>
  <jump-signal type="bool">false</jump-signal>
  <negGtime type="int">0</negGtime>
  <gmeter>
    <reset type="int">1</reset>
  </gmeter>
  <flight>
    <elevator-trim type="double">0.1</elevator-trim>
  </flight>
 </controls>

<!-- above 700 RPM avoids the stop --> 
  <engines>
  <engine n="0">
   <rpm archive="y">100</rpm>
  </engine>
  <engine n="1">
   <rpm archive="y">100</rpm>
  </engine>
  <engine n="2">
   <rpm archive="y">100</rpm>
  </engine>
  <engine n="3">
   <rpm archive="y">100</rpm>
  </engine>
 </engines>
 
 <ai>
   <submodels>
     <trigger type="bool">false</trigger>
   </submodels>
 </ai>

<!-- autopilot -->
 <autopilot>
  <settings>
   <target-speed-kt>330</target-speed-kt>
  </settings>
 </autopilot>

 <consumables>
   <fuel>
     <tank n="9">
       <level-gal_us archive="y">200</level-gal_us>
     </tank>
   </fuel>
 </consumables>

 <input>
   <keyboard include="Nasal/c130-keyboard.xml">
   </keyboard>
 </input>

 <nasal>
   <c130>
     <file>Aircraft/C130/Nasal/doors.nas</file>
   </c130>
   <G-Meter>
     <file>Aircraft/C130/Nasal/gmeter.nas</file>
   </G-Meter>
   <Jumpers>
     <file>Aircraft/C130/Nasal/paratroopers.nas</file>
   </Jumpers>
 </nasal>

</PropertyList>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to