Skip to content

Commit

Permalink
Added easystar aircraft.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Goppert committed Aug 16, 2011
1 parent 23f9cdf commit 69d3ec6
Show file tree
Hide file tree
Showing 17 changed files with 37,991 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aircraft/easystar/Datcom/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.ac
*.csv
*.lfi
*.xml
*.dat
*.out
*.jiff
943 changes: 943 additions & 0 deletions aircraft/easystar/Datcom/easystar.dcm

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions aircraft/easystar/Engines/HB2815-2000.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<!-- HB2815-2000 -->

<electric_engine name="electric_250watt">
<power unit="WATTS"> 250 </power>
</electric_engine>
44 changes: 44 additions & 0 deletions aircraft/easystar/Engines/apc6x4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0"?>

<propeller name="apc 6x4">
<ixx> 0.0001 </ixx>
<diameter unit="IN"> 6.0 </diameter>
<numblades> 2 </numblades>
<minpitch> 30 </minpitch>
<maxpitch> 30 </maxpitch>
<minrpm> 0</minrpm>
<maxrpm> 40000</maxrpm>

<table name="C_THRUST" type="internal">
<tableData>
0.0 0.0776
0.1 0.0744
0.2 0.0712
0.3 0.0655
0.4 0.0588
0.5 0.0518
0.6 0.0419
0.7 0.0318
0.8 0.0172
1.0 -0.0058
1.4 -0.0549
</tableData>
</table>

<table name="C_POWER" type = "internal">
<tableData>
0.0 0.0902
0.1 0.0893
0.2 0.0880
0.3 0.0860
0.4 0.0810
0.5 0.0742
0.6 0.0681
0.7 0.0572
0.8 0.0467
1.0 0.0167
1.4 -0.0803
</tableData>
</table>

</propeller>
114 changes: 114 additions & 0 deletions aircraft/easystar/Models/easystar-model.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?xml version="1.0"?>
<PropertyList>

<!--Plane-->
<path>easystar.ac</path>
<offsets>
<z-m>0.0</z-m>
<y-m>0</y-m>
<x-m>0.0</x-m>
<pitch-deg>0</pitch-deg>
</offsets>

<!--Elevator-->
<animation>
<type>rotate</type>
<object-name>Elevator</object-name>
<property>/surface-positions/elevator-pos-norm</property>
<factor>22.5</factor>
<axis>
<x1-m>0.701</x1-m>
<y1-m>-0.174</y1-m>
<z1-m>-0.010</z1-m>
<x2-m>0.701</x2-m>
<y2-m>0.0174</y2-m>
<z2-m>-0.010</z2-m>
</axis>
</animation>

<!--Rudder-->
<animation>
<type>rotate</type>
<object-name>Rudder</object-name>
<property>/surface-positions/rudder-pos-norm</property>
<factor>25</factor>
<axis>
<x1-m>0.716</x1-m>
<y1-m>0.000</y1-m>
<z1-m>0.000</z1-m>
<x2-m>0.715</x2-m>
<y2-m>0.000</y2-m>
<z2-m>0.083</z2-m>
</axis>
</animation>

<!-- Propeller -->
<animation>
<type>noshadow</type>
<object-name>Propeller.Spinning</object-name>
</animation>
<animation>
<type>material</type>
<object-name>Propeller.Spinning</object-name>
<threshold>0.001</threshold>
<transparency>
<alpha>0.2</alpha>
<factor-prop>/engines/engine[0]/rpm-norm-inv</factor-prop>
<min>0.0</min>
<max>1.0</max>
</transparency>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.Spinning</object-name>
<condition>
<greater-than>
<property>/engines/engine[0]/rpm</property>
<value>350</value>
</greater-than>
</condition>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller.Spinning</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>1</factor>
<axis>
<x1-m>0.277</x1-m>
<y1-m>0.000</y1-m>
<z1-m>0.078</z1-m>
<x2-m>0.309</x2-m>
<y2-m>0.000</y2-m>
<z2-m>0.086</z2-m>
</axis>
</animation>
<animation>
<type>noshadow</type>
<object-name>Propeller</object-name>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>1</factor>
<axis>
<x1-m>0.277</x1-m>
<y1-m>0.000</y1-m>
<z1-m>0.078</z1-m>
<x2-m>0.309</x2-m>
<y2-m>0.000</y2-m>
<z2-m>0.086</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>Propeller</object-name>
<condition>
<less-than>
<property>/engines/engine[0]/rpm</property>
<value>400</value>
</less-than>
</condition>
</animation>

</PropertyList>
Loading

0 comments on commit 69d3ec6

Please sign in to comment.