System:Bug fix. Livery: Added two Chinese military liveries
This commit is contained in:
parent
9a3662acb7
commit
ffc02fe83c
Binary file not shown.
After Width: | Height: | Size: 448 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">07 Camouflage</name>
|
||||
<texture-fuse>Texture/07_Camouflage.png</texture-fuse>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">military</name>
|
||||
<texture-fuse>Texture/military.png</texture-fuse>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
|
@ -45,6 +45,8 @@ var electric_update = func(){
|
|||
}else{
|
||||
props.getNode("/",1).setValue("/systems/electrical/e-tron/fwd-eng-U-V-max",0);
|
||||
props.getNode("/",1).setValue("/systems/electrical/e-tron/fwd-eng-I-A-max",0);
|
||||
props.getNode("/",1).setValue("/systems/electrical/e-tron/bwd-eng-U-V-max",0);
|
||||
props.getNode("/",1).setValue("/systems/electrical/e-tron/bwd-eng-I-A-max",0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -236,15 +236,25 @@ var IndicatorController = {
|
|||
},
|
||||
|
||||
falseLightOn : func(){
|
||||
print("falseLight turned on");
|
||||
me.falseLight = 1;
|
||||
me.setMode(3);
|
||||
if(me.mode == 1 or me.mode == 2 or me.mode == 4 or me.mode == 5){
|
||||
print("falseLight mode on");
|
||||
}else{
|
||||
me.setMode(3);
|
||||
print("falseLight turned on");
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
falseLightOff : func(){
|
||||
print("falseLight turned off");
|
||||
me.falseLight = 0;
|
||||
me.setMode(0);
|
||||
|
||||
if(me.mode == 1 or me.mode == 2 or me.mode == 4 or me.mode == 5){
|
||||
print("falseLight mode off");
|
||||
}else{
|
||||
me.setMode(0);
|
||||
print("falseLight turned off");
|
||||
}
|
||||
},
|
||||
|
||||
false_light_toggle : func(){
|
||||
|
@ -276,7 +286,7 @@ var chargeBatteryStart = func(){
|
|||
if(props.getNode("/",1).getValue("services/service-truck/connect") == 1 and props.getNode("/",1).getValue("/controls/engines/engine/started") == 0){
|
||||
var deltaBattery = 288000-props.getNode("/systems/electrical/e-tron/battery-kWs").getValue();
|
||||
var remainingTime = sprintf("%.0f", (deltaBattery / 240) / 60); #Based on 20 mins from 0 to full
|
||||
#screen.log.write("Recharging. About "~remainingTime~" mins remaining.", 0, 0.584, 1);
|
||||
screen.log.write("Recharging. About "~remainingTime~" mins remaining.", 0, 0.584, 1);
|
||||
setprop("/sim/sound/voices/pilot", "Recharging. About "~remainingTime~" mins remaining.");
|
||||
chargeTimer.start();
|
||||
props.getNode("/controls/is-recharging", 1).setValue(1);
|
||||
|
|
|
@ -55,9 +55,9 @@
|
|||
<y>-0.66</y>
|
||||
<z>-0.02</z>
|
||||
</location>
|
||||
<static_friction> 0.82 </static_friction>
|
||||
<dynamic_friction> 0.5 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<static_friction> 1.7 </static_friction>
|
||||
<dynamic_friction> 0.58 </dynamic_friction>
|
||||
<rolling_friction> 0.06 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 45 </max_steer>
|
||||
|
@ -70,9 +70,9 @@
|
|||
<y> 0.66</y>
|
||||
<z>-0.02</z>
|
||||
</location>
|
||||
<static_friction> 0.82 </static_friction>
|
||||
<dynamic_friction> 0.5 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<static_friction> 1.7 </static_friction>
|
||||
<dynamic_friction> 0.58 </dynamic_friction>
|
||||
<rolling_friction> 0.06 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 45 </max_steer>
|
||||
|
@ -85,9 +85,9 @@
|
|||
<y>-0.66</y>
|
||||
<z>-0.03</z>
|
||||
</location>
|
||||
<static_friction> 1.95</static_friction>
|
||||
<dynamic_friction> 0.7 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<static_friction> 1.7 </static_friction>
|
||||
<dynamic_friction> 0.58 </dynamic_friction>
|
||||
<rolling_friction> 0.06 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -100,9 +100,9 @@
|
|||
<y> 0.66</y>
|
||||
<z>-0.03</z>
|
||||
</location>
|
||||
<static_friction> 1.95</static_friction>
|
||||
<dynamic_friction> 0.7 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<static_friction> 1.7 </static_friction>
|
||||
<dynamic_friction> 0.58 </dynamic_friction>
|
||||
<rolling_friction> 0.06 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -115,9 +115,9 @@
|
|||
<y> 0</y>
|
||||
<z>0.3</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -130,9 +130,9 @@
|
|||
<y> 0</y>
|
||||
<z>0.3</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -145,9 +145,9 @@
|
|||
<y> 0</y>
|
||||
<z>0.89</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -160,9 +160,9 @@
|
|||
<y> 0</y>
|
||||
<z>1.75</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -175,9 +175,9 @@
|
|||
<y> 0</y>
|
||||
<z>1.96</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -190,9 +190,9 @@
|
|||
<y> 0.8</y>
|
||||
<z>0.9</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -205,9 +205,9 @@
|
|||
<y>-0.8</y>
|
||||
<z>0.9</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -220,9 +220,9 @@
|
|||
<y>0.94</y>
|
||||
<z>1.05</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
@ -235,9 +235,9 @@
|
|||
<y>-0.94</y>
|
||||
<z>1.05</z>
|
||||
</location>
|
||||
<static_friction> 1.0 </static_friction>
|
||||
<dynamic_friction> 0.4 </dynamic_friction>
|
||||
<rolling_friction> 0.4 </rolling_friction>
|
||||
<static_friction> 2.0 </static_friction>
|
||||
<dynamic_friction> 2.0 </dynamic_friction>
|
||||
<rolling_friction> 2.0 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 8000 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 5000 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
|
|
Loading…
Reference in New Issue