Changeset 10153 for code/branches/keckslevelHS14/data/levels
- Timestamp:
- Dec 3, 2014, 5:30:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/keckslevelHS14/data/levels/kecks.oxw
r10138 r10153 24 24 ?> 25 25 26 <Level >26 <Level gametype = "Mission"> 27 27 28 28 <templates> … … 32 32 <?lua include("includes/notifications.oxi") ?> 33 33 34 <Scene 35 ambientlight = "0.8, 0.8, 0.8" 36 skybox = "Orxonox/skyBoxBasic" 37 > 38 <!--Quest Versuch 39 <GlobalQuest id="quest0"> 40 <QuestDescription title="Quest 0" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 41 42 Ut consequat leo ut quam congue semper et eget nibh. Nunc sit amet velit eu lorem pretium adipiscing eu ut ante. Nulla facilisi. Pellentesque interdum, neque nec consectetur vulputate, mauris risus feugiat nunc, ac sollicitudin neque quam ut tellus. Morbi elit velit, tincidunt et hendrerit eget, rutrum at erat. Duis eros nulla, faucibus vitae blandit vitae, pharetra sollicitudin justo." failMessage="Fail message 0" completeMessage="Complete message 0" /> 43 </GlobalQuest> 44 <AddQuest questId="quest0" /> 34 <Scene 35 ambientlight = "0.8, 0.8, 0.8" 36 skybox = "Orxonox/skyBoxBasic" 37 > 38 <!-- TODO: Trigger fuer Boxen, SimpleNotification, Gegner sollen nicht explodieren, Spawnpoint 2 --> 39 40 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 41 42 <SpawnPoint roll="180" position="0, 0, 0" lookat="0, 1000, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY team=0 active="true" /> 43 44 <!-- 2. Spawnpoint 45 <SpawnPoint roll="180" position="0, 114500, 0" lookat="0, 150000, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY team=0 active="false" /> 46 <events> 47 <activity> 48 <EventListener event="atPortal1" /> 49 </activity> 50 </events> 51 </SpawnPoint> 45 52 --> 46 47 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 48 49 <SpawnPoint position="0,50000,0" lookat="0, 100000, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY team=0 active="true" /> 50 51 52 <!--Asteroiden-Guertel 53 <DistanceTrigger name="startmission" position="0,0,0" target="SpaceShip" targetname="spaceshipHXY" distance=100 activations=1 stayActive=true /> 54 <!--Funktioniert nicht 55 <SimpleNotification message="Follow the spaceships to escape" broadcast="true"> 56 <events> 57 <trigger> 58 <EventListener event="startmission" /> 59 </trigger> 60 </events> 61 </SimpleNotification>--> 62 <!-- Distance Trigger--> 63 64 <DistanceTrigger name="atPortal1" position="0,112000,0" target="SpaceShip" targetname="spaceshipHXY" distance=100 activations=1 stayActive=true /> 65 66 <!--Asteroiden-Guertel Versuch Schlaufe 53 67 <?lua 54 68 for i = 1, 3, 1 … … 62 76 ?> 63 77 --> 64 78 79 <!-- Asteroidenguertel--> 65 80 <?lua 66 asteroidBelt(0, 0, 0, 0, 0, 100, 60, 110, 3300, 3000, 200 , 0) 67 asteroidBelt(0, 0, 0, 0, 0, 100, 70, 120, 6400, 6000, 300 , 0) 68 asteroidBelt(0, 0, 0, 0, 0, 100, 80, 130, 9500, 9000, 400 , 0) 69 ?> 70 71 <!-- Beschuetzer und Wegweiser Innen--> 72 73 <?lua 74 for i = 0, (3*math.pi/2), (math.pi/2) 75 do 76 ?> 77 78 79 80 <SpaceShip position="<?lua print(250*math.sin(i)) ?>, <?lua print(250*math.cos(i)) ?>,0" lookat="<?lua print(1500*math.sin(i)) ?>, <?lua print(1500*math.cos(i)) ?>,0" maxhealt="200" initialhealth="200" roll="<?lua print(180-i*180/math.pi)?>" > 81 <templates> 82 <Template link=spaceshipassff2 /> <!--spaceshipTransporter --> 83 </templates> 84 <controller> 85 <WaypointPatrolController alertnessradius=1500 active=true team=0> 86 <waypoints> 87 <StaticEntity position="50,10250,0"/> 88 </waypoints> 89 </WaypointPatrolController> 90 </controller> 91 </SpaceShip> 92 93 94 <?lua 95 end 96 ?> 97 98 <!-- ENDE Beschuetzer und Wegweiser Innen--> 99 100 <!-- Gegner Innen--> 101 102 <?lua 103 for i = 0, (3*math.pi/2), (math.pi/2) 104 do 105 ?> 106 107 108 <SpaceShip position="<?lua print(1500*math.sin(i)) ?>,<?lua print(1500*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0"> 109 110 <templates> 111 <Template link=spaceshippirate /> 112 </templates> 113 <controller> 114 <WaypointPatrolController alertnessradius=1500 active=true team=1> 115 <waypoints> 116 <StaticEntity position="0,0,0"/> 117 </waypoints> 118 </WaypointPatrolController> 119 </controller> 120 </SpaceShip> 121 122 <?lua 123 end 124 ?> 125 126 <!-- ENDE Gegner Innen--> 127 128 <!-- Gegnerische Patrouille --> 129 130 <?lua 131 for i = 0, (5*math.pi/3), (math.pi/3) 132 do 133 ?> 134 81 asteroidBelt(0, 0, 0, 0, 0, 50, 60, 110, 3300, 3000, 100 , 1) 82 asteroidBelt(0, 0, 0, 0, 0, 50, 70, 120, 6400, 6000, 125 , 1) 83 asteroidBelt(0, 0, 0, 0, 0, 50, 80, 130, 9500, 9000, 150 , 1) 84 ?> 85 <!--ENDE Asteroidenguertel--> 86 87 <!-- Beschuetzer und Wegweiser Innen--> 88 89 <?lua 90 for i = 0, (3*math.pi/2), (math.pi/2) 91 do 92 ?> 93 94 95 96 <SpaceShip position="<?lua print(250*math.sin(i)) ?>, <?lua print(250*math.cos(i)) ?>,0" lookat="<?lua print(1500*math.sin(i)) ?>, <?lua print(1500*math.cos(i)) ?>,0" maxhealt="150" initialhealth="150" roll="<?lua print(180-i*180/math.pi)?>" > 97 <templates> 98 <Template link=spaceshipassff2 /> <!--spaceshipTransporter --> 99 </templates> 100 <controller> 101 <WaypointPatrolController alertnessradius=1500 active=true team=0> 102 <waypoints> 103 <StaticEntity position="50,10250,0"/> 104 </waypoints> 105 </WaypointPatrolController> 106 </controller> 107 </SpaceShip> 108 109 110 <?lua 111 end 112 ?> 113 114 <!-- ENDE Beschuetzer und Wegweiser Innen--> 115 116 <!-- Gegner Innen--> 117 135 118 <?lua 136 for j = 1, 3, 1 137 do 138 ?> 139 <SpaceShip position="<?lua print((600+3200*j)*math.sin(i)) ?>,<?lua print((600+3200*j)*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0" > 140 141 <templates> 142 <Template link=spaceshippirate /> 143 </templates> 144 <controller> 145 <WaypointPatrolController alertnessradius=1500 active=true team=1> 146 <waypoints> 147 <?lua 148 for k = 0, (59*math.pi/30), (math.pi/30) 149 do 150 ?> 151 152 <Model mesh="cube.mesh" scale=8 position="<?lua print((600+3200*j)*math.sin(i+k)) ?>,<?lua print((600+3200*j)*math.cos(i+k)) ?>,0" /> 153 154 <?lua 155 end 156 ?> 157 158 </waypoints> 159 </WaypointPatrolController> 160 </controller> 161 </SpaceShip> 162 <?lua 163 end 164 ?> 165 <?lua 166 end 167 ?> 168 169 <!-- ENDE Gegnerische Patrouille --> 170 171 <!-- Gegnerische Flotte/ Totenkopfflotte--> 172 173 <?lua 174 for j = 0, 1, 1 175 do 176 ?> 177 <?lua 178 for i = 0, 4, 1 179 do 180 ?> 181 <SpaceShip position="<?lua print (40*i)?>, 52000 ,<?lua print (-200*j)?>" lookat="0, 0, 0"> 119 for i = 0, (3*math.pi/2), (math.pi/2) 120 do 121 ?> 122 123 124 <SpaceShip position="<?lua print(1500*math.sin(i)) ?>,<?lua print(1500*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0"> 125 182 126 <templates> 183 127 <Template link=spaceshippirate /> 184 128 </templates> 185 129 <controller> 186 <WaypointPatrolController alertnessradius=1 0 active=true team=1>130 <WaypointPatrolController alertnessradius=1500 active=true team=1> 187 131 <waypoints> 188 132 <StaticEntity position="0,0,0"/> … … 190 134 </WaypointPatrolController> 191 135 </controller> 192 </SpaceShip> 193 <?lua 194 end 195 ?> 196 <?lua 197 end 198 ?> 199 200 <?lua 201 for j = 0, 1, 1 202 do 203 ?> 204 <?lua 205 for i = 0, 6, 1 136 </SpaceShip> 137 138 <?lua 139 end 140 ?> 141 142 <!-- ENDE Gegner Innen--> 143 144 <!-- Gegnerische Patrouille --> 145 146 <?lua 147 for i = 0, (7*math.pi/4), (math.pi/4) 148 do 149 ?> 150 151 <?lua 152 for j = 1, 3, 1 153 do 154 ?> 155 <SpaceShip position="<?lua print((600+3200*j)*math.sin(i)) ?>,<?lua print((600+3200*j)*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0" > 156 157 <templates> 158 <Template link=spaceshippirate /> 159 </templates> 160 <controller> 161 <WaypointPatrolController alertnessradius=1500 active=true team=1> 162 <waypoints> 163 <?lua 164 for k = 0, (59*math.pi/30), (math.pi/30) 165 do 166 ?> 167 168 <Model mesh="cube.mesh" scale=0 position="<?lua print((600+3200*j)*math.sin(i+k)) ?>,<?lua print((600+3200*j)*math.cos(i+k)) ?>,0" /> 169 170 <?lua 171 end 172 ?> 173 174 </waypoints> 175 </WaypointPatrolController> 176 </controller> 177 </SpaceShip> 178 <?lua 179 end 180 ?> 181 <?lua 182 end 183 ?> 184 185 <!-- ENDE Gegnerische Patrouille --> 186 187 <!-- Gegnerische Flotte/ Totenkopfflotte--> 188 189 <?lua 190 for j = 0, 1, 1 191 do 192 ?> 193 <?lua 194 for i = 0, 4, 1 206 195 do 207 ?>208 <SpaceShip position="<?lua print (40*i -40)?>, 52000 ,<?lua print (-40-80*j)?>" lookat="0, 0, 0">196 ?> 197 <SpaceShip position="<?lua print (40*i)?>, 120000 ,<?lua print (-200*j)?>" roll="180" lookat="0, 0, 0"> 209 198 <templates> 210 199 <Template link=spaceshippirate /> 211 200 </templates> 212 201 <controller> 213 <WaypointPatrolController alertnessradius=1 0 active=true team=1>202 <WaypointPatrolController alertnessradius=1550 active=false team=1> 214 203 <waypoints> 215 <StaticEntity position="0, 0,0"/>204 <StaticEntity position="0,111000,0"/> 216 205 </waypoints> 206 <events> 207 <activity> 208 <EventListener event="atPortal1" /> 209 </activity> 210 </events> 217 211 </WaypointPatrolController> 218 212 </controller> 219 213 </SpaceShip> 220 <?lua 221 end 222 ?> 223 <?lua 224 end 225 ?> 226 227 <?lua 228 for i = 0, 6, 3 229 do 230 ?> 231 <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,-80" lookat="0, 0, 0"> 214 <?lua 215 end 216 ?> 217 <?lua 218 end 219 ?> 220 221 <?lua 222 for j = 0, 1, 1 223 do 224 ?> 225 <?lua 226 for i = 0, 6, 1 227 do 228 ?> 229 <SpaceShip position="<?lua print (40*i-40)?>, 120000 ,<?lua print (-40-80*j)?>" roll="180" lookat="0, 0, 0"> 230 <templates> 231 <Template link=spaceshippirate /> 232 </templates> 233 <controller> 234 <WaypointPatrolController alertnessradius=1450 active=false team=1> 235 <waypoints> 236 <StaticEntity position="0,110000,0"/> 237 </waypoints> 238 <events> 239 <activity> 240 <EventListener event="atPortal1" /> 241 </activity> 242 </events> 243 </WaypointPatrolController> 244 </controller> 245 </SpaceShip> 246 <?lua 247 end 248 ?> 249 <?lua 250 end 251 ?> 252 253 <?lua 254 for i = 0, 6, 3 255 do 256 ?> 257 <SpaceShip position="<?lua print (40*i-40)?>, 120000 ,-80" roll="180" lookat="0, 0, 0"> 258 <templates> 259 <Template link=spaceshippirate /> 260 </templates> 261 <controller> 262 <WaypointPatrolController alertnessradius=1550 active=false team=1> 263 <waypoints> 264 <StaticEntity position="0,110000,0"/> 265 </waypoints> 266 <events> 267 <activity> 268 <EventListener event="atPortal1" /> 269 </activity> 270 </events> 271 </WaypointPatrolController> 272 </controller> 273 </SpaceShip> 274 <?lua 275 end 276 ?> 277 278 279 <?lua 280 for i = 0, 6, 1 281 do 282 ?> 283 284 <SpaceShip position="<?lua print (40*i-40)?>, 120000 ,-160" roll="180" lookat="0, 0, 0"> 232 285 <templates> 233 286 <Template link=spaceshippirate /> 234 287 </templates> 235 288 <controller> 236 <WaypointPatrolController alertnessradius=1 0 active=true team=1>289 <WaypointPatrolController alertnessradius=1450 active=false team=1> 237 290 <waypoints> 238 <StaticEntity position="0, 0,0"/>291 <StaticEntity position="0,110000,0"/> 239 292 </waypoints> 293 <events> 294 <activity> 295 <EventListener event="atPortal1" stayActiv=1 /> 296 </activity> 297 </events> 240 298 </WaypointPatrolController> 241 299 </controller> 242 </SpaceShip> 243 <?lua 244 end 245 ?> 300 </SpaceShip> 301 302 <?lua 303 end 304 ?> 246 305 247 248 <?lua 249 for i = 0, 6, 1 250 do 251 ?> 252 253 <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,-160" lookat="0, 0, 0"> 306 <?lua 307 for i = 1, 5, 2 308 do 309 ?> 310 311 <SpaceShip position="<?lua print (40*i-40)?>, 120000 ,-240" roll="180" lookat="0, 0, 0"> 254 312 <templates> 255 313 <Template link=spaceshippirate /> 256 314 </templates> 257 315 <controller> 258 <WaypointPatrolController alertnessradius=1 0 active=true team=1>316 <WaypointPatrolController alertnessradius=1550 active=false team=1> 259 317 <waypoints> 260 <StaticEntity position="0, 0,0"/>318 <StaticEntity position="0,110000,0"/> 261 319 </waypoints> 320 <events> 321 <activity> 322 <EventListener event="atPortal1" /> 323 </activity> 324 </events> 262 325 </WaypointPatrolController> 263 326 </controller> 264 </SpaceShip> 265 <?lua 266 end 267 ?> 268 269 <?lua 270 for i = 1, 5, 2 271 do 272 ?> 273 274 <SpaceShip position="<?lua print (40*i-40)?>, 52000 ,-240" lookat="0, 0, 0"> 275 <templates> 276 <Template link=spaceshippirate /> 277 </templates> 278 <controller> 279 <WaypointPatrolController alertnessradius=10 active=true team=1> 280 <waypoints> 281 <StaticEntity position="0,0,0"/> 282 </waypoints> 283 </WaypointPatrolController> 284 </controller> 285 </SpaceShip> 286 <?lua 287 end 288 ?> 289 290 <!-- ENDE Gegnerische Flotte/ Totenkopfflotte--> 291 292 <!--Portal--> 293 <Template name=PortalDefault> 294 <PortalEndPoint> 295 <attached> 296 <Model mesh="Spacegate.mesh" /> 327 </SpaceShip> 328 329 <?lua 330 end 331 ?> 332 333 <!-- ENDE Gegnerische Flotte/ Totenkopfflotte--> 334 335 <!-- Boxen um Flotte zu befreien --> 336 337 <?lua 338 for j = 0, 1, 1 339 do 340 ?> 341 <?lua 342 for i = 0, 1, 1 343 do 344 ?> 345 346 <Pawn health=10 position="<?lua print(25-i*50) ?>, <?lua print(116000) ?>,<?lua print(25-j*50) ?>" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Gravitation Box" > 347 <attached> 348 <Model position="0,0,0" scale="10" mesh="CuboidBody.mesh" /> 349 </attached> 350 <collisionShapes> 351 <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> 352 </collisionShapes> 353 <controller> 354 <WaypointController team=1> 355 </WaypointController> 356 </controller> 357 </Pawn> 358 359 <?lua 360 end 361 ?> 362 363 <?lua 364 end 365 ?> 366 367 <!-- Flotte Erde--> 368 <?lua 369 for j = 0, 2, 1 370 do 371 ?> 372 <?lua 373 for i = 0, 2, 1 374 do 375 ?> 376 377 378 <SpaceShip position="<?lua print(50-i*50) ?>, <?lua print(116000) ?>,<?lua print(50-j*50) ?>" lookat="0,150000,0" maxhealt="200" initialhealth="200" > 379 <templates> 380 <Template link=spaceshipassff2 /> <!--spaceshipTransporter --> 381 </templates> 382 <controller> 383 <WaypointPatrolController alertnessradius=1500 active=false team=0> 384 <waypoints> 385 <StaticEntity position="0,150000,0"/> 386 </waypoints> 387 <events> 388 <activity> 389 <EventListener event="atPortal1" /> 390 </activity> 391 </events> 392 </WaypointPatrolController> 393 </controller> 394 </SpaceShip> 395 396 397 <?lua 398 end 399 ?> 400 401 <?lua 402 end 403 ?> 404 405 <!-- ENDE Flotte Erde--> 406 407 <!--Portal--> 408 <Template name=PortalDefault> 409 <PortalEndPoint> 410 <attached> 411 <Model mesh="Spacegate.mesh" /> 412 </attached> 413 </PortalEndPoint> 414 </Template> 415 416 <PortalEndPoint position="0,112000,0" id="1" pitch="90" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 417 <PortalEndPoint position="50,10250,0" id="2" pitch="90" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 418 <PortalLink fromID="1" toID="2" /> 419 <PortalLink fromID="2" toID="1" /> 420 <!--ENDE Portal--> 421 422 <!--Heimatplanet--> 423 <Planet 424 position="0,100000,0" 425 scale="10000" 426 collisionType="dynamic" 427 linearDamping="0.8" 428 angularDamping="0" 429 mass="5000000" 430 pitch="0" 431 yaw="0" 432 roll="0" 433 mesh="planets/earth.mesh" 434 atmosphere="atmosphere1" 435 rotationaxis="0,0,1" 436 rotationrate="5.0" 437 atmospheresize="80.0f" 438 imagesize="1024.0f" 439 collisiondamage = 1 440 enablecollisiondamage = true 441 > 442 <attached> 443 <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" /> 297 444 </attached> 298 </PortalEndPoint> 299 </Template> 300 301 <PortalEndPoint position="0,100000,0" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 302 <PortalEndPoint position="50,10250,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> 303 <PortalLink fromID="1" toID="2" /> 304 <PortalLink fromID="2" toID="1" /> 305 <!--ENDE Portal--> 306 307 <!--Heimatplanet--> 308 <Planet 309 position="0,111000,0" 310 scale="10000" 311 collisionType="dynamic" 312 linearDamping="0.8" 313 angularDamping="0" 314 mass="5000000" 315 pitch="0" 316 yaw="0" 317 roll="0" 318 mesh="planets/earth.mesh" 319 atmosphere="atmosphere1" 320 rotationaxis="0,0,1" 321 rotationrate="5.0" 322 atmospheresize="80.0f" 323 imagesize="1024.0f" 324 collisiondamage = 2 325 enablecollisiondamage = true 326 > 327 <attached> 328 <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" /> 329 </attached> 330 <collisionShapes> 331 <SphereCollisionShape radius="10000" position="0,0,0" /> 332 </collisionShapes> 333 </Planet> 334 <!--ENDE Heimatplanet--> 445 <collisionShapes> 446 <SphereCollisionShape radius="10000" position="0,0,0" /> 447 </collisionShapes> 448 </Planet> 449 <!--ENDE Heimatplanet--> 335 450 336 451 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.