- Timestamp:
- Oct 26, 2015, 8:30:26 PM (9 years ago)
- Location:
- code/branches/campaignHS15/data/levels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10710 r10711 53 53 > 54 54 55 <SpawnPoint name="playerSpawn" team= 1position="6000,-4000,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />55 <SpawnPoint name="playerSpawn" team=0 position="6000,-4000,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 /> 56 56 57 57 <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" /> … … 321 321 </SimpleNotification> 322 322 323 <!--ST RUCTURE-->323 <!--STATIONS --> 324 324 325 325 <!-- (Temporary) Template for stations. Used to define common features of all Stations. --> … … 351 351 </Template> 352 352 353 <Dock position="5000,-3000,0" active=true > 354 <animations> 355 <MoveToDockingTarget target="dockA" /> 356 </animations> 357 <effects> 358 <DockToShip target="newSpaceShip" /> 359 </effects> 360 <events> 361 <execute> 362 <EventListener event="dockMe" /> 363 </execute> 364 </events> 353 <!-- A, Coordinates are approx. (cos(29pi/16), sin(29pi/16), 0)*3000 --> 354 <Pawn name="statA" team=0 radarname="Station A" position="5000,-3000,0" direction="0,1,0" initialhealth=10000 maxhealth=10000> 355 <templates> 356 <Template link="station" /> 357 </templates> 365 358 <attached> 366 <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockMe" /> 367 <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> 359 <DockingTarget name="dockTargetA" /> 360 <Dock position="0,0,0" active=true> 361 <animations> 362 <MoveToDockingTarget target="dockTargetA" /> 363 </animations> 364 <effects> 365 <DockToShip target="newSpaceShip" /> 366 </effects> 367 <events> 368 <execute> 369 <EventListener event="dockA" /> 370 </execute> 371 </events> 372 <attached> 373 <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockA" /> 374 <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> 375 </attached> 376 </Dock> 368 377 </attached> 369 </Dock> 370 378 </Pawn> 379 380 <!-- B, Coordinates are approx. (-cos(29pi/16), sin(29pi/16), 0)*3000 --> 381 <Pawn name="statB" team=0 radarname="Station B" position="-5000,-3000,0" direction="0,1,0" initialhealth=10000 maxhealth=10000> 382 <templates> 383 <Template link="station" /> 384 </templates> 385 <attached> 386 <DockingTarget name="dockTargetB" /> 387 <Dock position="0,0,0" active=true> 388 <animations> 389 <MoveToDockingTarget target="dockTargetB" /> 390 </animations> 391 <effects> 392 <DockToShip target="newSpaceShip" /> 393 </effects> 394 <events> 395 <execute> 396 <EventListener event="dockB" /> 397 </execute> 398 </events> 399 <attached> 400 <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockB" /> 401 <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> 402 </attached> 403 </Dock> 404 </attached> 405 </Pawn> 406 407 <!-- C --> 408 <Pawn name="statC" team=0 radarname="Station C" position="0,-2300,0" direction="0,1,0" initialhealth=10000 maxhealth=10000> 409 <templates> 410 <Template link="station" /> 411 </templates> 412 <attached> 413 <DockingTarget name="dockTargetC" /> 414 <Dock position="0,0,0" active=true> 415 <animations> 416 <MoveToDockingTarget target="dockTargetC" /> 417 </animations> 418 <effects> 419 <DockToShip target="fpsMode" /> 420 </effects> 421 <events> 422 <execute> 423 <EventListener event="dockC" /> 424 </execute> 425 </events> 426 <attached> 427 <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockC" /> 428 <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> 429 </attached> 430 </Dock> 431 </attached> 432 </Pawn> 433 434 <!-- New SpaceShip as destination of dock C--> 371 435 <SpaceShip 372 436 template = "spaceshipassff2" … … 390 454 </SpaceShip> 391 455 392 <!-- FPS Player as destination of the dock-->393 <FpsPlayer template = "fps" radarname = "First Person Player" position = "0,- 19900,0" >456 <!-- FPS Player as destination of dock C--> 457 <FpsPlayer template = "fps" radarname = "First Person Player" position = "0,-2300,640" lookat="0,0,0" > 394 458 <attached> 395 <DockingTarget name=" newSpaceShip" />396 <DistanceTriggerBeacon name=" NPC" />459 <DockingTarget name="fpsMode" /> 460 <DistanceTriggerBeacon name="fpsPlayer" /> 397 461 </attached> 398 462 </FpsPlayer> 399 463 400 <!-- A, Coordinates are approx. (cos(29pi/16), sin(29pi/16), 0)*3000 -->401 <Pawn name="statA" radarname="Station A" position="5000,-3000,0" direction="0,1,0" initialhealth=10000 maxhealth=10000>402 <templates>403 <Template link="station" />404 </templates>405 <attached>406 <DockingTarget name="dockA" />407 </attached>408 </Pawn>409 410 <!-- B, Coordinates are approx. (-cos(29pi/16), sin(29pi/16), 0)*3000 -->411 <Pawn name="statB" radarname="Station B" position="-5000,-3000,0" direction="0,1,0" initialhealth=10000 maxhealth=10000>412 <templates>413 <Template link="station" />414 </templates>415 </Pawn>416 417 <!-- C -->418 <Pawn name="statC" radarname="Station C" position="0,-2500,0" direction="0,1,0" initialhealth=10000 maxhealth=10000>419 <templates>420 <Template link="station" />421 </templates>422 </Pawn>423 424 464 <!--ELEMENTS --> 425 465 … … 428 468 asteroidBelt(0,-2000, 0, 30, 0, 5, 20, 40, 500, 3300, 75, 0) 429 469 ?> 430 <!-- 431 <?lua 432 dofile("includes/fog.lua")433 generateFog(-1000,-1000,0,20,0.9)434 ?>435 -->436 470 471 <?lua 472 --[[ 473 dofile("includes/fog.lua") 474 generateFog(-1000,-1000,0,20,0.9) 475 ]]-- 476 ?> 437 477 438 478 <!-- Enemies. Outer loop defines waves, inner loop defines enemies in every wave. --> … … 447 487 y = math.sin(math.pi/8*(i+1))*1500 448 488 ?> 449 <SpaceShip visible=false active=flase name="attackers<?lua print(k)?>" radarname="Attacker" position="<?lua print(x)?>,<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>" lookat="0,0,0" team= 2>489 <SpaceShip visible=false active=flase name="attackers<?lua print(k)?>" radarname="Attacker" position="<?lua print(x)?>,<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>" lookat="0,0,0" team=1> 450 490 <templates> 451 491 <Template link="spaceshippirate" /> … … 478 518 <?lua end ?> 479 519 480 <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 -- 481 <SpaceShip position="5000,-3000,0" lookat="-2494, -1667, 0" team= 1name="transporter" radarname="Shuttle">520 <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 --> 521 <SpaceShip position="5000,-3000,0" lookat="-2494, -1667, 0" team=0 name="transporter" radarname="Shuttle"> 482 522 <templates> 483 523 <Template link="spaceshipTransporter" /> … … 487 527 </attached> 488 528 <controller> 489 <WaypointController accuracy=10 >529 <WaypointController accuracy=10 team=0> 490 530 <waypoints> 491 !-- A to B --531 <!-- A to B --> 492 532 <?lua 493 533 max = 5 … … 500 540 <?lua end ?> 501 541 502 !-- Return Point --542 <!-- Return Point --> 503 543 <Billboard position="-5000, -3000, 0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/> 504 544 505 !-- B to A --545 <!-- B to A --> 506 546 <?lua 507 547 max = 5 … … 514 554 <?lua end ?> 515 555 516 !-- Start Point --556 <!-- Start Point --> 517 557 <Billboard position="5000,-3000,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/> 518 558 </waypoints> 519 559 </WaypointController> 520 560 </controller> 521 </SpaceShip /> -->561 </SpaceShip> 522 562 523 563 </Scene> -
code/branches/campaignHS15/data/levels/missionOne.oxw
r9985 r10711 1659 1659 1660 1660 <!-- @Triggers: HACK. The attacktrigger6 Event is created, but does not trigger the Script. 1661 (WTF?) TODO: looks like a BUG 1661 (WTF?) TODO: looks like a BUG 1662 1662 Thus a distanceTrigger is created, that gets enabled, when the inner trigger gets activated. 1663 1663 Due to the large radius it is likely that it actually gets triggered. 1664 1664 --> 1665 1665 1666 <DistanceTrigger name="testDistanceTrigger" position="0,0,0" distance=10000 target=" SpaceShip" stayActive="true" delay=37.0>1666 <DistanceTrigger name="testDistanceTrigger" position="0,0,0" distance=10000 target="Pawn" stayActive="true" delay=37.0> 1667 1667 <EventTrigger name="testEventTrigger" activations="1" stayactive="true" delay=0.1> 1668 1668 <events>
Note: See TracChangeset
for help on using the changeset viewer.