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