Interior: add animation
This commit is contained in:
parent
6d78eeab0e
commit
54c059fbf7
|
@ -288,6 +288,43 @@
|
|||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- storage_cover -->
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>storage_cover</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/interior/luxury/storage_cover_pos</property>
|
||||
<value type="double">0</value>
|
||||
<value type="double">1</value>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>storage_cover</object-name>
|
||||
<property>fdm/jsbsim/animation/storage_cover_pos</property>
|
||||
<factor>0.13</factor>
|
||||
<offset-m>0</offset-m>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- storage -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>stroage</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>controls/interior/luxury/storage_cover_pos</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- Accelerator -->
|
||||
<animation>
|
||||
|
|
|
@ -109,6 +109,7 @@ props.getNode("systems/plate/file", 1).setValue("NONE");
|
|||
props.getNode("systems/plate/name", 1).setValue("NONE");
|
||||
props.getNode("controls/lighting/headlight-als", 1).setValue(0);
|
||||
props.getNode("controls/lighting/highBeam", 1).setValue(0);
|
||||
props.getNode("controls/interior/luxury/storage_cover_pos", 1).setValue(0);
|
||||
props.getNode("sim/remote/pilot-callsign", 1).setValue("");
|
||||
props.getNode("systems/codriver-enable", 1).setValue(0);
|
||||
props.getNode("systems/screen-enable", 1).setValue(0);
|
||||
|
@ -650,7 +651,7 @@ var Safety = {
|
|||
}
|
||||
}else{
|
||||
if(me.frontRadarEnabled and me.frontRadar.radarTimer.isRunning) me.frontRadar.stop();
|
||||
if(reletiveSpeed <= 0) and me.aebActivated) me.aebStop();
|
||||
if(reletiveSpeed <= 0 and me.aebActivated) me.aebStop();
|
||||
}
|
||||
|
||||
#ABS
|
||||
|
|
|
@ -498,4 +498,29 @@
|
|||
</direction>
|
||||
</force>
|
||||
</external_reactions>
|
||||
|
||||
<system name="Followme EV animations">
|
||||
<channel name="Stroage">
|
||||
<fcs_function name="animation/storage_nul">
|
||||
<function>
|
||||
<table>
|
||||
<independentVar lookup="row">/controls/interior/luxury/storage_cover_pos</independentVar>
|
||||
<tableData>
|
||||
0.00 0.0
|
||||
0.05 0.1
|
||||
0.10 0.1
|
||||
0.30 0.2
|
||||
0.75 0.7
|
||||
0.95 1.0
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
</fcs_function>
|
||||
|
||||
<lag_filter name="animation/storage_cover_pos">
|
||||
<input>animation/storage_nul</input>
|
||||
<c1>3</c1>
|
||||
</lag_filter>
|
||||
</channel>
|
||||
</system>
|
||||
</fdm_config>
|
||||
|
|
Loading…
Reference in New Issue