Changeset 10169 for code/branches/weaponupdateHS14/data/levels/templates
- Timestamp:
- Dec 10, 2014, 5:17:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponupdateHS14/data/levels/templates/spacestation_elements.oxt
r10155 r10169 1 <!--Templates of spacestation elements with alle their collisionshapes, 2 for creating a spacestation very easy. 3 Autor: Florian Süess 4 Test Level: FPS_Level_HS14 --> 1 5 <Template name=spacestation_elements> 2 6 <SpaceStation … … 4 8 curvedTubetemplate = ss_curve 5 9 crossingTubetemplate = ss_tube_x 10 wall = ss_wall 11 flagg = ss_flag_aean 6 12 > 7 13 </SpaceStation> 8 14 </Template> 15 16 17 <!-- to place the different collisionshapes, I used some help boxes and an help coordinate system. 18 The axis from the coordinatesystem are "red,green,yellow" and the orange boxe shows the negative direction. 19 But atention, each element is different! A few of them are already rotatet with yaw, roll and pitch: 20 -> "pitch" is a rotation around "red" in the "yellow, green" plain. 21 -> "yaw" is a rotation around "green" in the "red, yellow" plain. 22 -> "roll" is a rotation around "yellow" in the "green,red" plain. 23 this chanches their negativ/positiv direction of the axis. 24 --> 9 25 10 26 … … 39 55 <attached> 40 56 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" /> -->57 <!-- Boxes helps to place collisionShapes --> 58 59 <!--<Model position="0,0,-200" mesh="cube_green.mesh" scale3D="0,100,150" /> 60 <Model position="-300,0,100" mesh="cube_green.mesh" scale3D="150,100,0" /> 61 <Model position="-100,0,0" yaw=45 mesh="cube_red.mesh" scale3D="150,100,0" /> 62 63 <Model position="-200,0,-275" mesh="cube_green.mesh" scale3D="0,100,75" /> 64 <Model position="-375,0,-100" mesh="cube_green.mesh" scale3D="75,100,0" /> 65 <Model position="-245,0,-148" yaw=45 mesh="cube_red.mesh" scale3D="70.71,100,0" /> 66 67 <Model position="-225,100,-125" mesh="cube_red.mesh" scale3D="225,0,225" /> --> 52 68 53 69 … … 82 98 <!-- Boxes helps to place collisionShapes --> 83 99 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" /> -->100 <!--<Model position="175,0,100" mesh="cube_green.mesh" scale3D="75,100,0" /> 101 <Model position="-0,0,275" mesh="cube_green.mesh" scale3D="0,100,75" /> 102 <Model position="-200,0,275" mesh="cube_red.mesh" scale3D="0,100,75" /> 103 <Model position="-375,0,100" mesh="cube_red.mesh" scale3D="75,100,0" /> 104 105 <Model position="175,0,-100" mesh="cube_green.mesh" scale3D="75,100,0" /> 106 <Model position="0,0,-275" mesh="cube_green.mesh" scale3D="0,100,75" /> 107 <Model position="-200,0,-275" mesh="cube_red.mesh" scale3D="0,100,75" /> 108 <Model position="-375,0,-100" mesh="cube_red.mesh" scale3D="75,100,0" /> 109 110 <Model position="-245,0,-147" yaw=45 mesh="cube_red.mesh" scale3D="70.7,100,0" /> 111 <Model position="50,0,-147" yaw=-45 mesh="cube_red.mesh" scale3D="70.7,100,0" /> 112 <Model position="-245,0,149" yaw=-45 mesh="cube_orange.mesh" scale3D="70.7,100,0" /> 113 <Model position="50,0,148" yaw=45 mesh="cube_orange.mesh" scale3D="70.7,100,0" /> --> 98 114 99 115 <Model position="0,0,0" scale3D="100,100,100" mesh="ss_tube_x.mesh" /> … … 136 152 137 153 <!-- 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,16,405" yaw=-32 mesh="cube_green.mesh" scale3D="150,200,0" />154 <Model position="-965,166,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,16,-405" yaw=32 mesh="cube_red.mesh" scale3D="150,200,0" />162 <Model position="-965,166,-270" yaw=55 mesh="cube_red.mesh" scale3D="150,50,0" />163 164 <Model position="-1045,166,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="27,25,120" />173 <Model position="-580,185,0" mesh="cube_orange.mesh" scale3D="30,12,30" />174 <Model position="-580,195,0" mesh="cube_orange.mesh" scale3D="50,10,50" /> -->175 176 177 178 <!--<Model position="-255,121,0" mesh="cube_green.mesh" scale3D="0,85,125" />179 <Model position="-300,116,190" yaw=-35 mesh="cube_green.mesh" scale3D="0,80,75" />180 <Model position="-300,116,-190" yaw=35 mesh="cube_green.mesh" scale3D="0,80,75" />181 <Model position="-410,116,290" yaw=-55 mesh="cube_green.mesh" scale3D="0,80,75" />182 <Model position="-410,116,-290" yaw=55 mesh="cube_green.mesh" scale3D="0,80,75" />183 <Model position="-500,185,328" yaw=2 roll=-25 mesh="cube_green.mesh" scale3D="100,35,0" />184 <Model position="-500,185,-328" yaw=-2 roll=-25 mesh="cube_red.mesh" scale3D="100,35,0" /> -->154 155 <!--<Model position="-125,116,0" mesh="cube_green.mesh" scale3D="130,0,125" /> 156 <Model position="-275,116,235" yaw=55 mesh="cube_green.mesh" scale3D="140,0,50" /> 157 <Model position="-275,116,-235" yaw=-55 mesh="cube_red.mesh" scale3D="140,0,50" /> 158 <Model position="-365,116,320" yaw=35 mesh="cube_green.mesh" scale3D="100,0,50" /> 159 <Model position="-365,116,-320" yaw=-35 mesh="cube_red.mesh" scale3D="100,0,50" /> 160 <Model position="-520,156,380" roll=-25 mesh="cube_green.mesh" scale3D="100,0,50" /> 161 <Model position="-520,156,-380" roll=-25 mesh="cube_red.mesh" scale3D="100,0,50" /> 162 163 164 <Model position="-80,0,100" mesh="cube_green.mesh" scale3D="80,100,0" /> 165 <Model position="-160,0,150" yaw=90 mesh="cube_green.mesh" scale3D="50,200,0" /> 166 <Model position="-220,0,260" yaw=55 mesh="cube_green.mesh" scale3D="140,200,0" /> 167 <Model position="-360,0,390" yaw=33 mesh="cube_green.mesh" scale3D="110,200,0" /> 168 <Model position="-600,16,430" mesh="cube_green.mesh" scale3D="200,200,0" /> 169 <Model position="-810,16,405" yaw=-32 mesh="cube_green.mesh" scale3D="150,200,0" /> 170 <Model position="-965,166,270" yaw=-55 mesh="cube_green.mesh" scale3D="150,50,0" /> 171 172 <Model position="-80,0,-100" mesh="cube_red.mesh" scale3D="80,100,0" /> 173 <Model position="-160,0,-150" yaw=-90 mesh="cube_red.mesh" scale3D="50,200,0" /> 174 <Model position="-220,0,-260" yaw=-55 mesh="cube_red.mesh" scale3D="140,200,0" /> 175 <Model position="-360,0,-390" yaw=-33 mesh="cube_red.mesh" scale3D="110,200,0" /> 176 <Model position="-600,16,-430" mesh="cube_red.mesh" scale3D="200,200,0" /> 177 <Model position="-810,16,-405" yaw=32 mesh="cube_red.mesh" scale3D="150,200,0" /> 178 <Model position="-965,166,-270" yaw=55 mesh="cube_red.mesh" scale3D="150,50,0" /> 179 180 <Model position="-1045,166,0" mesh="cube_orange.mesh" scale3D="0,50,160" /> 181 182 183 <Model position="-650,200,0" mesh="cube_green.mesh" scale3D="400,0,450" /> 184 185 <Model position="-500,-200,0" mesh="cube_green.mesh" scale3D="400,0,400" /> 186 <Model position="-60,-84,0" mesh="cube_green.mesh" scale3D="60,0,100" /> 187 188 <Model position="-1015,156,0" mesh="cube_orange.mesh" scale3D="27,25,120" /> 189 <Model position="-580,185,0" mesh="cube_orange.mesh" scale3D="30,12,30" /> 190 <Model position="-580,195,0" mesh="cube_orange.mesh" scale3D="50,10,50" /> 191 192 193 194 <Model position="-255,121,0" mesh="cube_green.mesh" scale3D="0,85,125" /> 195 <Model position="-300,116,190" yaw=-35 mesh="cube_green.mesh" scale3D="0,80,75" /> 196 <Model position="-300,116,-190" yaw=35 mesh="cube_green.mesh" scale3D="0,80,75" /> 197 <Model position="-410,116,290" yaw=-55 mesh="cube_green.mesh" scale3D="0,80,75" /> 198 <Model position="-410,116,-290" yaw=55 mesh="cube_green.mesh" scale3D="0,80,75" /> 199 <Model position="-500,185,328" yaw=2 roll=-25 mesh="cube_green.mesh" scale3D="100,35,0" /> 200 <Model position="-500,185,-328" yaw=-2 roll=-25 mesh="cube_red.mesh" scale3D="100,35,0" /> --> 185 201 186 202 187 203 188 204 <!-- points for the orientation --> 189 <!--<Model position="0,0,0" mesh="cube_orange.mesh" scale3D="10,10,10" />190 <Model position="-260,0,0" mesh="cube_orange.mesh" scale3D="10,10,10" />191 <Model position="-580,0,400" mesh="cube_orange.mesh" scale3D="10,10,10" />192 <Model position="-580,0,-400" mesh="cube_orange.mesh" scale3D="10,10,10" />193 194 <Model position="-580,0,0" mesh="cube_orange.mesh" scale3D="10,10,10" /> -->205 <!--<Model position="0,0,0" mesh="cube_orange.mesh" scale3D="10,10,10" /> 206 <Model position="-260,0,0" mesh="cube_orange.mesh" scale3D="10,10,10" /> 207 <Model position="-580,0,400" mesh="cube_orange.mesh" scale3D="10,10,10" /> 208 <Model position="-580,0,-400" mesh="cube_orange.mesh" scale3D="10,10,10" /> 209 210 <Model position="-580,0,0" mesh="cube_orange.mesh" scale3D="10,10,10" /> --> 195 211 196 212 … … 264 280 <!-- Boxes helps to place collisionShapes --> 265 281 266 <!--<Model position="0,80,0" mesh="cube_orange.mesh" scale3D="40,80,25" /> -->282 <!--<Model position="0,80,0" mesh="cube_orange.mesh" scale3D="40,80,25" /> --> 267 283 268 284 <Model position="0,0,0" roll=0 scale3D="0.15,0.15,0.15" mesh="ss_machine.mesh" /> … … 271 287 <collisionShapes> 272 288 273 <BoxCollisionShape position="0,80,0" 289 <BoxCollisionShape position="0,80,0" halfExtents="40,80,25" /> <!--whole machine--> 274 290 275 291 </collisionShapes> … … 287 303 <attached> 288 304 289 <Model position="0,0,0" scale3D="25,25,25" mesh="ss_table.mesh" /> 290 291 </attached> 292 <collisionShapes> 293 <BoxCollisionShape position="0,8,17" halfExtents="8,10,10" /> 294 <BoxCollisionShape position="0,0,22" halfExtents="18, 2, 10" /> 295 <BoxCollisionShape position="0,0,9" halfExtents="12, 2, 20" /> 296 <BoxCollisionShape position="0,0,-18" halfExtents="6, 2, 18" /> 305 <!-- Boxes helps to place collisionShapes --> 306 307 <!--<Model position="0,-32,0" mesh="cube_orange.mesh" scale3D="60,32,40" /> --> 308 309 <Model position="0,0,0" roll=180 scale3D="25,25,25" mesh="ss_table.mesh" /> 310 311 </attached> 312 <collisionShapes> 313 314 <BoxCollisionShape position="0,-32,0" yaw=15 halfExtents="60,32,40" /> <!--ganzer Tisch--> 297 315 298 316 </collisionShapes> … … 309 327 <MovableEntity position="0,0,0"> 310 328 <attached> 311 312 <Model position="0,0,0" roll=0 scale3D="25,25,25" mesh="ss_table_cracked.mesh" /> 313 314 </attached> 315 <collisionShapes> 316 <BoxCollisionShape position="0,8,17" halfExtents="8,10,10" /> 317 <BoxCollisionShape position="0,0,22" halfExtents="18, 2, 10" /> 318 <BoxCollisionShape position="0,0,9" halfExtents="12, 2, 20" /> 319 <BoxCollisionShape position="0,0,-18" halfExtents="6, 2, 18" /> 329 330 <!-- Boxes helps to place collisionShapes --> 331 332 <!--<Model position="0,-32,0" mesh="cube_orange.mesh" scale3D="60,32,40" /> --> 333 334 335 <Model position="0,0,0" roll=180 scale3D="25,25,25" mesh="ss_table_cracked.mesh" /> 336 337 </attached> 338 <collisionShapes> 339 340 <BoxCollisionShape position="0,-32,0" halfExtents="60,32,40" /> <!--ganzer Tisch--> 320 341 321 342 </collisionShapes> … … 332 353 <MovableEntity position="0,0,0"> 333 354 <attached> 334 335 <Model position="0,0,0" roll=0 scale3D="25,25,25" mesh="ss_cylinder.mesh" /> 336 337 </attached> 338 <collisionShapes> 339 <BoxCollisionShape position="0,8,17" halfExtents="8,10,10" /> 340 <BoxCollisionShape position="0,0,22" halfExtents="18, 2, 10" /> 341 <BoxCollisionShape position="0,0,9" halfExtents="12, 2, 20" /> 342 <BoxCollisionShape position="0,0,-18" halfExtents="6, 2, 18" /> 343 355 356 <!-- Boxes helps to place collisionShapes --> 357 358 <!--<Model position="0,-40,0" yaw=15 mesh="cube_red.mesh" scale3D="7,65,25" /> 359 <Model position="0,-40,0" yaw=45 mesh="cube_red.mesh" scale3D="7,65,25" /> 360 <Model position="0,-40,0" yaw=75 mesh="cube_red.mesh" scale3D="7,65,25" /> 361 <Model position="0,-40,0" yaw=105 mesh="cube_red.mesh" scale3D="7,65,25" /> 362 <Model position="0,-40,0" yaw=135 mesh="cube_red.mesh" scale3D="7,65,25" /> 363 <Model position="0,-40,0" yaw=165 mesh="cube_red.mesh" scale3D="7,65,25" /> --> 364 365 366 <Model position="0,0,0" roll=180 scale3D="25,25,25" mesh="ss_cylinder.mesh" /> 367 368 </attached> 369 <collisionShapes> 370 371 <BoxCollisionShape position="0,-40,0" yaw=15 halfExtents="10,65,25" /> <!--Fuellung--> 372 <BoxCollisionShape position="0,-40,0" yaw=45 halfExtents="10,65,25" /> <!--Fuellung--> 373 <BoxCollisionShape position="0,-40,0" yaw=75 halfExtents="10,65,25" /> <!--Fuellung--> 374 <BoxCollisionShape position="0,-40,0" yaw=105 halfExtents="10,65,25" /> <!--Fuellung--> 375 <BoxCollisionShape position="0,-40,0" yaw=135 halfExtents="10,65,25" /> <!--Fuellung--> 376 <BoxCollisionShape position="0,-40,0" yaw=165 halfExtents="10,65,25" /> <!--Fuellung--> 377 344 378 </collisionShapes> 345 379 … … 356 390 <attached> 357 391 358 <Model position="0,0,0" roll=0 pitch=0 scale3D="20,20,20" mesh="ss_chair.mesh" /> 359 360 </attached> 361 <collisionShapes> 362 <BoxCollisionShape position="0,8,17" halfExtents="8,10,10" /> 363 <BoxCollisionShape position="0,0,22" halfExtents="18, 2, 10" /> 364 <BoxCollisionShape position="0,0,9" halfExtents="12, 2, 20" /> 365 <BoxCollisionShape position="0,0,-18" halfExtents="6, 2, 18" /> 366 392 <!-- Boxes helps to place collisionShapes --> 393 394 <!--<Model position="-5,18,0" mesh="cube_orange.mesh" scale3D="20,20,20" /> 395 <Model position="-23,-30,0" mesh="cube_orange.mesh" scale3D="2,33,18" /> --> 396 397 398 <Model position="0,0,0" roll=0 pitch=180 scale3D="20,20,20" mesh="ss_chair.mesh" /> 399 400 </attached> 401 <collisionShapes> 402 403 <BoxCollisionShape position="-5,18,0" halfExtents="20,20,20" /> <!--Unterer Teil--> 404 <BoxCollisionShape position="-23,-30,0" halfExtents="2,33,20" /> <!--Rueckenlaehne--> 405 367 406 </collisionShapes> 368 407 … … 378 417 <MovableEntity position="0,0,0"> 379 418 <attached> 380 381 <Model position="0,0,0" roll=0 scale3D="20,20,20" mesh="ss_wall.mesh" /> 382 383 </attached> 384 <collisionShapes> 385 <BoxCollisionShape position="0,8,17" halfExtents="8,10,10" /> 386 <BoxCollisionShape position="0,0,22" halfExtents="18, 2, 10" /> 387 <BoxCollisionShape position="0,0,9" halfExtents="12, 2, 20" /> 388 <BoxCollisionShape position="0,0,-18" halfExtents="6, 2, 18" /> 389 419 420 <!-- Boxes helps to place collisionShapes --> 421 422 <!--<Model position="-78,0,0" mesh="cube_orange.mesh" scale3D="2,100,100" /> --> 423 424 425 <Model position="0,0,0" roll=0 pitch=180 scale3D="80,80,80" mesh="ss_wall.mesh" /> 426 427 </attached> 428 <collisionShapes> 429 430 <BoxCollisionShape position="-78,0,0" halfExtents="2,100,100" /> <!--Flache Seite--> 431 390 432 </collisionShapes> 391 433 … … 404 446 <!-- Boxes helps to place collisionShapes --> 405 447 406 <!--<Model position="0,0,0" mesh="cube_orange.mesh" scale3D="2,160,2" />407 <Model position="0,108,80" mesh="cube_orange.mesh" scale3D="1,50,80" /> -->448 <!--<Model position="0,0,0" mesh="cube_orange.mesh" scale3D="2,160,2" /> 449 <Model position="0,108,80" mesh="cube_orange.mesh" scale3D="1,50,80" /> --> 408 450 409 451
Note: See TracChangeset
for help on using the changeset viewer.