generated from Sigmarik/cpp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pool_table.level.xml
executable file
·125 lines (112 loc) · 3.98 KB
/
pool_table.level.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!-- Blender 4.2.0 www.blender.org -->
<level>
<static_mesh name="PoolTable">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="0.000000" y="1.000000" w="0.000000"/>
<dw x="0.000000" z="0.000000" y="0.000000" w="1.000000"/>
</transform>
<type value="static_mesh"/>
<source value="assets/models/table.obj"/>
<collision value="True"/>
<blender_type value="MESH"/>
</static_mesh>
<ball name="PlayerBall">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="0.000000" z="0.500000" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="True"/>
<blender_type value="MESH"/>
</ball>
<ball name="PoolBall">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="0.000000" z="-0.353455" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="False"/>
<blender_type value="MESH"/>
</ball>
<ball name="PoolBall.001">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="0.028847" z="-0.401929" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="False"/>
<blender_type value="MESH"/>
</ball>
<ball name="PoolBall.002">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="-0.028847" z="-0.401929" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="False"/>
<blender_type value="MESH"/>
</ball>
<ball name="PoolBall.003">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="0.000000" z="-0.450884" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="False"/>
<blender_type value="MESH"/>
</ball>
<ball name="PoolBall.004">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="0.057909" z="-0.450884" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="False"/>
<blender_type value="MESH"/>
</ball>
<ball name="PoolBall.005">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="-0.057909" z="-0.450884" y="0.028003" w="1.000000"/>
</transform>
<type value="ball"/>
<player value="False"/>
<blender_type value="MESH"/>
</ball>
<shouter name="SomeShouterComponent">
<transform>
<dx x="1.000000" z="0.000000" y="0.000000" w="0.000000"/>
<dz x="0.000000" z="1.000000" y="0.000000" w="0.000000"/>
<dy x="0.000000" z="-0.000000" y="1.000000" w="0.000000"/>
<dw x="-0.279144" z="-0.165206" y="0.549055" w="1.000000"/>
</transform>
<type value="shouter"/>
<PLAYER value="PlayerBall"/>
<HW_SHOUTER value="SomeShouterComponent"/>
<blender_type value="EMPTY"/>
</shouter>
<script content='# This is a sample script.
message = "Hello from the scripting world! See the level script to learn where this message came from!"
@SomeShouterComponent::shout <- message
@SomeShouterComponent::shout <- @PlayerBall.knocked_down ? "RESET!" : IMPOSSIBLE
'/>
<ambient_light name="__WORLD_AMBIENT_LIGHT__">
<color x="0.37625622749328613"y="0.3106955885887146"z="0.27561643719673157"/>
</ambient_light>
</level>