Changeset 9747 for code/branches/levelElias
- Timestamp:
- Nov 4, 2013, 4:14:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelElias/data/levels/EscapeTheBastards.oxw
r9712 r9747 18 18 19 19 <?lua 20 include("templates/pickupRepresentationTemplates.oxt") 20 21 include("templates/spaceshipAssff.oxt") 21 22 include("templates/spaceshipPirate.oxt") 22 23 include("templates/spaceshipEscort.oxt") 23 include("templates/spaceship Spacecruiser.oxt")24 include("templates/spaceshipCollateralDamage.oxt") 24 25 ?> 25 26 … … 51 52 > 52 53 54 <?lua 55 include("includes/pickups.oxi") 56 ?> 57 53 58 <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"/> 54 59 … … 57 62 <!-- SpawnPoint team=0 position="-1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff / --> 58 63 59 <!-- New Ship --> 60 61 62 <!-- New Ship END --> 64 <!-- Pickups --> 65 66 <PickupSpawner pickup=dronepickup position="-5000,300,-209" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" /> 67 <PickupSpawner pickup=hugespeedpickup position="-800,0,0" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" /> 68 69 <!-- 70 <PickupSpawner pickup=crazyhealthpickup position="2200,1000,-600" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" active=false> 71 <events> 72 <activity> 73 <EventListener event="reachedally" /> 74 </activity> 75 </events> 76 </PickupSpawner> 77 <PickupSpawner pickup=hugespeedpickup position="2200,1000,-600" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" active=false> 78 <events> 79 <activity> 80 <EventListener event="reachedally" /> 81 </activity> 82 </events> 83 </PickupSpawner> 84 --> 85 86 <!-- Pickups heal the box, so one cant destroy the box --> 87 88 <!-- Pickups END --> 63 89 <!--Basic Infos end--> 64 90 … … 70 96 <events> 71 97 <trigger> 72 <TeamSpawnPoint team=0 position="- 1000,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipspacecruiser>98 <TeamSpawnPoint team=0 position="-8050,0,0" direction="1,0.3,0.2" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage>> 73 99 <EventTrigger invert=true> 74 100 <events> … … 96 122 <QuestEffectBeacon times=1> 97 123 <effects> 98 <CompleteQuest questId="Helpisontheway " />124 <CompleteQuest questId="Helpisontheway.1" /> 99 125 </effects> 100 126 <events> … … 105 131 </QuestEffectBeacon> 106 132 107 <QuestEffectBeacon times=1> 133 134 <QuestEffectBeacon times=1 > 108 135 <effects> 109 136 <CompleteQuest questId="defend.2" /> … … 111 138 <events> 112 139 <execute> 113 <EventListener event=" target3" />140 <EventListener event="Boxdestroyed" /> 114 141 </execute> 115 142 </events> 116 143 </QuestEffectBeacon> 117 144 118 119 120 <DistanceTrigger name="missionfinish" position="-2580,300,-209" target="Pawn" distance=60 stayActive="true" delay=1> 121 <DistanceTrigger name="reachedally" position="-2580,300,-209" target="Pawn" distance=60 stayActive="true" delay=6> 145 <QuestEffectBeacon times=1 > 146 <effects> 147 <CompleteQuest questId="leave.3" /> 148 </effects> 149 <events> 150 <execute> 151 <EventListener event="reachedhomeplanet" /> 152 </execute> 153 </events> 154 </QuestEffectBeacon> 155 156 157 158 <DistanceTrigger name="missionfinish" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=1> 122 159 </DistanceTrigger> 160 <DistanceTrigger name="reachedally" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=2> 123 161 </DistanceTrigger> 124 125 126 127 128 <BlinkingBillboard position="-2580,300,-209" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 162 <DistanceTrigger name="reachedhomeplanet" position="8000,7500,-1990" target="Pawn" distance=60 stayActive="true" delay=2> 163 </DistanceTrigger> 164 165 166 167 <EventTrigger name="boxtrigger" activations="1" stayactive="true" delay=0.1> 168 <events> 169 <trigger> 170 <EventListener event="box" /> 171 </trigger> 172 </events> 173 </EventTrigger> 174 175 176 <!-- Billboard Allyplanet --> 177 178 <BlinkingBillboard position="-120,0,0" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 129 179 <events> 130 180 <visibility> … … 132 182 <events> 133 183 <trigger> 134 <EventListener event= missionfinish/>184 <EventListener event="missionfinish" /> 135 185 </trigger> 136 186 </events> … … 140 190 </BlinkingBillboard> 141 191 142 <Billboard position="- 2580,300,-209" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">192 <Billboard position="-120,0,0" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 143 193 <events> 144 194 <visibility> … … 146 196 <events> 147 197 <trigger> 148 <EventListener event= missionfinish/>198 <EventListener event="missionfinish" /> 149 199 </trigger> 150 200 </events> … … 153 203 </events> 154 204 </Billboard> 205 206 <!-- Billboard Allyplanet END--> 207 208 209 <!-- Box with Pickups --> 210 <Pawn team=1 health=30 position="2200,1000,-600" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Something" > 211 <events> 212 <visibility> 213 <EventListener event="target3" /> 214 </visibility> 215 </events> 216 <attached> 217 <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" /> 218 </attached> 219 <collisionShapes> 220 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 221 </collisionShapes> 222 </Pawn> 223 224 <Billboard position="2200,1000,-600" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 225 <events> 226 <visibility> 227 <EventTrigger> 228 <events> 229 <trigger> 230 <EventListener event="boxtrigger" /> 231 </trigger> 232 </events> 233 </EventTrigger> 234 </visibility> 235 </events> 236 </Billboard> 237 <!-- Box with Pickups END --> 238 239 <!-- Billboard Homeplanet --> 240 241 <BlinkingBillboard position="8000,7500,-1990" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 242 <events> 243 <visibility> 244 <EventTrigger invert=true> 245 <events> 246 <trigger> 247 <EventListener event="reachedhomeplanet" /> 248 </trigger> 249 </events> 250 </EventTrigger> 251 </visibility> 252 </events> 253 </BlinkingBillboard> 254 255 <Billboard position="8000,7500,-1990" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 256 <events> 257 <visibility> 258 <EventTrigger> 259 <events> 260 <trigger> 261 <EventListener event="reachedhomeplanet" /> 262 </trigger> 263 </events> 264 </EventTrigger> 265 </visibility> 266 </events> 267 </Billboard> 268 269 <!-- Billboard Homeplanet END--> 270 271 155 272 <!--Quests (Fly to the Ally) END--> 156 273 … … 158 275 159 276 160 <SpaceShip position=" -6000,800,-709" lookat="0,0,1" name="attacker" radarname="Fighter1">277 <SpaceShip position="1000,0,0" lookat="0,0,1" name="attacker" radarname="Fighter1" visible="true"> 161 278 <events> 162 279 <visibility> 163 <EventListener event="reachedally" /> 280 <EventListener event="missionfinish" /> 281 </visibility> 282 </events> 283 284 <templates> 285 <Template link=spaceshippirate /> 286 </templates> 287 <controller> 288 <WaypointPatrolController alertnessradius=750 team=1 active=false> 289 <waypoints> 290 <Model mesh="cube.mesh" scale=10 position="1000,0,0"/> 291 <Model mesh="cube.mesh" scale=10 position="500,500,0"/> 292 <Model mesh="cube.mesh" scale=10 position="0,1000,0"/> 293 <Model mesh="cube.mesh" scale=10 position="-500,500,0"/> 294 <Model mesh="cube.mesh" scale=10 position="-1000,0,0"/> 295 <Model mesh="cube.mesh" scale=10 position="-500,-500,0"/> 296 <Model mesh="cube.mesh" scale=10 position="0,-1000,0"/> 297 <Model mesh="cube.mesh" scale=10 position="500,-500,0"/> 298 </waypoints> 299 <events> 300 <activity> 301 <EventListener event="reachedally" /> 302 </activity> 303 </events> 304 </WaypointPatrolController> 305 </controller> 306 </SpaceShip> 307 308 <SpaceShip position="0,1000,0" lookat="1,0,0" name="attacker" radarname="Fighter2" visible="true"> 309 <events> 310 <visibility> 311 <EventListener event="missionfinish" /> 164 312 </visibility> 165 313 </events> 166 314 <templates> 167 <Template link=spaceship assff/>315 <Template link=spaceshippirate /> 168 316 </templates> 169 317 <controller> 170 <WaypointPatrolController alertnessradius= 1000 team=1>318 <WaypointPatrolController alertnessradius=750 team=1 active=false> 171 319 <waypoints> 172 <Model mesh="cube.mesh" scale=10 position="-3700,800,-709"/> 173 <Model mesh="cube.mesh" scale=10 position="-3700,800,309"/> 174 <Model mesh="cube.mesh" scale=10 position="-3700,-200,309"/> 175 <Model mesh="cube.mesh" scale=10 position="-3700,-200,-709"/> 320 <Model mesh="cube.mesh" scale=10 position="0,1000,0"/> 321 <Model mesh="cube.mesh" scale=10 position="0,500,500"/> 322 <Model mesh="cube.mesh" scale=10 position="0,0,1000"/> 323 <Model mesh="cube.mesh" scale=10 position="0,-500,500"/> 324 <Model mesh="cube.mesh" scale=10 position="0,-1000,0"/> 325 <Model mesh="cube.mesh" scale=10 position="0,-500,-500"/> 326 <Model mesh="cube.mesh" scale=10 position="0,0,-1000"/> 327 <Model mesh="cube.mesh" scale=10 position="0,500,-500"/> 176 328 </waypoints> 329 <events> 330 <activity> 331 <EventListener event="reachedally" /> 332 </activity> 333 </events> 177 334 </WaypointPatrolController> 178 335 </controller> 179 336 </SpaceShip> 180 337 181 <SpaceShip position=" -6050,300,-709" lookat="1,0,0" name="attacker" radarname="Fighter2">338 <SpaceShip position="0,0,1000" lookat="0,1,0" name="attacker" radarname="Fighter3" visible="true"> 182 339 <events> 183 340 <visibility> 184 <EventListener event=" reachedally" />341 <EventListener event="missionfinish" /> 185 342 </visibility> 186 343 </events> 187 344 <templates> 188 <Template link=spaceship assff/>345 <Template link=spaceshippirate /> 189 346 </templates> 190 347 <controller> 191 <WaypointPatrolController alertnessradius= 1000 team=1>348 <WaypointPatrolController alertnessradius=750 team=1 active=false> 192 349 <waypoints> 193 <Model mesh="cube.mesh" scale=10 position="-4200,300,-709"/> 194 <Model mesh="cube.mesh" scale=10 position="-3200,300,-709"/> 195 <Model mesh="cube.mesh" scale=10 position="-4200,300,309"/> 196 <Model mesh="cube.mesh" scale=10 position="-3200,300,309"/> 350 <Model mesh="cube.mesh" scale=10 position="1000,0,0"/> 351 <Model mesh="cube.mesh" scale=10 position="500,0,500"/> 352 <Model mesh="cube.mesh" scale=10 position="0,0,1000"/> 353 <Model mesh="cube.mesh" scale=10 position="-500,0,500"/> 354 <Model mesh="cube.mesh" scale=10 position="-1000,0,0"/> 355 <Model mesh="cube.mesh" scale=10 position="-500,0,-500"/> 356 <Model mesh="cube.mesh" scale=10 position="0,0,-1000"/> 357 <Model mesh="cube.mesh" scale=10 position="500,0,-500"/> 197 358 </waypoints> 198 </WaypointPatrolController> 199 </controller> 200 </SpaceShip> 201 202 <SpaceShip position="-6100,-200,-209" lookat="0,1,0" name="attacker" radarname="Fighter3"> 203 <events> 204 <visibility> 205 <EventListener event="reachedally" /> 206 </visibility> 207 </events> 208 <templates> 209 <Template link=spaceshipassff /> 210 </templates> 211 <controller> 212 <WaypointPatrolController alertnessradius=1000 team=1> 213 <waypoints> 214 <Model mesh="cube.mesh" scale=10 position="-4200,-200,-209"/> 215 <Model mesh="cube.mesh" scale=10 position="-4200,800,-209"/> 216 <Model mesh="cube.mesh" scale=10 position="-3200,800,-209"/> 217 <Model mesh="cube.mesh" scale=10 position="-3200,-200,-209"/> 218 </waypoints> 359 <events> 360 <activity> 361 <EventListener event="reachedally" /> 362 </activity> 363 </events> 219 364 </WaypointPatrolController> 220 365 </controller> … … 254 399 </SimpleNotification> 255 400 256 <SimpleNotification message=" No Mercy!!!" broadcast="true">401 <SimpleNotification message="Booom, you got him!" broadcast="true"> 257 402 <events> 258 403 <trigger> … … 262 407 </SimpleNotification> 263 408 264 <SimpleNotification message="Booom, you got them all." broadcast="true"> 409 410 <SimpleNotification message="No Mercy!! .. What's that?" broadcast="true"> 265 411 <events> 266 412 <trigger> … … 269 415 </events> 270 416 </SimpleNotification> 417 418 271 419 272 420 … … 294 442 295 443 <LocalQuest id="defend.2"> 296 <QuestDescription title="Defend the Planet" description="You've picked up you're mate. He's wounded and you have to reach your base as fast as you can. Defend this place, and try to get him home. 444 <QuestDescription title="Defend the Planet" description="You've picked up you're mate. He's wounded and you have to reach your base as fast as you can. Defend this place, and try to get him home. Perhaps you can find something usefull around here. 297 445 298 446 Try to stay on the planet. It's easier to fight!" 299 failmessage=" " completeMessage="" />447 failmessage="Well, you sucked" completeMessage="Well done, You're a hero" /> 300 448 <complete-effects> 301 449 <AddQuest questId="leave.3" /> … … 306 454 307 455 <LocalQuest id="leave.3"> 308 <QuestDescription title="Leave the Place" description="You've blown their minds. Let's go home. " failmessage="" completeMessage="" />456 <QuestDescription title="Leave the Place" description="You've blown their minds. Let's go home. Follow the Big blue planet to reach your home." failmessage="" completeMessage="" /> 309 457 <complete-effects> 310 458 <AddQuest questId="wayhome.4" /> … … 312 460 </LocalQuest> 313 461 462 <LocalQuest id="wayhome.4"> 463 <QuestDescription title="Let's go home" description="You've reached your planet. The radar is broke. You have to find the Base, cause you arent able to see from the air" failmessage="" completeMessage="" /> 464 <complete-effects> 465 <AddQuest questId="end.5" /> 466 </complete-effects> 467 </LocalQuest> 468 314 469 <!-- LocalQuests END --> 315 470 316 471 <!-- Message Triggers --> 317 <DistanceTrigger name="StartofMission" position="- 1000,0,0" target="Pawn" distance=10 stayActive="true" delay=2/>472 <DistanceTrigger name="StartofMission" position="-8050,0,0" target="Pawn" distance=10 stayActive="true" delay=2/> 318 473 <SimpleNotification message="Hi, I'm the Commander."> 319 474 <events> … … 324 479 </SimpleNotification> 325 480 326 <DistanceTrigger name="Introduction1" position="- 1000,0,0" target="Pawn" distance=30 stayActive="true" delay=6.4/>481 <DistanceTrigger name="Introduction1" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=6.4/> 327 482 <SimpleNotification message="An allied pilot had to make a forced landing"> 328 483 <events> … … 333 488 </SimpleNotification> 334 489 335 <DistanceTrigger name="Introduction2" position="- 1000,0,0" target="Pawn" distance=30 stayActive="true" delay=10.8/>490 <DistanceTrigger name="Introduction2" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=10.8/> 336 491 <SimpleNotification message="He needs your help. Get him out of there"> 337 492 <events> … … 359 514 </events> 360 515 </SimpleNotification> 516 517 518 <SimpleNotification message="Pickups! Pick them up ;-)" broadcast="true"> 519 <events> 520 <trigger> 521 <EventListener event="boxtrigger" /> 522 </trigger> 523 </events> 524 </SimpleNotification> 525 526 <DistanceTrigger name="Boxdestroyed" position="2200,1000,-600" target="SpaceShip" distance=30 stayActive="true" delay=0.1 /> 527 <SimpleNotification message="Now aim the blue planet"> 528 <events> 529 <trigger> 530 <EventListener event="Boxdestroyed" /> 531 </trigger> 532 </events> 533 </SimpleNotification> 534 535 <DistanceTrigger name="Boxdestroyed2" position="2200,1000,-600" target="SpaceShip" distance=30 stayActive="true" delay=4.4 /> 536 <SimpleNotification message="Land near the blinking light!"> 537 <events> 538 <trigger> 539 <EventListener event="Boxdestroyed2" /> 540 </trigger> 541 </events> 542 </SimpleNotification> 543 544 <SimpleNotification message="You're almost there"> 545 <events> 546 <trigger> 547 <EventListener event="reachedhomeplanet" /> 548 </trigger> 549 </events> 550 </SimpleNotification> 551 552 361 553 <!-- Message Triggers END --> 362 554 … … 369 561 <!--Asteroids Field--> 370 562 371 <?lua for i=0, 500,1 do372 x=math.random(- 2500,2500)373 y=math.random(-2 500,2500)563 <?lua for i=0,750,1 do 564 x=math.random(-8000,-1000) 565 y=math.random(-2345,2345) 374 566 z=math.random(-2500,2500) 375 567 scale=math.random(20,70) … … 391 583 392 584 <?lua for i=0,300,1 do 393 x=math.random(- 8000,8000)585 x=math.random(-12000,4000) 394 586 y=math.random(-8000,8000) 395 587 z=math.random(-8000,8000) … … 448 640 449 641 <!--Planet--> 450 <Planet position="15000,0,0" scale=1500 pitch=-90 mesh=" iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />642 <Planet position="15000,0,0" scale=1500 pitch=-90 mesh="planets/sol.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 451 643 <StaticEntity position="2600,0,0" collisionType=static> 452 644 <collisionShapes> … … 454 646 </collisionShapes> 455 647 </StaticEntity> 456 <!--Planet end-->648 <!--Planet END--> 457 649 458 650 <!--Planet with Ally--> 459 651 <Planet 460 position=" -2700,300,-209"652 position="0,0,0" 461 653 scale="100" 462 654 collisionType="dynamic" … … 479 671 </collisionShapes> 480 672 </Planet> 481 <!--Planet with Ally--> 482 673 <!-- Planet with Ally END--> 674 675 676 <!-- Homeplanet --> 677 <Planet 678 position="8000,7500,-5000" 679 scale="3000" 680 collisionType="dynamic" 681 linearDamping="0.8" 682 angularDamping="0" 683 mass="5000000000000" 684 pitch="0" 685 mesh="iceplanet.mesh" 686 atmosphere="atmosphere1" 687 rotationaxis="0,0,0" 688 rotationrate="0.0" 689 atmospheresize="80.0f" 690 imagesize="1024.0f" 691 > 692 <attached> 693 <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-900" /> 694 </attached> 695 <collisionShapes> 696 <SphereCollisionShape radius="3000" position="0,0,0" /> 697 </collisionShapes> 698 </Planet> 483 699 484 700
Note: See TracChangeset
for help on using the changeset viewer.