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