Interior: More work

This commit is contained in:
Sidi Liang 2021-06-25 23:11:47 +08:00
parent 8e196741ef
commit 17fc199884
No known key found for this signature in database
GPG Key ID: 9785F5EECFFA5311
3 changed files with 100 additions and 27 deletions

View File

@ -2,9 +2,6 @@
<path>404Design.ac</path>
<effect>
<inherits-from>Aircraft/followme_e-tron/Models/Effects/interior</inherits-from>
<object-name>Mesh63</object-name>

View File

@ -2,9 +2,6 @@
<path>404Design2.ac</path>
<effect>
<inherits-from>Aircraft/followme_e-tron/Models/Effects/interior</inherits-from>
<object-name>Mesh63</object-name>
@ -171,6 +168,46 @@
<texture>control.png</texture>
</animation>
<!-- Parking Radar -->
<animation>
<type>pick</type>
<object-name>reversing_radar_switch</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.parkingRadar.toggle()</script>
</binding>
</action>
</animation>
<!--
<animation>
<type>material</type>
<object-name>reversing_radar_switch</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[2]</property>
<value>1</value>
</equals>
</condition>
<texture>control_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>autohold_switch</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[2]</property>
<value>0</value>
</equals>
</condition>
<texture>control.png</texture>
</animation>
-->
<!-- AEB switch -->
<animation>
<type>pick</type>
@ -180,7 +217,7 @@
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.safety.toggleFrontRadar()</script>
<script>followme.safety.toggleAEB()</script>
</binding>
</action>
</animation>

View File

@ -2,9 +2,6 @@
<path>luxury2.ac</path>
<effect>
<inherits-from>Aircraft/followme_e-tron/Models/Effects/interior</inherits-from>
<object-name>Mesh63</object-name>
@ -13,22 +10,6 @@
<object-name>Mesh69</object-name>
</effect>
<!-- Decoration -->
<animation>
<type>select</type>
<object-name>etc</object-name>
<object-name>card</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[0]</property>
<value>1</value>
</equals>
</condition>
</animation>
<!-- Clock -->
<animation>
<type>rotate</type>
@ -70,6 +51,24 @@
</axis>
</animation>
<!-- Decoration -->
<animation>
<type>select</type>
<object-name>etc</object-name>
<object-name>card</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[0]</property>
<value>1</value>
</equals>
</condition>
</animation>
<!-- STEERINGWHEEL -->
<animation>
@ -210,6 +209,46 @@
<texture>control.png</texture>
</animation>
<!-- Parking Radar -->
<animation>
<type>pick</type>
<object-name>reversing_radar_switch</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.parkingRadar.toggle()</script>
</binding>
</action>
</animation>
<!--
<animation>
<type>material</type>
<object-name>reversing_radar_switch</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[2]</property>
<value>1</value>
</equals>
</condition>
<texture>control_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>autohold_switch</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[2]</property>
<value>0</value>
</equals>
</condition>
<texture>control.png</texture>
</animation>
-->
<!-- AEB switch -->
<animation>
<type>pick</type>
@ -219,7 +258,7 @@
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.safety.toggleFrontRadar()</script>
<script>followme.safety.toggleAEB()</script>
</binding>
</action>
</animation>