A3XX: Add halfway to tray, fix right tray

This commit is contained in:
Joshua Davidson 2017-10-03 15:39:57 -04:00
parent 3ca6eee051
commit 893cd0216b
5 changed files with 227019 additions and 227413 deletions

View file

@ -5398,7 +5398,6 @@
<animation>
<type>translate</type>
<object-name>tray</object-name>
<object-name>cylinder01</object-name>
<property>controls/tray/lefttrayext</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
@ -5415,7 +5414,6 @@
<animation>
<type>translate</type>
<object-name>tray.001</object-name>
<object-name>cylinder01.001</object-name>
<property>controls/tray/righttrayext</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
@ -5432,7 +5430,6 @@
<animation>
<type>translate</type>
<object-name>tray</object-name>
<object-name>cylinder01</object-name>
<property>controls/tray/lefttrayext</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
@ -5449,7 +5446,6 @@
<animation>
<type>translate</type>
<object-name>tray.001</object-name>
<object-name>cylinder01.001</object-name>
<property>controls/tray/righttrayext</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
@ -5491,8 +5487,7 @@
<property>controls/tray/lefttrayext</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
<entry><ind>0.4</ind><dep>0</dep></entry>
<entry><ind>0.5</ind><dep>8</dep></entry>
<entry><ind>0.5</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>185</dep></entry>
</interpolation>
<center>
@ -5535,8 +5530,7 @@
<property>controls/tray/righttrayext</property>
<interpolation>
<entry><ind>0</ind><dep> 0</dep></entry>
<entry><ind>0.4</ind><dep>0</dep></entry>
<entry><ind>0.5</ind><dep>10</dep></entry>
<entry><ind>0.5</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>185</dep></entry>
</interpolation>
<center>

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -430,20 +430,25 @@ var noseLoop = maketimer(0.1, func {
var lTray = func {
var lTrayCMD = getprop("/controls/tray/lefttrayext");
if (lTrayCMD < 1) {
interpolate("/controls/tray/lefttrayext", 1, 1);
if (lTrayCMD < 0.5) {
interpolate("/controls/tray/lefttrayext", 0.5, 0.5);
} else if (lTrayCMD == 0.5) {
interpolate("/controls/tray/lefttrayext", 1.0, 0.5);
} else {
interpolate("/controls/tray/lefttrayext", 0, 1);
interpolate("/controls/tray/lefttrayext", 0.0, 1.0);
}
}
var rTray = func {
var rTrayCMD = getprop("/controls/tray/righttrayext");
if (rTrayCMD < 1) {
interpolate("/controls/tray/righttrayext", 1, 1);
if (rTrayCMD < 0.5) {
interpolate("/controls/tray/righttrayext", 0.5, 0.5);
} else if (rTrayCMD == 0.5) {
interpolate("/controls/tray/righttrayext", 1.0, 0.5);
} else {
interpolate("/controls/tray/righttrayext", 0, 1);
interpolate("/controls/tray/righttrayext", 0.0, 1.0);
}
}
setprop("/systems/acconfig/libraries-loaded", 1);

View file

@ -1 +1 @@
2018
2019