[9718] | 1 | <!--Spacefight--> |
---|
| 2 | |
---|
| 3 | <!-- |
---|
| 4 | To Do: |
---|
| 5 | Naechster Quest bei Erreichen des roten Lichtes... |
---|
| 6 | --> |
---|
| 7 | <LevelInfo |
---|
| 8 | name = "Spacefight" |
---|
| 9 | description = "Level with the big Spacefight" |
---|
[9726] | 10 | tags = "mission" |
---|
[9718] | 11 | screenshot = "emptylevel.png" |
---|
| 12 | /> |
---|
| 13 | |
---|
| 14 | <?lua |
---|
| 15 | include("stats.oxo") |
---|
| 16 | include("HUDTemplates3.oxo") |
---|
| 17 | include("templates/lodInformation.oxt") |
---|
| 18 | ?> |
---|
| 19 | |
---|
| 20 | <?lua |
---|
| 21 | include("templates/spaceshipAssff2.oxt") |
---|
| 22 | include("templates/spaceshipPirate.oxt") |
---|
| 23 | include("templates/spaceshipEscort.oxt") |
---|
| 24 | include("templates/spaceshipSwallow.oxt") |
---|
| 25 | ?> |
---|
| 26 | |
---|
| 27 | <?lua |
---|
| 28 | dofile("includes/CuboidSpaceStation.lua") |
---|
| 29 | ?> |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | <Level |
---|
| 35 | gametype = "Mission" |
---|
| 36 | > |
---|
| 37 | <templates> |
---|
| 38 | <Template link=lodtemplate_default /> |
---|
| 39 | </templates> |
---|
| 40 | |
---|
| 41 | <?lua include("includes/notifications.oxi") ?> |
---|
| 42 | |
---|
| 43 | <NotificationQueueCEGUI |
---|
| 44 | name="narrative" |
---|
| 45 | targets="simpleNotification" |
---|
| 46 | size=3 |
---|
| 47 | displayTime=3.9 |
---|
| 48 | position="0.2, 0, 0.1, 0" |
---|
| 49 | fontSize="23" |
---|
| 50 | fontColor="0.3, 1, 0.2, 0.8" |
---|
| 51 | alignment="HorzCentred" |
---|
| 52 | displaySize="0.6, 0, 0, 0" |
---|
| 53 | /> |
---|
| 54 | |
---|
[9726] | 55 | <Scene |
---|
[9718] | 56 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 57 | skybox = "Orxonox/Starbox" |
---|
| 58 | > |
---|
| 59 | |
---|
| 60 | <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> |
---|
| 61 | |
---|
| 62 | <!-- QUESTS & SPAWNTRIGGER --> |
---|
| 63 | |
---|
| 64 | <!-- Spawntrigger --> |
---|
| 65 | |
---|
| 66 | <EventMultiTrigger name=spawntrigger> |
---|
| 67 | <events> |
---|
| 68 | <trigger> |
---|
| 69 | <SpawnPoint team=0 position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow> |
---|
| 70 | <EventTrigger invert=true> |
---|
| 71 | <events> |
---|
| 72 | <trigger> |
---|
| 73 | <EventListener event="spacefight.flying2" /> |
---|
| 74 | </trigger> |
---|
| 75 | </events> |
---|
| 76 | </EventTrigger> |
---|
| 77 | </SpawnPoint> |
---|
| 78 | </trigger> |
---|
| 79 | </events> |
---|
| 80 | </EventMultiTrigger> |
---|
| 81 | |
---|
| 82 | <!-- QUEST DESCRIPTION--> |
---|
| 83 | |
---|
| 84 | <LocalQuest id="spacefight.flying1"> |
---|
| 85 | <QuestDescription |
---|
[9735] | 86 | title="To the first guard!" |
---|
| 87 | description="Reach the station ahead." |
---|
[9727] | 88 | completeMessage="Well done!" /> |
---|
[9718] | 89 | <complete-effects> |
---|
| 90 | <AddQuest questId="spacefight.guard1" /> |
---|
| 91 | </complete-effects> |
---|
| 92 | </LocalQuest> |
---|
| 93 | |
---|
| 94 | <LocalQuest id="spacefight.guard1"> |
---|
| 95 | <QuestDescription |
---|
[9735] | 96 | title="Eliminate the first guard!" |
---|
| 97 | description="You've reached the enemys Station and they haven't seen you yet. |
---|
| 98 | |
---|
| 99 | Ahead you see the first little patrol. |
---|
| 100 | There are two little battleships and also two unarmed ships. |
---|
| 101 | The unarmed could not attack you. So first destroy the battleships!" |
---|
[9718] | 102 | failMessage="You've lost all your ships!" |
---|
| 103 | completeMessage="Well done!" /> |
---|
| 104 | <complete-effects> |
---|
| 105 | <AddQuest questId="spacefight.upgrade1" /> |
---|
[9727] | 106 | <AddQuest questId="spacefight.flying2" /> |
---|
[9718] | 107 | </complete-effects> |
---|
| 108 | </LocalQuest> |
---|
| 109 | |
---|
| 110 | <LocalQuest id="spacefight.upgrade1"> |
---|
| 111 | <QuestDescription |
---|
| 112 | title="Prepare for the fight." |
---|
| 113 | description="Your friends has an arsenal left behind near by your position. |
---|
| 114 | perhaps you find something useful there..." |
---|
[9735] | 115 | failMessage="You've lost all your ships!" |
---|
[9718] | 116 | completeMessage="Your ship is prepared best for the second and last guard on the way to the mainship." /> |
---|
| 117 | </LocalQuest> |
---|
| 118 | |
---|
| 119 | <LocalQuest id="spacefight.flying2"> |
---|
| 120 | <QuestDescription |
---|
[9735] | 121 | title="To the second guard!" |
---|
| 122 | description="There is another sentry on the way to the big mainship. |
---|
| 123 | unfortunately, we also have to destroy this one." |
---|
[9718] | 124 | failMessage="You've lost all your ships!" |
---|
| 125 | completeMessage="" /> |
---|
| 126 | <complete-effects> |
---|
| 127 | <AddQuest questId="spacefight.guard2" /> |
---|
| 128 | </complete-effects> |
---|
| 129 | </LocalQuest> |
---|
| 130 | |
---|
| 131 | <LocalQuest id="spacefight.guard2"> |
---|
| 132 | <QuestDescription |
---|
[9735] | 133 | title="The second guard!" |
---|
| 134 | description="Destroy also this guard!" |
---|
[9718] | 135 | failMessage="You've lost all your ships!" |
---|
| 136 | completeMessage="" /> |
---|
| 137 | <complete-effects> |
---|
| 138 | <AddQuest questId="spacefight.escape" /> |
---|
| 139 | </complete-effects> |
---|
| 140 | </LocalQuest> |
---|
| 141 | |
---|
| 142 | <LocalQuest id="spacefight.escape"> |
---|
| 143 | <QuestDescription |
---|
[9735] | 144 | title="Catch the messenger!" |
---|
| 145 | description="A messenger is on the way to warn the troups of the mainship. |
---|
| 146 | Destroy him before he is near by the mainship. |
---|
| 147 | Else the fight against the enemys troups will be much more difficult." |
---|
| 148 | failMessage="The messenger has reached the mainship. |
---|
| 149 | Prepare to fight against a strong enmey!" |
---|
| 150 | completeMessage="Well done! Now the element of surprise will be ours!" /> |
---|
[9726] | 151 | <complete-effects> |
---|
| 152 | <AddQuest questId="spacefight.flying3" /> |
---|
| 153 | </complete-effects> |
---|
[9718] | 154 | </LocalQuest> |
---|
| 155 | |
---|
[9726] | 156 | <LocalQuest id="spacefight.flying3" > |
---|
| 157 | <QuestDescription |
---|
[9735] | 158 | title="Prepared for the big fight?" |
---|
| 159 | description="" |
---|
| 160 | failMessage="You've lost all your ships!" |
---|
| 161 | completeMessage="" /> |
---|
| 162 | </LocalQuest> |
---|
| 163 | |
---|
| 164 | <LocalQuest id="spacefight.mainfight" > |
---|
| 165 | <QuestDescription |
---|
| 166 | title="The big fight!" |
---|
| 167 | description="Now the time is come! |
---|
| 168 | You've done all you can to prepare you for this spacebattle. |
---|
| 169 | Let us see, if it was enough. |
---|
| 170 | |
---|
| 171 | ATTACK!!!" |
---|
| 172 | failMessage="You've lost all your ships!" |
---|
| 173 | completeMessage="YEEEHAAA! |
---|
| 174 | You managed it! For that you will get the golden medal of the united space armies." /> |
---|
| 175 | </LocalQuest> |
---|
| 176 | |
---|
[9741] | 177 | <LocalQuest id="spacefight.rescue" > |
---|
[9735] | 178 | <QuestDescription |
---|
[9741] | 179 | title="Rescue and place the bomb" |
---|
| 180 | description="Now you have to free the commander and place the bomb." |
---|
| 181 | failMessage="You've lost all your ships!" |
---|
[9726] | 182 | completeMessage="" /> |
---|
| 183 | </LocalQuest> |
---|
[9718] | 184 | |
---|
[9741] | 185 | <LocalQuest id="spacefight.moveAway" > |
---|
[9735] | 186 | <QuestDescription |
---|
[9741] | 187 | title="Get away!" |
---|
| 188 | description="Get away of the mainship before the bomb detonates." |
---|
| 189 | failMessage="You've lost all your ships!" |
---|
| 190 | completeMessage="Done!" /> |
---|
[9735] | 191 | </LocalQuest> |
---|
| 192 | |
---|
[9718] | 193 | |
---|
| 194 | <!-- ---------------------------------------------------------------------- --> |
---|
[9735] | 195 | |
---|
[9741] | 196 | <!-- QuestEffectBeacon's --> |
---|
| 197 | |
---|
[9718] | 198 | <QuestEffectBeacon times=0> |
---|
| 199 | <effects> |
---|
| 200 | <AddQuest questId="spacefight.flying1" /> |
---|
| 201 | </effects> |
---|
| 202 | <events> |
---|
[9735] | 203 | <execute> |
---|
| 204 | <EventListener event=spawntrigger2 /> |
---|
| 205 | </execute> |
---|
[9718] | 206 | </events> |
---|
[9741] | 207 | <!--<attached> |
---|
[9735] | 208 | <BlinkingBillboard position="8000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare" /> |
---|
[9741] | 209 | </attached> --> |
---|
[9718] | 210 | </QuestEffectBeacon> |
---|
| 211 | |
---|
[9727] | 212 | <QuestEffectBeacon times=1> |
---|
| 213 | <effects> |
---|
| 214 | <CompleteQuest questId="spacefight.flying1" /> |
---|
| 215 | </effects> |
---|
| 216 | <events> |
---|
| 217 | <execute> |
---|
| 218 | <EventListener event="flying1" /> |
---|
| 219 | </execute> |
---|
| 220 | </events> |
---|
| 221 | </QuestEffectBeacon> |
---|
| 222 | |
---|
[9718] | 223 | <QuestEffectBeacon times=1> |
---|
[9735] | 224 | <effects> |
---|
| 225 | <CompleteQuest questId="spacefight.guard1" /> |
---|
| 226 | </effects> |
---|
| 227 | <events> |
---|
| 228 | <execute> |
---|
| 229 | <EventListener event="guard1trigger4" /> |
---|
| 230 | </execute> |
---|
| 231 | </events> |
---|
[9718] | 232 | </QuestEffectBeacon> |
---|
| 233 | |
---|
[9738] | 234 | <QuestEffectBeacon times=0> |
---|
| 235 | <events> |
---|
| 236 | <execute> |
---|
| 237 | <EventListener event=spawntrigger2 /> |
---|
| 238 | </execute> |
---|
| 239 | </events> |
---|
[9741] | 240 | <!-- <attached> |
---|
[9738] | 241 | <BlinkingBillboard position="18000, 5000, 21000" color="1,0,0" frequency=0.6 amplitude=10 material="Examples/Flare" /> |
---|
[9741] | 242 | </attached> --> |
---|
[9738] | 243 | </QuestEffectBeacon> |
---|
| 244 | |
---|
[9726] | 245 | <!-- ---------------------------------------------------------------------- --> |
---|
[9718] | 246 | |
---|
[9741] | 247 | <DistanceTrigger name="flying1" position="6000,0,0" target="SpaceShip" distance=2000 stayActive="true" delay=0 /> |
---|
[9718] | 248 | |
---|
| 249 | <DistanceTrigger name=spawntrigger2 position="0,0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 /> |
---|
| 250 | |
---|
| 251 | <!-- ----------------------------------------------------- --> |
---|
| 252 | |
---|
[9726] | 253 | <!-- EVENTTRIGGER --> |
---|
[9718] | 254 | |
---|
| 255 | <EventTrigger name="guard1trigger4" activations="1" stayactive="true" delay=0.1> |
---|
| 256 | <events> |
---|
| 257 | <trigger> |
---|
| 258 | <EventListener event="firstPatrol" /> |
---|
| 259 | </trigger> |
---|
| 260 | </events> |
---|
| 261 | <EventTrigger name="guard1trigger3" activations="1" stayactive="true" delay=0.1> |
---|
| 262 | <events> |
---|
| 263 | <trigger> |
---|
| 264 | <EventListener event="firstPatrol" /> |
---|
| 265 | </trigger> |
---|
| 266 | </events> |
---|
| 267 | <EventTrigger name="guard1trigger2" activations="1" stayactive="true" delay=0.1> |
---|
| 268 | <events> |
---|
| 269 | <trigger> |
---|
| 270 | <EventListener event="firstPatrol" /> |
---|
| 271 | </trigger> |
---|
| 272 | </events> |
---|
| 273 | <EventTrigger name="guard1trigger1" activations="1" stayactive="true" delay=0.1> |
---|
| 274 | <events> |
---|
| 275 | <trigger> |
---|
| 276 | <EventListener event="firstPatrol" /> |
---|
| 277 | </trigger> |
---|
| 278 | </events> |
---|
| 279 | </EventTrigger> |
---|
| 280 | </EventTrigger> |
---|
| 281 | </EventTrigger> |
---|
[9726] | 282 | </EventTrigger> |
---|
[9718] | 283 | |
---|
[9738] | 284 | <SimpleNotification message="first" > |
---|
| 285 | <events> |
---|
| 286 | <trigger> |
---|
| 287 | <EventListener event="guard1trigger1" /> |
---|
| 288 | </trigger> |
---|
| 289 | </events> |
---|
| 290 | </SimpleNotification> |
---|
| 291 | |
---|
| 292 | <SimpleNotification message="second" > |
---|
| 293 | <events> |
---|
| 294 | <trigger> |
---|
| 295 | <EventListener event="guard1trigger2" /> |
---|
| 296 | </trigger> |
---|
| 297 | </events> |
---|
| 298 | </SimpleNotification> |
---|
| 299 | |
---|
| 300 | <SimpleNotification message="third" > |
---|
| 301 | <events> |
---|
| 302 | <trigger> |
---|
| 303 | <EventListener event="guard1trigger3" /> |
---|
| 304 | </trigger> |
---|
| 305 | </events> |
---|
| 306 | </SimpleNotification> |
---|
| 307 | |
---|
| 308 | <SimpleNotification message="fourth" > |
---|
| 309 | <events> |
---|
| 310 | <trigger> |
---|
| 311 | <EventListener event="guard1trigger4" /> |
---|
| 312 | </trigger> |
---|
| 313 | </events> |
---|
| 314 | </SimpleNotification> |
---|
| 315 | |
---|
| 316 | <SimpleNotification message="shot" > |
---|
| 317 | <events> |
---|
| 318 | <trigger> |
---|
| 319 | <EventListener event="firstPatrol" /> |
---|
| 320 | </trigger> |
---|
| 321 | </events> |
---|
| 322 | </SimpleNotification> |
---|
| 323 | |
---|
[9718] | 324 | <!-- ----------------------------------------------------- --> |
---|
| 325 | |
---|
[9735] | 326 | <!-- Passive Piraten: Guard 1 --> |
---|
[9718] | 327 | |
---|
[9738] | 328 | <SpaceShip position="8000,1000,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol"> |
---|
[9718] | 329 | <events> |
---|
| 330 | <visibility> |
---|
[9727] | 331 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 332 | </visibility> |
---|
| 333 | </events> |
---|
| 334 | <templates> |
---|
| 335 | <Template link=spaceshippirate /> |
---|
| 336 | </templates> |
---|
| 337 | <controller> |
---|
| 338 | <WaypointController team=1> |
---|
| 339 | <waypoints> |
---|
[9738] | 340 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,0" /> |
---|
| 341 | <Model mesh="cube.mesh" scale=0 position="8000,1000,0" /> |
---|
[9718] | 342 | </waypoints> |
---|
| 343 | </WaypointController> |
---|
| 344 | </controller> |
---|
| 345 | </SpaceShip> |
---|
| 346 | |
---|
[9735] | 347 | <SpaceShip position="8000,0,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol"> |
---|
[9718] | 348 | <events> |
---|
| 349 | <visibility> |
---|
[9727] | 350 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 351 | </visibility> |
---|
| 352 | </events> |
---|
| 353 | <templates> |
---|
| 354 | <Template link=spaceshippirate /> |
---|
| 355 | </templates> |
---|
| 356 | <controller> |
---|
| 357 | <WaypointController team=1> |
---|
| 358 | <waypoints> |
---|
[9738] | 359 | <Model mesh="cube.mesh" scale=0 position="8000,0,-1000" /> |
---|
| 360 | <Model mesh="cube.mesh" scale=0 position="8000,0,1000" /> |
---|
[9718] | 361 | </waypoints> |
---|
| 362 | </WaypointController> |
---|
| 363 | </controller> |
---|
| 364 | </SpaceShip> |
---|
| 365 | |
---|
| 366 | |
---|
[9735] | 367 | <!-- Angreiffende Piraten: Guard 1 --> |
---|
[9727] | 368 | |
---|
[9735] | 369 | <SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name=firstPatrol visible="true" radarname="Patrol" > |
---|
[9718] | 370 | <events> |
---|
| 371 | <visibility> |
---|
[9727] | 372 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 373 | </visibility> |
---|
| 374 | </events> |
---|
| 375 | <templates> |
---|
| 376 | <Template link=spaceshippirate /> |
---|
| 377 | </templates> |
---|
| 378 | <controller> |
---|
| 379 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 380 | <waypoints> |
---|
[9738] | 381 | <Model mesh="cube.mesh" scale=0 position="8000,1000,-1000" /> |
---|
| 382 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,1000" /> |
---|
[9718] | 383 | </waypoints> |
---|
| 384 | <events> |
---|
| 385 | <activity> |
---|
[9727] | 386 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 387 | </activity> |
---|
| 388 | </events> |
---|
| 389 | </WaypointPatrolController> |
---|
| 390 | </controller> |
---|
| 391 | </SpaceShip> |
---|
| 392 | |
---|
[9735] | 393 | <SpaceShip position="8000,-500,-500" lookat="8000,1000,1000" name=firstPatrol visible="true" radarname="Patrol"> |
---|
[9718] | 394 | <events> |
---|
| 395 | <visibility> |
---|
[9727] | 396 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 397 | </visibility> |
---|
| 398 | </events> |
---|
| 399 | <templates> |
---|
| 400 | <Template link=spaceshippirate /> |
---|
| 401 | </templates> |
---|
| 402 | <controller> |
---|
| 403 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 404 | <waypoints> |
---|
[9738] | 405 | <Model mesh="cube.mesh" scale=0 position="8000,1000,1000" /> |
---|
| 406 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,-1000" /> |
---|
[9718] | 407 | </waypoints> |
---|
| 408 | <events> |
---|
| 409 | <activity> |
---|
[9727] | 410 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 411 | </activity> |
---|
| 412 | </events> |
---|
| 413 | </WaypointPatrolController> |
---|
| 414 | </controller> |
---|
| 415 | </SpaceShip> |
---|
| 416 | |
---|
[9735] | 417 | <!-- Angreiffende Piraten: Guard 2 --> |
---|
[9738] | 418 | <SpaceShip position="19000,5000,21000" lookat="19000,4900,21000" name=secondPatrol visible="true" radarname="Patrol"> |
---|
| 419 | <events> |
---|
| 420 | <visibility> |
---|
| 421 | <EventListener event=guard1trigger4 /> |
---|
| 422 | </visibility> |
---|
| 423 | </events> |
---|
| 424 | <templates> |
---|
| 425 | <Template link=spaceshippirate /> |
---|
| 426 | </templates> |
---|
| 427 | <controller> |
---|
| 428 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 429 | <waypoints> |
---|
| 430 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 431 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 432 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 433 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 434 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 435 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 436 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 437 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 438 | </waypoints> |
---|
| 439 | <events> |
---|
| 440 | <activity> |
---|
| 441 | <EventListener event=guard1trigger4 /> |
---|
| 442 | </activity> |
---|
| 443 | </events> |
---|
| 444 | </WaypointPatrolController> |
---|
| 445 | </controller> |
---|
| 446 | </SpaceShip> |
---|
[9735] | 447 | |
---|
[9738] | 448 | <SpaceShip position="17000,5000,21000" lookat="17000,5100,21000" name=secondPatrol visible="true" radarname="Patrol"> |
---|
| 449 | <events> |
---|
| 450 | <visibility> |
---|
| 451 | <EventListener event=guard1trigger4 /> |
---|
| 452 | </visibility> |
---|
| 453 | </events> |
---|
| 454 | <templates> |
---|
| 455 | <Template link=spaceshippirate /> |
---|
| 456 | </templates> |
---|
| 457 | <controller> |
---|
| 458 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 459 | <waypoints> |
---|
| 460 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 461 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 462 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 463 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 464 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 465 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 466 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 467 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 468 | </waypoints> |
---|
| 469 | <events> |
---|
| 470 | <activity> |
---|
| 471 | <EventListener event=guard1trigger4 /> |
---|
| 472 | </activity> |
---|
| 473 | </events> |
---|
| 474 | </WaypointPatrolController> |
---|
| 475 | </controller> |
---|
| 476 | </SpaceShip> |
---|
| 477 | |
---|
| 478 | <SpaceShip position="18000,4000,21000" lookat="17000,4000,21000" name=secondPatrol visible="true" radarname="Patrol"> |
---|
| 479 | <events> |
---|
| 480 | <visibility> |
---|
| 481 | <EventListener event=guard1trigger4 /> |
---|
| 482 | </visibility> |
---|
| 483 | </events> |
---|
| 484 | <templates> |
---|
| 485 | <Template link=spaceshippirate /> |
---|
| 486 | </templates> |
---|
| 487 | <controller> |
---|
| 488 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 489 | <waypoints> |
---|
| 490 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 491 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 492 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 493 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 494 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 495 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 496 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 497 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 498 | </waypoints> |
---|
| 499 | <events> |
---|
| 500 | <activity> |
---|
| 501 | <EventListener event=guard1trigger4 /> |
---|
| 502 | </activity> |
---|
| 503 | </events> |
---|
| 504 | </WaypointPatrolController> |
---|
| 505 | </controller> |
---|
| 506 | </SpaceShip> |
---|
| 507 | |
---|
| 508 | <SpaceShip position="18000,6000,21000" lookat="19000,6000,21000" name=secondPatrol visible="true" radarname="Patrol"> |
---|
| 509 | <events> |
---|
| 510 | <visibility> |
---|
| 511 | <EventListener event=guard1trigger4 /> |
---|
| 512 | </visibility> |
---|
| 513 | </events> |
---|
| 514 | <templates> |
---|
| 515 | <Template link=spaceshippirate /> |
---|
| 516 | </templates> |
---|
| 517 | <controller> |
---|
| 518 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 519 | <waypoints> |
---|
| 520 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 521 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 522 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 523 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 524 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 525 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 526 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 527 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 528 | </waypoints> |
---|
| 529 | <events> |
---|
| 530 | <activity> |
---|
| 531 | <EventListener event=guard1trigger4 /> |
---|
| 532 | </activity> |
---|
| 533 | </events> |
---|
| 534 | </WaypointPatrolController> |
---|
| 535 | </controller> |
---|
| 536 | </SpaceShip> |
---|
| 537 | |
---|
| 538 | |
---|
[9718] | 539 | <!-- ----------------------------------------------------- --> |
---|
| 540 | |
---|
| 541 | <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"/> |
---|
| 542 | |
---|
| 543 | <SpawnPoint team=0 position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow /> |
---|
| 544 | |
---|
| 545 | <!-- triple large belt around the planet --> |
---|
| 546 | <?lua |
---|
| 547 | dofile("includes/asteroidField.lua") |
---|
| 548 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) |
---|
| 549 | ?> |
---|
| 550 | <?lua |
---|
| 551 | dofile("includes/asteroidField.lua") |
---|
| 552 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1) |
---|
| 553 | ?> |
---|
| 554 | <?lua |
---|
| 555 | dofile("includes/asteroidField.lua") |
---|
| 556 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) |
---|
| 557 | ?> |
---|
| 558 | |
---|
[9735] | 559 | <!-- other asteroid fileds --> |
---|
[9718] | 560 | |
---|
[9735] | 561 | <!-- links vor guard 1 --> |
---|
| 562 | <?lua |
---|
| 563 | dofile("includes/asteroidField.lua") |
---|
| 564 | asteroidField(-5000, -5000, -20000, 100, 300, 10000, 50, 1) |
---|
| 565 | ?> |
---|
| 566 | |
---|
| 567 | <!-- links hinter guard 1 --> |
---|
| 568 | <?lua |
---|
| 569 | dofile("includes/asteroidField.lua") |
---|
[9738] | 570 | asteroidField(20000, -10000, -12000, 50, 1000, 10000, 40, 0) |
---|
[9735] | 571 | ?> |
---|
| 572 | |
---|
[9741] | 573 | <!-- zwischen guard 2 & mainship --> |
---|
| 574 | <!-- Kern --> |
---|
| 575 | <?lua |
---|
| 576 | dofile("includes/asteroidField.lua") |
---|
| 577 | asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) |
---|
| 578 | ?> |
---|
| 579 | |
---|
| 580 | <!-- Peripherie --> |
---|
| 581 | <?lua |
---|
| 582 | dofile("includes/asteroidField.lua") |
---|
| 583 | asteroidField(-5000, -10000, 30000, 10, 500, 10000, 20, 0) |
---|
| 584 | ?> |
---|
[9735] | 585 | |
---|
[9741] | 586 | <?lua |
---|
| 587 | dofile("includes/asteroidField.lua") |
---|
| 588 | asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 300, 0, 7850, 150, 0) |
---|
| 589 | ?> |
---|
| 590 | |
---|
| 591 | |
---|
[9718] | 592 | <Planet position="2000,-250,9000" scale=5000 pitch=1 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="3" atmospheresize=224.0f imagesize=1024.0f /> |
---|
| 593 | |
---|
| 594 | |
---|
| 595 | <!-- ----------------Rotating SpaceStation--------------- --> |
---|
| 596 | |
---|
[9735] | 597 | <StaticEntity position="9000,0,0" yaw=112 pitch=67> |
---|
[9718] | 598 | <attached> |
---|
| 599 | <?lua |
---|
| 600 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 601 | ?> |
---|
| 602 | </attached> |
---|
| 603 | </StaticEntity> |
---|
| 604 | |
---|
[9741] | 605 | <StaticEntity position="18000,5000,21000" yaw=12 pitch=75> |
---|
[9735] | 606 | <attached> |
---|
| 607 | <?lua |
---|
| 608 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 609 | ?> |
---|
| 610 | </attached> |
---|
| 611 | </StaticEntity> |
---|
[9718] | 612 | |
---|
[9741] | 613 | <!-- ------------------------- Mainship ------------------ --> |
---|
| 614 | <StaticEntity position="-12000, -22000, 25000" yaw=112 pitch=67> |
---|
| 615 | <attached> |
---|
| 616 | <?lua |
---|
| 617 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 618 | ?> |
---|
| 619 | </attached> |
---|
| 620 | </StaticEntity> |
---|
[9735] | 621 | |
---|
[9741] | 622 | |
---|
[9718] | 623 | </Scene> |
---|
| 624 | </Level> |
---|
| 625 | |
---|