Liveries and Messages: updated for Wuhan CoV

This commit is contained in:
Sidi Liang 2020-01-22 21:05:45 +08:00
parent d56b603e81
commit ab9efedb6f
12 changed files with 93 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">Prevent WH CoV</name>
<texture>Messages/MaskNeeded.png</texture>
</livery>
</model>
</sim>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">Wuhan Add Oil</name>
<texture>Messages/WuhanAddOil.png</texture>
</livery>
</model>
</sim>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">ambulance</name>
<texture-fuse>Texture/ambulance.png</texture-fuse>
</livery>
</model>
</sim>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">Carbon fiber White</name>
<texture-fuse>Texture/carbon_fiber_white.png</texture-fuse>
</livery>
</model>
</sim>
</PropertyList>

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">e-tron red</name>
<texture-fuse>Texture/e-tron_Red.png</texture-fuse>
</livery>
</model>
</sim>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -235,7 +235,7 @@ var outputForce = func(force){
}
}
props.getNode("systems/welcome-message", 1).setValue(3);
var startEngine = func(){
if(!props.getNode("/controls/is-recharging").getValue()){
@ -243,6 +243,8 @@ var startEngine = func(){
props.getNode("/sim/messages/copilot", 1).setValue("Beijing di san tsui jiao tong wei ti xing nin, Dao lu tsian wan tiao, ann tsuan di yi tiao, xing che bull gui fun, tsin ren liang hang lei");
}else if(props.getNode("systems/welcome-message", 1).getValue() == 2){
props.getNode("/sim/messages/copilot", 1).setValue("This is a reminder from The Third District Traffic Commission of Beijing. There are thousands of roads, and the safety is the first. If you drive recklessly, your loved ones will be filled with tears.");
}else if(props.getNode("systems/welcome-message", 1).getValue() == 3){
props.getNode("/sim/messages/copilot", 1).setValue("Ben chea yee xeao do. This vehicle is disinfected.");
}
var signal = engine_1.startEngine();

View File

@ -190,6 +190,10 @@
<property>systems/welcome-message</property>
<value>2</value>
</equals>
<equals>
<property>systems/welcome-message</property>
<value>3</value>
</equals>
</or>
</enable>
<binding>
@ -213,6 +217,10 @@
<property>systems/welcome-message</property>
<value>1</value>
</equals>
<equals>
<property>systems/welcome-message</property>
<value>3</value>
</equals>
</or>
</enable>
<binding>
@ -221,6 +229,33 @@
<value>2</value>
</binding>
</button>
<button>
<halign>left</halign>
<legend>Enable Special</legend>
<pref-width>100</pref-width>
<pref-height>28</pref-height>
<enable>
<or>
<equals>
<property>systems/welcome-message</property>
<value>0</value>
</equals>
<equals>
<property>systems/welcome-message</property>
<value>1</value>
</equals>
<equals>
<property>systems/welcome-message</property>
<value>2</value>
</equals>
</or>
</enable>
<binding>
<command>property-assign</command>
<property>systems/welcome-message</property>
<value>3</value>
</binding>
</button>
</group>
<hrule/>