Models: Interior updates

This commit is contained in:
Sidi Liang 2020-02-18 20:28:03 +08:00
parent 8d08fd7007
commit 7b15c809d1
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
8 changed files with 36580 additions and 28738 deletions

File diff suppressed because it is too large Load Diff

View File

@ -806,6 +806,31 @@
<z-m>0.282</z-m>
</offsets>
</model>
<!-- GEAR HANDLE -->
<animation>
<type>pick</type>
<object-name>gearhandle</object-name>
<action>
<button>0</button>
<binding>
<command>nasal</command>
<script>engine.engine_1.toggleDirection();</script>
</binding>
</action>
</animation>
<animation>
<type>translate</type>
<object-name>gearhandle</object-name>
<property>controls/direction</property>
<factor> -0.01 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Hand brake -->
<animation>
<type>pick</type>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<PropertyList>
<path>plate.ac</path>

View File

Before

(image error) Size: 1.4 MiB

After

(image error) Size: 1.4 MiB

View File

Before

(image error) Size: 765 KiB

After

(image error) Size: 765 KiB

View File

Before

(image error) Size: 870 KiB

After

(image error) Size: 870 KiB

View File

@ -24,11 +24,9 @@ var Engine = {
me.direction = dir;
},
toggleDirection: func(){
if(me.direction == 1){
me.direction = -1;
}else{
me.direction = 1;
}
#//Toggle Direction, forward:1; barkward: -1
me.direction *= -1;
props.getNode("/",1).setValue("/controls/direction", me.direction);
},
getDirection: func(){
return me.direction;

View File

@ -34,6 +34,7 @@ var tyreSmoke_3 = aircraft.tyresmoke.new(3, auto = 1, diff_norm = 0.4, check_vsp
props.getNode("/",1).setValue("/systems/horn", 0);
props.getNode("/",1).setValue("/controls/mode", 1);
props.getNode("/",1).setValue("/controls/direction", 1);
props.getNode("/",1).setValue("/systems/instruments/enable_switches", 0);
props.getNode("/",1).setValue("/systems/instruments/enable_cdu", 0);
props.getNode("/",1).setValue("/instrumentation/cdu/ident/model", "Follow me EV");