[6920] | 1 | <?lua |
---|
[7036] | 2 | include("stats.oxo") |
---|
| 3 | include("hudtemplates3.oxo") |
---|
| 4 | include("underattackhud.oxo") |
---|
| 5 | include("templates/spaceship_assff.oxt") |
---|
| 6 | include("templates/spaceship_pirate.oxt") |
---|
| 7 | include("templates/spaceship_destroyer.oxt") |
---|
| 8 | include("templates/lodinformation.oxt") |
---|
[6920] | 9 | ?> |
---|
| 10 | |
---|
| 11 | <!-- Ausgang: Level ===> name/description --> |
---|
| 12 | <Level |
---|
| 13 | name="Level" |
---|
| 14 | description="Level zerstoeren von Transportern" |
---|
| 15 | gametype=UnderAttack |
---|
| 16 | > |
---|
[7036] | 17 | <templates> |
---|
| 18 | <Template link=lodtemplate_default /> |
---|
| 19 | </templates> |
---|
[6920] | 20 | |
---|
| 21 | <!-- Ausgang: Szene ===> ambientlight/skybox --> |
---|
| 22 | <Scene |
---|
| 23 | ambientlight="0.8,0.8,0.8" |
---|
| 24 | skybox="Orxonox/skypanoramagen1" |
---|
| 25 | > |
---|
| 26 | |
---|
| 27 | <!--Light: noch zu aendern --> |
---|
| 28 | <Light type=directional position="0,0,0" direction="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 1.0, 0.9" /> |
---|
| 29 | |
---|
| 30 | <!--******************************************************************************************************************************************************************************************--> |
---|
| 31 | <!--Quests ==> id/title/description/failMessage/completeMessage--> |
---|
| 32 | <GlobalQuest id="Levelname.nameofQuest1.testsasimplequesttoseehowitworks"> <!--QUESTIDS MUST HAVE AT LEAST 32 CHARACTERS--> |
---|
| 33 | <QuestDescription title="ErkundungsFlug" description="Ein Erkundungsflug durch die Skybox!" failMessage="You failed!" completeMessage="You win!" /> |
---|
| 34 | </GlobalQuest> |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | <!--QuestEnd--> |
---|
| 38 | <!--******************************************************************************************************************************************************************************************--> |
---|
| 39 | |
---|
| 40 | <!--Spieler Spawnpoint ===> position/direction--> |
---|
| 41 | <SpawnPoint position="-100,50,0" direction="1000,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff team=0 /> |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | <!--Auslosen der 1 testQuest--> |
---|
| 45 | <!-- Funktioniert noch nicht Fehler mit einem Argument in Quest--> |
---|
| 46 | <QuestEffectBeacon position="1000,0,0" times="1"> |
---|
| 47 | <effects> |
---|
| 48 | <AddQuest questId="Levelname.nameofQuest1.testsasimplequesttoseehowitworks"/> |
---|
| 49 | </effects> |
---|
| 50 | <events> |
---|
| 51 | <execute> |
---|
| 52 | <EventListener event="Levelnamequest1"/> |
---|
| 53 | </execute> |
---|
| 54 | </events> |
---|
| 55 | <attached> |
---|
| 56 | <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare"/> |
---|
| 57 | <DistanceTrigger name="Levelnamequest1" position="0,0,0" distance="50" target="ControllableEntity"/> |
---|
| 58 | </attached> |
---|
| 59 | </QuestEffectBeacon> |
---|
| 60 | |
---|
| 61 | <!--Destroyer 1 ++ Benutzen des spaceship_destroyer template (Fehler mit dem Ziel ==> muss nur den letzten transporter zerstoeren) ==> health/maxHealth/initialHealth--> |
---|
| 62 | <Destroyer |
---|
| 63 | position="3000,0,3000" |
---|
| 64 | velocity="-25,0,0" |
---|
| 65 | template=spaceshipDestroyer |
---|
| 66 | health=1000 |
---|
| 67 | maxHealth = 1000 |
---|
| 68 | initialHealth = 1000 |
---|
| 69 | > |
---|
| 70 | </Destroyer> |
---|
| 71 | |
---|
| 72 | <!--Erstellen der Schiffe des ErkundungsTrupps__________________________________________________________________--> |
---|
| 73 | <!--Spaceships team 0 (player:team=0)--> |
---|
| 74 | <SpaceShip position="75,0,0" lookat="1000,0,0" > |
---|
| 75 | <templates> |
---|
| 76 | <Template link=spaceshipassff /> |
---|
| 77 | </templates> |
---|
| 78 | <controller> |
---|
| 79 | <WaypointPatrolController alertnessradius=1000 team=0> |
---|
| 80 | <waypoints> |
---|
| 81 | <Model mesh="cube.mesh" scale=0 position="3025,0,0" /> |
---|
| 82 | <Model mesh="cube.mesh" scale=0 position="4025,0,1000" /> |
---|
| 83 | <Model mesh="cube.mesh" scale=0 position="3025,0,3000" /> |
---|
| 84 | </waypoints> |
---|
| 85 | </WaypointPatrolController> |
---|
| 86 | </controller> |
---|
| 87 | </SpaceShip> |
---|
| 88 | <!--Second Spaceship team 0 (player: team 0)--> |
---|
| 89 | <SpaceShip position="0,0,75" lookat="1000,0,75" > |
---|
| 90 | <templates> |
---|
| 91 | <Template link=spaceshipassff /> |
---|
| 92 | </templates> |
---|
| 93 | <controller> |
---|
| 94 | <WaypointPatrolController alertnessradius=1000 team=0> |
---|
| 95 | <waypoints> |
---|
| 96 | <Model mesh="cube.mesh" scale=0 position="3000,0,25" /> |
---|
| 97 | <Model mesh="cube.mesh" scale=0 position="4000,0,1025" /> |
---|
| 98 | <Model mesh="cube.mesh" scale=0 position="3000,0,3025" /> |
---|
| 99 | </waypoints> |
---|
| 100 | </WaypointPatrolController> |
---|
| 101 | </controller> |
---|
| 102 | </SpaceShip> |
---|
| 103 | <!--third Spaceship team 0 (player: team 0)--> |
---|
| 104 | <SpaceShip position="0,0,-75" lookat="1000,0,-75" > |
---|
| 105 | <templates> |
---|
| 106 | <Template link=spaceshipassff /> |
---|
| 107 | </templates> |
---|
| 108 | <controller> |
---|
| 109 | <WaypointPatrolController alertnessradius=1000 team=0> |
---|
| 110 | <waypoints> |
---|
| 111 | <Model mesh="cube.mesh" scale=0 position="3000,0,-25" /> |
---|
| 112 | <Model mesh="cube.mesh" scale=0 position="4000,0,975" /> |
---|
| 113 | <Model mesh="cube.mesh" scale=0 position="3000,0,2975" /> |
---|
| 114 | </waypoints> |
---|
| 115 | </WaypointPatrolController> |
---|
| 116 | </controller> |
---|
| 117 | </SpaceShip> |
---|
| 118 | <!--Erstellen der Schiffe des ErkundungsTrupps ______ENDE ______________________________________________--> |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | </Scene> |
---|
| 122 | </Level> |
---|