<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- #############################################################################
#    (C) 2008 by Yurik V. Nikiforoff - port for FGFS,  FDM,                 #
#    2d & 3d instruments, animations, systems and over.                     #
#    yurik@megasignal.com                                                   #
#                                                                           #
#    Updated BARANGER Emmanuel 09/2022                                      #
#############################################################################
Engines start panel 3D instrument for Tu-154
-->
<PropertyList>

  <path>ramppanel.ac</path>

  <animation>
    <object-name>RCbase</object-name>
    <object-name>RCcover</object-name>
  </animation>

  <!--Instrumentation-->
  <!-- Storage Signal Switch-->
  <model>
    <name>storage-signal</name>
    <path>../switch/storage_signal.xml</path>
    <offsets>
      <x-m> 0.011 </x-m>
      <y-m> 0.050 </y-m>
      <z-m> 0.000 </z-m>
    </offsets>
  </model>

  <text>
    <name>storage-signal-txt</name>
    <type type="string">literal</type>
    <text type="string">Storage Signal</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.012</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.09</max-height>
    <max-width>0.05</max-width>
    <font-resolution>
      <width type="int">32</width>
      <height type="int">32</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m> 0.011 </x-m>
      <y-m> 0.050 </y-m>
      <z-m> 0.035 </z-m>
    </offsets>
  </text>

  <animation>
    <type>material</type>
    <object-name>storage-signal-txt</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <!-- Storage Load Switch-->
  <model>
    <name>sto-loa</name>
    <path>../switch/storage_load.xml</path>
    <offsets>
      <x-m> 0.011 </x-m>
      <y-m> 0.100 </y-m>
      <z-m> 0.000 </z-m>
    </offsets>
  </model>

  <text>
    <name>sto-loa-txt</name>
    <type type="string">literal</type>
    <text type="string">
      Storage
      Loading




      Unloading</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.012</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.20</max-height>
    <max-width>0.09</max-width>
    <font-resolution>
      <width type="int">32</width>
      <height type="int">32</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m> 0.011 </x-m>
      <y-m> 0.083 </y-m>
      <z-m> 0.004 </z-m>
    </offsets>
  </text>

  <animation>
    <type>material</type>
    <object-name>sto-loa-txt</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <!-- Paratroopers Switch -->
  <model>
    <name>par-sig</name>
    <path>../switch/parachute_signal.xml</path>
    <offsets>
      <x-m>  0.011 </x-m>
      <y-m>  0.050 </y-m>
      <z-m> -0.140 </z-m>
    </offsets>
  </model>

  <text>
    <name>par-sig-txt</name>
    <type type="string">literal</type>
    <text type="string">Parachuter Signal</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.012</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.09</max-height>
    <max-width>0.05</max-width>
    <font-resolution>
      <width type="int">32</width>
      <height type="int">32</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m>  0.011 </x-m>
      <y-m>  0.090 </y-m>
      <z-m> -0.140 </z-m>
    </offsets>
  </text>

  <animation>
    <type>material</type>
    <name>par-sig-txt</name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <!-- Cargo Check Placecard-->
  <model>
    <name>war18</name>
    <path>../warning/warning18.xml</path>
    <offsets>
      <x-m>  0.012 </x-m>
      <y-m> -0.040 </y-m>
      <z-m>  0.000 </z-m>
    </offsets>
  </model>

  <!-- Cargo Overload Warning -->
  <model>
    <name>war85b</name>
    <path>../warning/warning85b.xml</path>
    <offsets>
      <x-m>  0.012 </x-m>
      <y-m> -0.040 </y-m>
      <z-m> -0.057 </z-m>
    </offsets>
  </model>

  <!-- Loading 100 Paratroopers-->
  <model>
    <name>war19</name>
    <path>../warning/warning19.xml</path>
    <offsets>
      <x-m>  0.012 </x-m>
      <y-m> -0.040 </y-m>
      <z-m> -0.140 </z-m>
    </offsets>
  </model>

  <!-- TNV-15, OUtside Temperatur Indicator -->
  <model>
    <name>tnv15</name>
    <path>../tnv-15/tnv-15.xml</path>
    <offsets>
      <x-m>  0.009 </x-m>
      <y-m> -0.100 </y-m>
      <z-m>  0.120 </z-m>
    </offsets>
  </model>

  <!-- IAS/groundspeed indicator USVP -->
  <model>
    <name>usvp</name>
    <path>../usvp/usvp.xml</path>
    <offsets>
      <x-m>  0.009 </x-m>
      <y-m> -0.020 </y-m>
      <z-m>  0.120 </z-m>
    </offsets>
  </model>

  <!-- UVO, Altimeter Electric -->
  <model>
    <name>uvo</name>
    <path>../uvo/uvo.xml</path>
    <offsets>
      <x-m> 0.010 </x-m>
      <y-m> 0.075 </y-m>
      <z-m> 0.120 </z-m>
    </offsets>
  </model>

  <!-- Weight Indicator -->
  <model>
    <name>weig</name>
    <path>../rpm/weight.xml</path>
    <offsets>
      <x-m>  0.011 </x-m>
      <y-m>  0.055 </y-m>
      <z-m> -0.057 </z-m>
    </offsets>
  </model>

  <animation>
    <name>BoiteComplete</name>
    <object-name>RCbase</object-name>
    <object-name>storage-signal</object-name>
    <object-name>storage-signal-txt</object-name>
    <object-name>sto-loa</object-name>
    <object-name>sto-loa-txt</object-name>
    <object-name>par-sig</object-name>
    <object-name>par-sig-txt</object-name>
    <object-name>war18</object-name>
    <object-name>war85b</object-name>
    <object-name>war19</object-name>
    <object-name>tnv15</object-name>
    <object-name>usvp</object-name>
    <object-name>uvo</object-name>
    <object-name>weig</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>BoiteComplete</object-name>
    <property>sim/model/door-positions/cove/position-norm</property>
    <factor> -60 </factor>
    <center>
      <x-m>  0.00146 </x-m>
      <y-m> -0.10744 </y-m>
      <z-m>  0.00018 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RCcover</object-name>
    <property>sim/model/door-positions/cove/position-norm</property>
    <factor> -150 </factor>
    <center>
      <x-m>  0.00146 </x-m>
      <y-m> -0.10744 </y-m>
      <z-m>  0.00018 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!--Cover-->
  <animation>
    <type>pick</type>
    <object-name>RCbase</object-name>
    <object-name>RCcover</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.cove.toggle();</script>
      </binding>
    </action>
  </animation>

</PropertyList>
