Add warning light switch.

This commit is contained in:
Marsdolphin 2020-02-17 16:34:15 +08:00 committed by GitHub
parent 2434526128
commit 64940afd26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6327 additions and 0 deletions

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<path>switch.ac</path>
<animation>
<object-name>fond</object-name>
<!--object-name>switch</object-name-->
</animation>
<animation>
<type>pick</type>
<object-name>switch</object-name>
<action>
<button>0</button>
<binding>
<command>property-toggle</command>
<property>warninglight/start</property>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>switch</object-name>
<property>/warninglight/start</property>
<factor> -50 </factor>
<center>
<x-m> 0 </x-m>
<y-m> 0 </y-m>
<z-m> 0 </z-m>
</center>
<axis>
<x> 0 </x>
<y> 1 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@ -0,0 +1,132 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
MATERIAL "case.003" rgb 0.275682 0.263133 0.275682 amb 0.857063 0.857063 0.857063 emis 0 0 0 spec 0.701169 0.688621 0.676072 shi 128 trans 0
MATERIAL "ring.001" rgb 0.15 0.15 0.15 amb 1 1 1 emis 0 0 0 spec 0.6 0.6 0.6 shi 99 trans 0
MATERIAL "case.004" rgb 0.275682 0.263133 0.275682 amb 0.857063 0.857063 0.857063 emis 0 0 0 spec 0.701169 0.688621 0.676072 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
MATERIAL "Material.001" rgb 0.3672 0.3672 0.3672 amb 1 1 1 emis 0 0 0 spec 0 0 0.050244 shi 32 trans 0
OBJECT world
kids 1
OBJECT poly
name "face"
data 4
Mesh
texture "wl.png"
texrep 1 1
crease 30.000000
numvert 17
0.003763 -0.000147 -0.027526
0.003763 0.010405 -0.025427
0.003763 0.019351 -0.01945
0.003763 0.025329 -0.010504
0.003763 0.027428 4.9e-05
0.003763 0.025329 0.010602
0.003763 0.019351 0.019548
0.003763 0.010405 0.025525
0.003763 -0.000147 0.027624
0.003763 -0.0107 0.025525
0.003763 -0.019646 0.019548
0.003763 -0.025624 0.010602
0.003763 -0.027723 4.9e-05
0.003763 -0.025624 -0.010504
0.003763 -0.019646 -0.01945
0.003763 -0.0107 -0.025427
0.003763 -0.000147 4.9e-05
numsurf 16
SURF 0x00
mat 4
refs 3
0 0.941269516945 0.496725380421
1 0.907679200172 0.665592133999
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
1 0.907679200172 0.665592133999
2 0.81202507019 0.808750331402
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
2 0.81202507019 0.808750331402
3 0.668866753578 0.904405295849
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
3 0.668866753578 0.904405295849
4 0.5 0.937994778156
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
4 0.5 0.937994778156
5 0.331133395433 0.904405295849
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
5 0.331133395433 0.904405295849
6 0.187975004315 0.808750331402
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
6 0.187975004315 0.808750331402
7 0.0923201590776 0.665592133999
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
7 0.0923201590776 0.665592133999
8 0.0587307475507 0.496725380421
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
8 0.0587307475507 0.496725380421
9 0.0923201590776 0.327858656645
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
9 0.0923201590776 0.327858656645
10 0.187975004315 0.184700280428
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
10 0.187975004315 0.184700280428
11 0.331133395433 0.089046575129
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
11 0.331133395433 0.089046575129
12 0.5 0.055456019938
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
12 0.5 0.055456019938
13 0.668866753578 0.089046575129
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
13 0.668866753578 0.089046575129
14 0.81202507019 0.184700280428
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
14 0.81202507019 0.184700280428
15 0.907679200172 0.327858656645
16 0.5 0.496725380421
SURF 0x00
mat 4
refs 3
15 0.907679200172 0.327858656645
0 0.941269516945 0.496725380421
16 0.5 0.496725380421
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<PropertyList>
<path>wl.ac</path>
<animation>
<type>material</type>
<object-name>face</object-name>
</animation>
<animation>
<type>material</type>
<emission>
<factor-prop>controls/switches/gauge-light</factor-prop>
<red>0.5</red>
<green>0.25</green>
<blue>0.8</blue>
</emission>
</animation>
</PropertyList>