Bug fixes

This commit is contained in:
Sidi Liang 2020-04-18 19:59:05 +08:00
parent 72f1cad03e
commit 6d78eeab0e
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
3 changed files with 25 additions and 3 deletions
Models/Interior
Instruments/Starter
luxury
Nasal

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!-- Car Starter by Mars and sidi762. -->
<PropertyList>
<path>starter_luxury.ac</path>
<!--Control-->
<animation>
<type>pick</type>
<object-name>button</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>engine.toggleEngine(engine.engine_1)</script>
</binding>
</action>
</animation>
</PropertyList>

View File

@ -37,7 +37,7 @@
<type>rotate</type>
<object-name>steeringwheel</object-name>
<property>sim/multiplay/generic/float[18]</property>
<factor>-0.5</factor>
<factor>-1</factor>
<center>
<x-m> 1.50</x-m>
<y-m>-0.33</y-m>
@ -59,7 +59,7 @@
<model>
<path>Aircraft/followme_e-tron/Models/Interior/Instruments/starter/starter_luxury.xml</path>
<offsets>
<x-m>1.278</x-m>
<x-m>1.3</x-m>
<y-m>-0.18</y-m>
<z-m>0.93</z-m>
<pitch-deg>-10</pitch-deg>

View File

@ -650,7 +650,7 @@ var Safety = {
}
}else{
if(me.frontRadarEnabled and me.frontRadar.radarTimer.isRunning) me.frontRadar.stop();
props.getNode("/systems/safety/aeb_activated", 1).setValue(0);
if(reletiveSpeed <= 0) and me.aebActivated) me.aebStop();
}
#ABS