Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weaponupdateHS14/data/levels/templates/spacestation_elements.oxt @ 10152

Last change on this file since 10152 was 10150, checked in by flsueess, 10 years ago

weitere collishionsahpes

File size: 16.1 KB
Line 
1<Template name=spacestation_elements>
2        <SpaceStation
3        normalTubetemplate              = ss_tube
4        curvedTubetemplate              = ss_curve
5        crossingTubetemplate    = ss_tube_x
6        >
7        </SpaceStation>
8</Template>
9                       
10
11<!-- Spacestation Element Tube -->
12<Template name=ss_tube>
13
14        <MovableEntity position="0,0,0">
15        <attached>
16
17        <Model position="0,0,0" yaw=0 scale3D="100,100,100" mesh="ss_tube.mesh" />
18
19        </attached>
20         <collisionShapes>
21                <BoxCollisionShape position="0,0,100"                   halfExtents="250,100,0" />      <!--Wand links-->
22                <BoxCollisionShape position="0,0,-100"                  halfExtents="250,100,0" />      <!--Wand rechts-->
23                <BoxCollisionShape position="0,100,0"                   halfExtents="250,0,100" />      <!--Decke-->
24                <BoxCollisionShape position="0,-100,0"                  halfExtents="250,0,100" />      <!--Boden-->
25               
26     
27     </collisionShapes>
28   
29<Model position="-200,0,-275"  mesh="cube_green.mesh" scale3D="0,100,75" />
30         </MovableEntity>   
31
32</Template>
33
34
35<!-- Spacestation Element Curve -->
36<Template name=ss_curve>
37
38        <MovableEntity position="0,0,0">
39        <attached>
40
41<!-- Boxes helps to place collisionShapes -->
42
43<!--<Model position="0,0,-200"  mesh="cube_green.mesh" scale3D="0,100,150" />
44        <Model position="-300,0,100"  mesh="cube_green.mesh" scale3D="150,100,0" />
45        <Model position="-100,0,0" yaw=45 mesh="cube_red.mesh" scale3D="150,100,0" />
46
47        <Model position="-200,0,-275"  mesh="cube_green.mesh" scale3D="0,100,75" />
48        <Model position="-375,0,-100"  mesh="cube_green.mesh" scale3D="75,100,0" />
49        <Model position="-245,0,-148" yaw=45 mesh="cube_red.mesh" scale3D="70.71,100,0" />
50
51        <Model position="-225,100,-125"  mesh="cube_red.mesh" scale3D="225,0,225" /> -->
52
53
54        <Model position="0,0,0" yaw=0 scale3D="100,100,100" mesh="ss_curve.mesh" />
55
56
57        </attached>
58         <collisionShapes>
59                <BoxCollisionShape position="0,0,-200"                                  halfExtents="0,100,150" />      <!--Wand rechts-->
60                <BoxCollisionShape position="-300,0,100"                                halfExtents="150,100,0" />      <!--Wand rechts-->
61                <BoxCollisionShape position="-100,0,0"          yaw=45          halfExtents="150,100,0" />      <!--Wand rechts-->
62                <BoxCollisionShape position="-200,0,-275"                               halfExtents="0,100,75" />       <!--Wand links-->
63                <BoxCollisionShape position="-375,0,-100"                               halfExtents="75,100,0" />       <!--Wand links-->
64                <BoxCollisionShape position="-245,0,-148"       yaw=45          halfExtents="70.7,100,0" />     <!--Wand links-->
65                <BoxCollisionShape position="-225,100,-125"                     halfExtents="225,0,225" />      <!--Boden-->
66                <BoxCollisionShape position="-225,-100,-125"                    halfExtents="250,0,225" />      <!--Decke-->
67     
68     </collisionShapes>
69 
70   
71         </MovableEntity>   
72
73</Template>
74
75
76<!-- Spacestation Element Crossing -->
77<Template name=ss_tube_x>
78
79        <MovableEntity position="0,0,0">
80        <attached>
81
82        <!-- Boxes helps to place collisionShapes -->
83
84<!--<Model position="175,0,100"         mesh="cube_green.mesh" scale3D="75,100,0" />
85        <Model position="-0,0,275"      mesh="cube_green.mesh" scale3D="0,100,75" />
86        <Model position="-200,0,275"    mesh="cube_red.mesh" scale3D="0,100,75" />
87        <Model position="-375,0,100"    mesh="cube_red.mesh" scale3D="75,100,0" />
88
89        <Model position="175,0,-100"    mesh="cube_green.mesh" scale3D="75,100,0" />
90        <Model position="0,0,-275"              mesh="cube_green.mesh" scale3D="0,100,75" />
91        <Model position="-200,0,-275"   mesh="cube_red.mesh" scale3D="0,100,75" />
92        <Model position="-375,0,-100"   mesh="cube_red.mesh" scale3D="75,100,0" />
93
94        <Model position="-245,0,-147"   yaw=45          mesh="cube_red.mesh" scale3D="70.7,100,0" />
95        <Model position="50,0,-147"     yaw=-45         mesh="cube_red.mesh" scale3D="70.7,100,0" />
96        <Model position="-245,0,149"    yaw=-45         mesh="cube_orange.mesh" scale3D="70.7,100,0" />
97        <Model position="50,0,148"      yaw=45          mesh="cube_orange.mesh" scale3D="70.7,100,0" /> -->
98       
99        <Model position="0,0,0" scale3D="100,100,100" mesh="ss_tube_x.mesh" />
100
101        </attached>
102         <collisionShapes>
103                <BoxCollisionShape position="175,0,100"                         halfExtents="75,100,0" />       <!--Wand links-->
104                <BoxCollisionShape position="0,0,275"                           halfExtents="0,100,75" />       <!--Wand links-->
105                <BoxCollisionShape position="-200,0,275"                        halfExtents="0,100,75" />       <!--Wand links-->
106                <BoxCollisionShape position="-375,0,100"                        halfExtents="75,100,0" />       <!--Wand links-->
107               
108                <BoxCollisionShape position="175,0,-100"                halfExtents="75,100,0" />       <!--Wand rechts-->
109                <BoxCollisionShape position="0,0,-275"                          halfExtents="0,100,75" />       <!--Wand rechts-->
110                <BoxCollisionShape position="-200,0,-275"               halfExtents="0,100,75" />       <!--Wand rechts-->
111                <BoxCollisionShape position="-375,0,-100"               halfExtents="75,100,0" />       <!--Wand rechts-->
112               
113                <BoxCollisionShape position="-245,0,-147"   yaw=45      halfExtents="70.7,100,0" />     <!--Wand schraeg rechts-->
114                <BoxCollisionShape position="50,0,-149"     yaw=-45             halfExtents="70.7,100,0" />     <!--Wand schraeg rechts-->
115                <BoxCollisionShape position="-245,0,149"        yaw=-45         halfExtents="70.7,100,0" />     <!--Wand schraeg links-->
116                <BoxCollisionShape position="50,0,148"          yaw=45          halfExtents="70.7,100,0" />     <!--Wand schraeg links-->
117               
118               
119               
120                <BoxCollisionShape position="-100,100,0"                halfExtents="350,0,350" />      <!--Boden-->
121                <BoxCollisionShape position="-100,-110,0"               halfExtents="350,0,350" />      <!--decke-->
122     
123     </collisionShapes>
124   
125   
126         </MovableEntity>   
127
128</Template>
129
130
131<!-- Spacestation Element Flagroom -->
132<Template name=ss_flag_room>
133
134        <MovableEntity position="0,0,0">
135        <attached>
136
137        <!-- Boxes helps to place collisionShapes -->
138
139<!--<Model position="-125,116,0"                                mesh="cube_green.mesh"  scale3D="130,0,125" />
140        <Model position="-275,116,235"  yaw=55          mesh="cube_green.mesh"  scale3D="140,0,50" />
141        <Model position="-275,116,-235" yaw=-55         mesh="cube_red.mesh"    scale3D="140,0,50" />
142        <Model position="-365,116,320"  yaw=35          mesh="cube_green.mesh"  scale3D="100,0,50" />
143        <Model position="-365,116,-320" yaw=-35         mesh="cube_red.mesh"    scale3D="100,0,50" />
144        <Model position="-520,156,380"  roll=-25        mesh="cube_green.mesh"  scale3D="100,0,50" />
145        <Model position="-520,156,-380" roll=-25        mesh="cube_red.mesh"    scale3D="100,0,50" />   -->
146
147
148        <Model position="-80,0,100"                             mesh="cube_green.mesh"  scale3D="80,100,0" />
149        <Model position="-160,0,150"    yaw=90          mesh="cube_green.mesh"  scale3D="50,200,0" />
150        <Model position="-220,0,260"    yaw=55          mesh="cube_green.mesh"  scale3D="140,200,0" />
151        <Model position="-360,0,390"    yaw=33          mesh="cube_green.mesh"  scale3D="110,200,0" />
152        <Model position="-600,16,430"                           mesh="cube_green.mesh"  scale3D="200,200,0" />
153        <Model position="-810,156,400"  yaw=-33         mesh="cube_green.mesh"  scale3D="150,50,0" />
154        <Model position="-810,156,270"  yaw=-55         mesh="cube_green.mesh"  scale3D="150,50,0" />
155
156        <Model position="-80,0,-100"                            mesh="cube_red.mesh"    scale3D="80,100,0" />
157        <Model position="-160,0,-150"   yaw=-90         mesh="cube_red.mesh"    scale3D="50,200,0" />
158        <Model position="-220,0,-260"   yaw=-55         mesh="cube_red.mesh"    scale3D="140,200,0" />
159        <Model position="-360,0,-390"   yaw=-33         mesh="cube_red.mesh"    scale3D="110,200,0" />
160        <Model position="-600,16,-430"                          mesh="cube_red.mesh"    scale3D="200,200,0" />
161        <Model position="-810,156,-400" yaw=33          mesh="cube_red.mesh"    scale3D="150,50,0" />
162        <Model position="-810,156,-270" yaw=55          mesh="cube_red.mesh"    scale3D="150,50,0" />
163
164        <Model position="-1050,156,0"                           mesh="cube_orange.mesh"         scale3D="0,50,160" />
165
166
167<!--<Model position="-650,200,0"        mesh="cube_green.mesh" scale3D="400,0,450" />
168
169        <Model position="-500,-200,0"   mesh="cube_green.mesh" scale3D="400,0,400" />   
170        <Model position="-60,-84,0"     mesh="cube_green.mesh" scale3D="60,0,100" />    -->
171       
172        <Model position="-1015,156,0"   mesh="cube_orange.mesh" scale3D="25,25,120" />
173
174
175<!--<Model position="-255,121,0"                                mesh="cube_green.mesh"  scale3D="0,85,125" />
176        <Model position="-300,116,190"  yaw=-35         mesh="cube_green.mesh"  scale3D="0,80,75" />   
177        <Model position="-300,116,-190" yaw=35          mesh="cube_green.mesh"  scale3D="0,80,75" />
178        <Model position="-410,116,290"  yaw=-55         mesh="cube_green.mesh"  scale3D="0,80,75" />   
179        <Model position="-410,116,-290" yaw=55          mesh="cube_green.mesh"  scale3D="0,80,75" />   
180        <Model position="-500,185,328"  yaw=2           roll=-25        mesh="cube_green.mesh"  scale3D="100,35,0" />
181        <Model position="-500,185,-328" yaw=-2          roll=-25        mesh="cube_red.mesh"    scale3D="100,35,0" />   -->
182
183
184
185        <!-- points for the orientation -->
186        <Model position="0,0,0"                         mesh="cube_orange.mesh" scale3D="10,10,10" />
187        <Model position="-260,0,0"                      mesh="cube_orange.mesh" scale3D="10,10,10" />
188        <Model position="-580,0,400"            mesh="cube_orange.mesh" scale3D="10,10,10" />
189        <Model position="-580,0,-400"           mesh="cube_orange.mesh" scale3D="10,10,10" />
190       
191        <Model position="-580,0,0"                      mesh="cube_orange.mesh" scale3D="10,10,10" />
192       
193
194        <Model position="0,0,0" yaw=0 pitch=-90 scale3D="100,100,100"  mesh="ss_flag_room.mesh" />
195
196        </attached>
197         <collisionShapes>
198                <BoxCollisionShape position="-125,116,0"                        halfExtents="130,0,125" />      <!--Boden oben mitte-->
199                <BoxCollisionShape position="-275,116,235"   yaw=55     halfExtents="140,0,50" />       <!--Boden oben rechts-->
200                <BoxCollisionShape position="-275,116,-235"  yaw=-55    halfExtents="140,0,50" />       <!--Boden oben links-->
201                <BoxCollisionShape position="-365,116,320"   yaw=35             halfExtents="100,0,50" />       <!--Boden oben rechts-->
202                <BoxCollisionShape position="-365,116,-320"  yaw=-35    halfExtents="100,0,50" />       <!--Boden oben links-->
203                <BoxCollisionShape position="-520,156,380"   roll=-25   halfExtents="100,0,50" />       <!--Boden oben rechts-->
204                <BoxCollisionShape position="-520,156,-380"  roll=-25   halfExtents="100,0,50" />       <!--Boden oben links-->
205               
206               
207                <BoxCollisionShape position="-80,0,100"                                 halfExtents="80,100,0" />       <!--Wand oben rechts-->
208                <BoxCollisionShape position="-160,0,150"        yaw=90          halfExtents="50,200,0" />       <!--Wand oben rechts-->
209                <BoxCollisionShape position="-220,0,260"        yaw=55          halfExtents="100,200,0" />      <!--Wand oben rechts-->
210                <BoxCollisionShape position="-360,0,390"        yaw=33          halfExtents="110,200,0" />      <!--Wand oben rechts-->
211                <BoxCollisionShape position="-600,16,430"                               halfExtents="200,200,0" />      <!--Wand unten rechts-->
212                <BoxCollisionShape position="-810,156,400"  yaw=-33     halfExtents="100,50,0" />       <!--Wand unten rechts-->
213                <BoxCollisionShape position="-810,156,270"  yaw=-55     halfExtents="100,50,0" />       <!--Wand unten rechts-->               
214               
215                <BoxCollisionShape position="-80,0,-100"                        halfExtents="80,100,0" />       <!--Wand oben links-->
216                <BoxCollisionShape position="-160,0,-150"       yaw=-90         halfExtents="50,200,0" />       <!--Wand oben links--> 
217                <BoxCollisionShape position="-220,0,-260"       yaw=-55         halfExtents="100,200,0" />      <!--Wand oben links-->
218                <BoxCollisionShape position="-360,0,-390"       yaw=-33         halfExtents="110,200,0" />      <!--Wand oben links-->
219                <BoxCollisionShape position="-600,16,-430"                              halfExtents="200,200,0" />      <!--Wand unten links-->
220                <BoxCollisionShape position="-810,156,-400" yaw=33              halfExtents="100,50,0" />       <!--Wand unten links-->
221                <BoxCollisionShape position="-810,156,-270" yaw=55              halfExtents="100,50,0" />       <!--Wand unten links-->
222               
223                <BoxCollisionShape position="-1050,156,0"                               halfExtents="0,50,160" />       <!--Wand unten mitte-->
224               
225                       
226       
227                <BoxCollisionShape position="-650,200,0"                        halfExtents="400,0,450" />      <!--Boden unten-->
228       
229                <BoxCollisionShape position="-500,-200,0"                       halfExtents="400,0,400" />      <!--decke-->
230                <BoxCollisionShape position="-60,-84,0"                         halfExtents="60,0,100" />       <!--decke oben-->
231               
232                <BoxCollisionShape position="-1015,156,0"                       halfExtents="25,25,120" />      <!--Tisch-->
233               
234               
235                <BoxCollisionShape position="-255,121,0"                        halfExtents="0,85,125" />       <!--Wand innen-->
236                <BoxCollisionShape position="-300,116,190"    yaw=-35   halfExtents="0,80,75" />        <!--Wand innen-->
237                <BoxCollisionShape position="-300,116,-190"   yaw=35    halfExtents="0,80,75" />        <!--Wand innen-->               
238                <BoxCollisionShape position="-410,116,290"    yaw=-55   halfExtents="0,80,75" />        <!--Wand innen-->
239                <BoxCollisionShape position="-410,116,-290"   yaw=55    halfExtents="0,80,75" />        <!--Wand innen-->
240                <BoxCollisionShape position="-500,185,328"    yaw=2             roll=-25        halfExtents="100,35,0" />       <!--Wand innen-->
241                <BoxCollisionShape position="-500,185,-328"   yaw=-2    roll=-25        halfExtents="100,35,0" />       <!--Wand innen-->
242               
243               
244               
245                <!--<BoxCollisionShape position="-255,121,0"                            halfExtents="0,85,125" />       <!--Wand aussen-->-->
246
247               
248     
249     </collisionShapes>
250           
251   
252         </MovableEntity>   
253
254</Template>
255
256
257<!-- Spacestation Element Machine -->
258<Template name=ss_machine>
259
260        <MovableEntity position="0,0,0">
261        <attached>
262
263        <Model position="0,0,0" roll=0 scale3D="0.15,0.15,0.15" mesh="ss_machine.mesh" />
264
265        </attached>
266         <collisionShapes>
267                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
268                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
269                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
270                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
271     
272     </collisionShapes>
273         -->   
274   
275         </MovableEntity>   
276roll=180 mesh="ss_table.mesh" scale3D="25,25,25"
277</Template>
278
279
280<!-- Spacestation Element Table-->             
281<Template name=ss_table>
282
283        <MovableEntity position="0,0,0">
284        <attached>
285
286        <Model position="0,0,0" roll=0 scale3D="25,25,25" mesh="ss_table.mesh"  />
287
288        </attached>
289         <collisionShapes>
290                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
291                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
292                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
293                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
294     
295         </collisionShapes>
296
297   
298         </MovableEntity>   
299
300</Template>
301
302
303<!-- Spacestation Element Table (cracked) -->
304<Template name=ss_table_cracked>
305
306        <MovableEntity position="0,0,0">
307        <attached>
308
309        <Model position="0,0,0" roll=0 scale3D="25,25,25" mesh="ss_table_cracked.mesh"  />
310
311        </attached>
312         <collisionShapes>
313                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
314                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
315                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
316                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
317     
318         </collisionShapes>
319
320   
321         </MovableEntity>   
322
323</Template>
324
325
326<!-- Spacestation Element Cylinder -->
327<Template name=ss_cylinder>
328
329        <MovableEntity position="0,0,0">
330        <attached>
331
332        <Model position="0,0,0" roll=0 scale3D="25,25,25" mesh="ss_cylinder.mesh"  />
333
334        </attached>
335         <collisionShapes>
336                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
337                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
338                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
339                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
340     
341         </collisionShapes>
342
343   
344         </MovableEntity>   
345
346</Template>
347
348
349<!-- Spacestation Element Chair -->
350<Template name=ss_chair>
351
352        <MovableEntity position="0,0,0">
353        <attached>
354
355        <Model position="0,0,0" roll=0 pitch=0 scale3D="20,20,20" mesh="ss_chair.mesh"  />
356
357        </attached>
358         <collisionShapes>
359                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
360                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
361                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
362                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
363     
364         </collisionShapes>
365
366   
367         </MovableEntity>   
368
369</Template>
370
371
372<!-- Spacestation Element Wall -->
373<Template name=ss_wall>
374
375        <MovableEntity position="0,0,0">
376        <attached>
377
378        <Model position="0,0,0" roll=0 scale3D="20,20,20" mesh="ss_wall.mesh"  />
379
380        </attached>
381         <collisionShapes>
382                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
383                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
384                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
385                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
386     
387         </collisionShapes>
388
389   
390         </MovableEntity>   
391
392</Template>
393       
394
395<!-- Spacestation Element Flag -->
396<Template name=ss_flag_aean>
397
398        <MovableEntity position="0,0,0">
399        <attached>
400
401        <Model position="0,0,0" roll=0 scale3D="40,40,40" mesh="ss_flag_aean.mesh"  />
402
403        </attached>
404         <collisionShapes>
405                <BoxCollisionShape position="0,8,17"      halfExtents="8,10,10" />
406                <BoxCollisionShape position="0,0,22"      halfExtents="18, 2, 10" />
407                <BoxCollisionShape position="0,0,9"      halfExtents="12, 2, 20" />
408                <BoxCollisionShape position="0,0,-18"      halfExtents="6, 2, 18" />
409     
410         </collisionShapes>
411
412   
413         </MovableEntity>   
414
415</Template>
416               
Note: See TracBrowser for help on using the repository browser.