Overhead panel - animate sign switches
This commit is contained in:
parent
1b32ee3c7b
commit
92c5380230
3 changed files with 95 additions and 120 deletions
|
@ -12090,6 +12090,91 @@
|
|||
<spot-cutoff>30.0</spot-cutoff>
|
||||
<range-m>3.0</range-m>
|
||||
</light>
|
||||
|
||||
|
||||
|
||||
<!-- Passenger signs -->
|
||||
<animation>
|
||||
<name>Seatbelt sign pick</name>
|
||||
<type>knob</type>
|
||||
<object-name>SeatBeltSwtch</object-name>
|
||||
<property>controls/switches/seatbelt-sign-pos</property>
|
||||
<factor>-70</factor>
|
||||
<offset-deg>35</offset-deg>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.18311</x-m>
|
||||
<y-m>0.037974</y-m>
|
||||
<z-m>0.888303</z-m>
|
||||
</center>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/switches/seatbelt-sign</property>
|
||||
<value>0.0</value>
|
||||
<value>1.0</value>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
<hovered>
|
||||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>seatbelt-sign-lbl</tooltip-id>
|
||||
<label>Seatbelt sign sign</label>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>No smoking sign pick</name>
|
||||
<type>knob</type>
|
||||
<object-name>NoSmokingSwtch</object-name>
|
||||
<property>controls/switches/no-smoking-sign-pos</property>
|
||||
<factor>-70</factor>
|
||||
<offset-deg>35</offset-deg>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.18311</x-m>
|
||||
<y-m>0.072264</y-m>
|
||||
<z-m>0.888303</z-m>
|
||||
</center>
|
||||
<action>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/switches/no-smoking-sign</property>
|
||||
<value>0.0</value>
|
||||
<value>0.5</value>
|
||||
<value>1.0</value>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
<hovered>
|
||||
<binding>
|
||||
<command>set-tooltip</command>
|
||||
<tooltip-id>no-smk-lbl</tooltip-id>
|
||||
<label>No smoking sign</label>
|
||||
</binding>
|
||||
</hovered>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
|
|
@ -6129,126 +6129,6 @@
|
|||
</center>
|
||||
</animation>
|
||||
|
||||
<!-- Passenger signs -->
|
||||
<animation>
|
||||
<name>Seatbelt sign pick</name>
|
||||
<type>pick</type>
|
||||
<object-name>SeatBeltSwtch</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/switches/seatbelt-sign</property>
|
||||
<value>0.0</value>
|
||||
<!--value>0.5</value-->
|
||||
<value>1.0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/switches/seatbelt-sign</property>
|
||||
<value>1.0</value>
|
||||
<!--value>0.5</value-->
|
||||
<value>0.0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Seatbelt sign rotate</name>
|
||||
<type>rotate</type>
|
||||
<object-name>SeatBeltSwtch</object-name>
|
||||
<property>controls/switches/seatbelt-sign</property>
|
||||
<interpolation>
|
||||
<entry><ind>0.0</ind><dep> 35</dep></entry>
|
||||
<entry><ind>0.5</ind><dep> 0</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>-35</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.01</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-0.3037</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>No smoking sign pick</name>
|
||||
<type>pick</type>
|
||||
<object-name>NoSmokingSwtch</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/switches/no-smoking-sign</property>
|
||||
<value>0.0</value>
|
||||
<value>0.5</value>
|
||||
<value>1.0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/switches/no-smoking-sign</property>
|
||||
<value>1.0</value>
|
||||
<value>0.5</value>
|
||||
<value>0.0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>No smoking sign rotate</name>
|
||||
<type>rotate</type>
|
||||
<object-name>NoSmokingSwtch</object-name>
|
||||
<property>controls/switches/no-smoking-sign</property>
|
||||
<interpolation>
|
||||
<entry><ind>0.0</ind><dep> 35</dep></entry>
|
||||
<entry><ind>0.5</ind><dep> 0</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>-35</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.01</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-0.3037</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Emer Lights pick</name>
|
||||
<type>pick</type>
|
||||
|
|
|
@ -139,6 +139,16 @@
|
|||
<input>/instrumentation/clock/et-selector</input>
|
||||
<c1>20</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/switches/seatbelt-sign-pos">
|
||||
<input>/controls/switches/seatbelt-sign</input>
|
||||
<c1>20</c1>
|
||||
</lag_filter>
|
||||
|
||||
<lag_filter name="/controls/switches/no-smoking-sign-pos">
|
||||
<input>/controls/switches/no-smoking-sign</input>
|
||||
<c1>20</c1>
|
||||
</lag_filter>
|
||||
|
||||
</channel>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue