[10167] | 1 | <!--######################## Level by Jean-Marc Sujata #############################--> |
---|
| 2 | |
---|
[10094] | 3 | <LevelInfo |
---|
[10129] | 4 | name= "Total Annihilation" |
---|
| 5 | description= "Save humanity from its total annihilation." |
---|
[10094] | 6 | tags= "mission" |
---|
| 7 | screenshot= "screenshot.png" |
---|
| 8 | /> |
---|
[10162] | 9 | <!--######################## ALL INCLUSIONS #############################--> |
---|
[10094] | 10 | |
---|
| 11 | <?lua |
---|
| 12 | include("stats.oxo") |
---|
| 13 | include("HUDTemplates3.oxo") |
---|
| 14 | include("templates/lodInformation.oxt") |
---|
[10136] | 15 | include("templates/pickupRepresentationTemplates.oxt") |
---|
| 16 | |
---|
[10094] | 17 | ?> |
---|
| 18 | |
---|
| 19 | |
---|
[10136] | 20 | |
---|
[10094] | 21 | <?lua |
---|
| 22 | include("templates/spaceshipSwallow.oxt") |
---|
| 23 | include("templates/spaceshipPirate.oxt") |
---|
| 24 | include("templates/spaceshipEscort.oxt") |
---|
| 25 | include("templates/spaceshipGhost.oxt") |
---|
| 26 | include("templates/spaceshipCollateralDamage.oxt") |
---|
| 27 | include("templates/spaceshipAssff.oxt") |
---|
| 28 | include("templates/spaceshipAssff2.oxt") |
---|
[10103] | 29 | include("templates/spaceshipTransporter.oxt") |
---|
| 30 | |
---|
[10136] | 31 | |
---|
[10094] | 32 | ?> |
---|
| 33 | |
---|
| 34 | <Level gametype = "Mission" > |
---|
| 35 | |
---|
| 36 | <templates> |
---|
| 37 | <Template link=lodtemplate_default /> |
---|
| 38 | </templates> |
---|
| 39 | <?lua include("includes/notifications.oxi") ?> |
---|
| 40 | |
---|
[10103] | 41 | <NotificationQueueCEGUI |
---|
| 42 | name="narrative" |
---|
| 43 | targets="simpleNotification" |
---|
| 44 | size=8 |
---|
| 45 | displayTime=4 |
---|
| 46 | position="0.2, 0, 0.1, 0" |
---|
| 47 | fontSize="23" |
---|
| 48 | fontColor="0.8, 0.5, 0.2, 0.8" |
---|
[11802] | 49 | alignment="CentreAligned" |
---|
[10103] | 50 | displaySize="0.6, 0, 0, 0" |
---|
| 51 | /> |
---|
[10094] | 52 | |
---|
| 53 | |
---|
| 54 | <?lua |
---|
| 55 | dofile("includes/CuboidSpaceStation.lua") |
---|
| 56 | ?> |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | <Scene |
---|
| 61 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 62 | skybox = "Orxonox/Starbox" |
---|
| 63 | hasPhysics = true |
---|
| 64 | > |
---|
[10136] | 65 | |
---|
| 66 | <?lua |
---|
| 67 | include("includes/pickups.oxi") |
---|
| 68 | ?> |
---|
[10094] | 69 | |
---|
| 70 | <Light |
---|
| 71 | type=directional position="0,0,0" |
---|
| 72 | direction="0.522, 0.198, -0.354" |
---|
| 73 | diffuse="1.0, 0.9, 0.9, 1.0" |
---|
| 74 | specular="1.0, 0.9, 0.9, 1.0"/> |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | <SpawnPoint |
---|
[10162] | 78 | team=0 position="0,0,0" |
---|
[10108] | 79 | lookat="0,1,0" |
---|
[10094] | 80 | spawnclass=SpaceShip |
---|
[10108] | 81 | pawndesign=spaceshipassff > |
---|
| 82 | <DistanceTriggerBeacon name="coolSpaceship" /> |
---|
| 83 | </SpawnPoint> |
---|
[10094] | 84 | |
---|
| 85 | <Template name=PortalDefault> |
---|
| 86 | <PortalEndPoint> |
---|
| 87 | <attached> |
---|
| 88 | <Model mesh="Spacegate.mesh" yaw="90"/> |
---|
| 89 | </attached> |
---|
| 90 | </PortalEndPoint> |
---|
| 91 | </Template> |
---|
[10103] | 92 | |
---|
| 93 | |
---|
| 94 | |
---|
[10162] | 95 | |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | <!--######################## Billboards and Pickups #############################--> |
---|
[10103] | 100 | |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | <!--Billboard which tirggers the next Quest and spawns the enemy ships--> |
---|
[10108] | 106 | <Billboard position=" 500,500, 500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 107 | <Billboard position=" 1500,1500, 1500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 108 | <Billboard position=" 2500,2500, 2500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 109 | <Billboard position=" 3500,3500, 3500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 110 | <Billboard position=" 4500,4500, 4500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 111 | <Billboard position=" 6500,6500, 6500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 112 | <Billboard position=" 8500,8500, 8500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> |
---|
| 113 | <Billboard position=" 9500,9500, 9500" material="Examples/Flare" colour="1.0, 1.0, 0.0" /> |
---|
[10162] | 114 | <Billboard position=" 16700,16700,16700" material="Examples/Flare" colour="0.8, 0.2, 1.0" /> |
---|
[10108] | 115 | |
---|
| 116 | |
---|
[10136] | 117 | <!--#########Pickups##########--> |
---|
| 118 | |
---|
[10148] | 119 | <PickupSpawner pickup=largedamageboostpickup position="1000,1000,1000" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" /> |
---|
[10136] | 120 | <PickupSpawner pickup=crazyhealthpickup position="3500,3500, 3500" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" /> |
---|
[10148] | 121 | <PickupSpawner pickup=hugeshieldpickup position="4000,4500, 4500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" /> |
---|
[10136] | 122 | <PickupSpawner pickup=smalljumppickup position="6500,6500, 6000" triggerDistance="20" respawnTime="10" maxSpawnedItems="99" /> |
---|
| 123 | <PickupSpawner pickup=largedamageboostpickup position="9500,9500, 9500" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" /> |
---|
[10148] | 124 | <PickupSpawner pickup=largedamageboostpickup position="13000,13000,13000" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" /> |
---|
[10136] | 125 | |
---|
[10103] | 126 | |
---|
[10108] | 127 | <!--******************************-Mission starts here****************************--> |
---|
| 128 | |
---|
| 129 | |
---|
[10162] | 130 | <!--######################## On screen notifications and distance triggers #############################--> |
---|
[10108] | 131 | |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=40 stayActive="true" delay=7/> |
---|
| 135 | <SimpleNotification message="in order to reach our fleet,"> |
---|
| 136 | <events> |
---|
| 137 | <trigger> |
---|
| 138 | <EventListener event="flying2" /> |
---|
| 139 | </trigger> |
---|
| 140 | </events> |
---|
| 141 | </SimpleNotification> |
---|
| 142 | |
---|
| 143 | |
---|
| 144 | <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=7/> |
---|
| 145 | <SimpleNotification message="read the quest description"> |
---|
| 146 | <events> |
---|
| 147 | <trigger> |
---|
| 148 | <EventListener event="flying2" /> |
---|
| 149 | </trigger> |
---|
| 150 | </events> |
---|
| 151 | </SimpleNotification> |
---|
| 152 | |
---|
| 153 | <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=1/> |
---|
[10136] | 154 | <SimpleNotification message="Welcome Major Walker"> |
---|
[10108] | 155 | <events> |
---|
| 156 | <trigger> |
---|
| 157 | <EventListener event="flying1" /> |
---|
| 158 | </trigger> |
---|
| 159 | </events> |
---|
| 160 | </SimpleNotification> |
---|
| 161 | |
---|
| 162 | <DistanceTrigger name="flying3" position="500,500,500" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 163 | <SimpleNotification message="follow the red dots"> |
---|
| 164 | <events> |
---|
| 165 | <trigger> |
---|
| 166 | <EventListener event="flying3" /> |
---|
| 167 | </trigger> |
---|
| 168 | </events> |
---|
| 169 | </SimpleNotification> |
---|
| 170 | |
---|
[10136] | 171 | |
---|
| 172 | <DistanceTrigger name="flying6" position="1000,1000,1000" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 173 | <SimpleNotification message="Major! You can't face the enemy yet"> |
---|
| 174 | <events> |
---|
| 175 | <trigger> |
---|
| 176 | <EventListener event="flying6" /> |
---|
| 177 | </trigger> |
---|
| 178 | </events> |
---|
| 179 | </SimpleNotification> |
---|
| 180 | |
---|
| 181 | <DistanceTrigger name="flying7" position="1060,1060,1060" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 182 | <SimpleNotification message="You'll ned to get some upgrades first"> |
---|
| 183 | <events> |
---|
| 184 | <trigger> |
---|
| 185 | <EventListener event="flying7" /> |
---|
| 186 | </trigger> |
---|
| 187 | </events> |
---|
| 188 | </SimpleNotification> |
---|
| 189 | |
---|
| 190 | <DistanceTrigger name="flying8" position="1110,1110,1110" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 191 | <SimpleNotification message="You can find them close to the signals"> |
---|
| 192 | <events> |
---|
| 193 | <trigger> |
---|
| 194 | <EventListener event="flying8" /> |
---|
| 195 | </trigger> |
---|
| 196 | </events> |
---|
| 197 | </SimpleNotification> |
---|
| 198 | |
---|
| 199 | <DistanceTrigger name="flying9" position="6500,6500,6000" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 200 | <SimpleNotification message="You're almost here!"> |
---|
| 201 | <events> |
---|
| 202 | <trigger> |
---|
| 203 | <EventListener event="flying9" /> |
---|
| 204 | </trigger> |
---|
| 205 | </events> |
---|
| 206 | </SimpleNotification> |
---|
| 207 | |
---|
[10129] | 208 | <DistanceTrigger name="flying4" position="9500,9500,9500" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 209 | <SimpleNotification message="You're late!"> |
---|
| 210 | <events> |
---|
| 211 | <trigger> |
---|
| 212 | <EventListener event="flying4" /> |
---|
| 213 | </trigger> |
---|
| 214 | </events> |
---|
| 215 | </SimpleNotification> |
---|
[10108] | 216 | |
---|
| 217 | |
---|
[10129] | 218 | <DistanceTrigger name="flying5" position="9550,9550,9550" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
| 219 | <SimpleNotification message="The enemy is eager to be beaten"> |
---|
| 220 | <events> |
---|
| 221 | <trigger> |
---|
| 222 | <EventListener event="flying5" /> |
---|
| 223 | </trigger> |
---|
| 224 | </events> |
---|
| 225 | </SimpleNotification> |
---|
| 226 | |
---|
[10148] | 227 | <DistanceTrigger name="flying11" position="13000,13000,13000" target="Pawn" distance=200 stayActive="true" delay=1/> |
---|
| 228 | <SimpleNotification message="There they are. Destroy them!"> |
---|
| 229 | <events> |
---|
| 230 | <trigger> |
---|
| 231 | <EventListener event="flying11" /> |
---|
| 232 | </trigger> |
---|
| 233 | </events> |
---|
| 234 | </SimpleNotification> |
---|
[10129] | 235 | |
---|
[10162] | 236 | <DistanceTrigger name="flying12" position="13050,13050,13050" target="Pawn" distance=200 stayActive="true" delay=1/> |
---|
| 237 | <SimpleNotification message="Don't fotget to loot the final boss"> |
---|
| 238 | <events> |
---|
| 239 | <trigger> |
---|
| 240 | <EventListener event="flying12" /> |
---|
| 241 | </trigger> |
---|
| 242 | </events> |
---|
| 243 | </SimpleNotification> |
---|
[10136] | 244 | |
---|
[10162] | 245 | <SimpleNotification message="Congratulations! You saved humanity!" broadcast="true"> |
---|
| 246 | <events> |
---|
| 247 | <trigger> |
---|
| 248 | <EventListener event="endboss" /> |
---|
| 249 | </trigger> |
---|
| 250 | </events> |
---|
[10148] | 251 | </SimpleNotification> |
---|
[10136] | 252 | |
---|
[10162] | 253 | <DistanceTrigger name="endMissio" position="16700,16700,16700" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
[10136] | 254 | |
---|
| 255 | |
---|
[10162] | 256 | |
---|
| 257 | |
---|
| 258 | <!--######################## Meteoriten #############################--> |
---|
| 259 | |
---|
[10103] | 260 | <?lua |
---|
[10108] | 261 | for i = 1, 800, 1 |
---|
[10103] | 262 | do |
---|
| 263 | j = math.random() |
---|
| 264 | x = math.random() |
---|
| 265 | y = math.random() |
---|
| 266 | z = math.random() |
---|
| 267 | ?> |
---|
[10094] | 268 | |
---|
[10103] | 269 | <MovableEntity |
---|
[10108] | 270 | position = "<?lua print(math.random()* 10000) ?>,<?lua print(math.random() * 10000 + 0) ?>,<?lua print(math.random() * 10000) ?>" |
---|
[10103] | 271 | scale = "<?lua print(j * 40)?>" |
---|
[10108] | 272 | velocity = "0,0,0" |
---|
[10103] | 273 | collisionType = dynamic |
---|
| 274 | collisiondamage = 0.5 |
---|
| 275 | enablecollisiondamage = true |
---|
| 276 | active = true |
---|
| 277 | visible = true |
---|
| 278 | > |
---|
| 279 | <attached> |
---|
| 280 | <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" > |
---|
| 281 | |
---|
| 282 | </Model> |
---|
| 283 | </attached> |
---|
| 284 | <collisionShapes> |
---|
| 285 | <SphereCollisionShape radius="<?lua print(j * 50) ?>" /> |
---|
| 286 | </collisionShapes> |
---|
| 287 | </MovableEntity> |
---|
[10094] | 288 | |
---|
[10103] | 289 | <?lua |
---|
| 290 | end |
---|
| 291 | ?> |
---|
[10108] | 292 | <!--****************************In the Asteroid Field***************************--> |
---|
| 293 | <!--Enemy team--> |
---|
| 294 | |
---|
[10162] | 295 | <!--######################## spaceships within the asteroid field #############################--> |
---|
| 296 | |
---|
[10108] | 297 | |
---|
[10136] | 298 | <SpaceShip position="1900,1500,1500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" > |
---|
[10108] | 299 | <templates> |
---|
| 300 | <Template link=spaceshipassff /> |
---|
| 301 | </templates> |
---|
| 302 | <controller> |
---|
| 303 | <WaypointPatrolController alertnessradius=300 team=1 > |
---|
| 304 | <waypoints> |
---|
| 305 | <Model mesh="cube.mesh" scale=0 position="1000,1500,1500" /> |
---|
| 306 | <Model mesh="cube.mesh" scale=0 position="1900,1500,1500" /> |
---|
[10136] | 307 | |
---|
[10108] | 308 | </waypoints> |
---|
| 309 | |
---|
| 310 | </WaypointPatrolController> |
---|
[10103] | 311 | |
---|
[10108] | 312 | </controller> |
---|
| 313 | |
---|
| 314 | </SpaceShip> |
---|
| 315 | |
---|
[10162] | 316 | |
---|
[10136] | 317 | <SpaceShip position="2900,2500,2500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" > |
---|
[10108] | 318 | <templates> |
---|
| 319 | <Template link=spaceshippirate /> |
---|
| 320 | </templates> |
---|
| 321 | <controller> |
---|
| 322 | <WaypointPatrolController alertnessradius=300 team=1 > |
---|
| 323 | <waypoints> |
---|
| 324 | <Model mesh="cube.mesh" scale=0 position="2000,2500,2500" /> |
---|
| 325 | <Model mesh="cube.mesh" scale=0 position="2900,2500,2500" /> |
---|
[10136] | 326 | |
---|
[10108] | 327 | </waypoints> |
---|
| 328 | |
---|
| 329 | </WaypointPatrolController> |
---|
[10103] | 330 | |
---|
[10108] | 331 | </controller> |
---|
| 332 | |
---|
| 333 | </SpaceShip> |
---|
| 334 | |
---|
[10136] | 335 | <SpaceShip position="2020,2400,2500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" > |
---|
[10108] | 336 | <templates> |
---|
| 337 | <Template link=spaceshippirate /> |
---|
| 338 | </templates> |
---|
| 339 | <controller> |
---|
| 340 | <WaypointPatrolController alertnessradius=300 team=1 > |
---|
| 341 | <waypoints> |
---|
| 342 | |
---|
| 343 | <Model mesh="cube.mesh" scale=0 position="2920,2500,2500" /> |
---|
| 344 | <Model mesh="cube.mesh" scale=0 position="2020,2500,2500" /> |
---|
[10136] | 345 | |
---|
[10108] | 346 | </waypoints> |
---|
| 347 | |
---|
| 348 | </WaypointPatrolController> |
---|
[10103] | 349 | |
---|
[10108] | 350 | </controller> |
---|
| 351 | |
---|
| 352 | </SpaceShip> |
---|
| 353 | |
---|
[10148] | 354 | <SpaceShip position="3520,3520, 3500" lookat="2050,0,-1000" name="allied" health="150" maxhealth="150" initialhealth="150" > |
---|
| 355 | <templates> |
---|
| 356 | <Template link=spaceshippirate /> |
---|
| 357 | </templates> |
---|
| 358 | <controller> |
---|
| 359 | <WaypointPatrolController alertnessradius=300 team=1 > |
---|
| 360 | <waypoints> |
---|
| 361 | |
---|
| 362 | <Model mesh="cube.mesh" scale=0 position="3920,3500,3500" /> |
---|
| 363 | <Model mesh="cube.mesh" scale=0 position="3020,3500,3500" /> |
---|
| 364 | |
---|
| 365 | </waypoints> |
---|
| 366 | |
---|
| 367 | </WaypointPatrolController> |
---|
| 368 | |
---|
| 369 | </controller> |
---|
| 370 | |
---|
| 371 | </SpaceShip> |
---|
[10162] | 372 | |
---|
[10103] | 373 | <!--****************************After the Asteroid Field***************************--> |
---|
| 374 | |
---|
[10136] | 375 | <DistanceTrigger name="afterPortal" position="9500,9500, 9500" target="Pawn" distance=50 stayActive="true" delay=1/> |
---|
[10108] | 376 | |
---|
[10103] | 377 | |
---|
| 378 | <!--Creating player's team OK--> |
---|
| 379 | <!--Spaceships team 0 (player:team=0)--> |
---|
[10148] | 380 | |
---|
| 381 | |
---|
[10162] | 382 | <!--####################################### allied team ################################################--> |
---|
[10148] | 383 | |
---|
[10108] | 384 | |
---|
[10129] | 385 | |
---|
| 386 | |
---|
| 387 | |
---|
| 388 | <SpaceShip position="10150,10150,10150" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 389 | <templates> |
---|
| 390 | <Template link=spaceshipassff /> |
---|
| 391 | </templates> |
---|
| 392 | <controller> |
---|
| 393 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 394 | <events> |
---|
| 395 | <activity> |
---|
| 396 | <EventListener event="afterPortal" /> |
---|
| 397 | </activity> |
---|
| 398 | </events> |
---|
| 399 | <waypoints> |
---|
[10136] | 400 | <Model mesh="cube.mesh" scale=0 position="15150,15150,15150" /> |
---|
[10129] | 401 | |
---|
| 402 | </waypoints> |
---|
| 403 | |
---|
| 404 | </WaypointPatrolController> |
---|
| 405 | |
---|
| 406 | </controller> |
---|
| 407 | </SpaceShip> |
---|
| 408 | |
---|
| 409 | |
---|
| 410 | <SpaceShip position="10300,10000,10300" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 411 | <templates> |
---|
| 412 | <Template link=spaceshipassff /> |
---|
| 413 | </templates> |
---|
| 414 | <controller> |
---|
| 415 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 416 | <events> |
---|
| 417 | <activity> |
---|
| 418 | <EventListener event="afterPortal" /> |
---|
| 419 | </activity> |
---|
| 420 | </events> |
---|
| 421 | <waypoints> |
---|
[10136] | 422 | <Model mesh="cube.mesh" scale=0 position="15300,15300,15300" /> |
---|
[10129] | 423 | |
---|
| 424 | </waypoints> |
---|
| 425 | |
---|
| 426 | </WaypointPatrolController> |
---|
| 427 | |
---|
| 428 | </controller> |
---|
| 429 | </SpaceShip> |
---|
| 430 | |
---|
| 431 | <SpaceShip position="10450,10000,10300" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 432 | <templates> |
---|
| 433 | <Template link=spaceshipassff /> |
---|
| 434 | </templates> |
---|
| 435 | <controller> |
---|
| 436 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 437 | <events> |
---|
| 438 | <activity> |
---|
| 439 | <EventListener event="afterPortal" /> |
---|
| 440 | </activity> |
---|
| 441 | </events> |
---|
| 442 | <waypoints> |
---|
[10136] | 443 | <Model mesh="cube.mesh" scale=0 position="15450,15000,15300" /> |
---|
[10129] | 444 | |
---|
| 445 | </waypoints> |
---|
| 446 | |
---|
| 447 | </WaypointPatrolController> |
---|
| 448 | |
---|
| 449 | </controller> |
---|
| 450 | </SpaceShip> |
---|
| 451 | |
---|
| 452 | <SpaceShip position="10450,10000,10450" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 453 | <templates> |
---|
| 454 | <Template link=spaceshipassff /> |
---|
| 455 | </templates> |
---|
| 456 | <controller> |
---|
| 457 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 458 | <events> |
---|
| 459 | <activity> |
---|
| 460 | <EventListener event="afterPortal" /> |
---|
| 461 | </activity> |
---|
| 462 | </events> |
---|
| 463 | <waypoints> |
---|
[10136] | 464 | <Model mesh="cube.mesh" scale=0 position="15450,15000,15450" /> |
---|
[10129] | 465 | |
---|
| 466 | </waypoints> |
---|
| 467 | |
---|
| 468 | </WaypointPatrolController> |
---|
| 469 | |
---|
| 470 | </controller> |
---|
| 471 | </SpaceShip> |
---|
| 472 | |
---|
| 473 | |
---|
| 474 | <SpaceShip position="10300,10000,9850" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 475 | <templates> |
---|
| 476 | <Template link=spaceshipassff /> |
---|
| 477 | </templates> |
---|
| 478 | <controller> |
---|
| 479 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 480 | <events> |
---|
| 481 | <activity> |
---|
| 482 | <EventListener event="afterPortal" /> |
---|
| 483 | </activity> |
---|
| 484 | </events> |
---|
| 485 | <waypoints> |
---|
[10148] | 486 | <Model mesh="cube.mesh" scale=0 position="17300,17000,17850" /> |
---|
[10129] | 487 | |
---|
| 488 | </waypoints> |
---|
| 489 | |
---|
| 490 | </WaypointPatrolController> |
---|
| 491 | |
---|
| 492 | </controller> |
---|
| 493 | </SpaceShip> |
---|
| 494 | |
---|
| 495 | <SpaceShip position="10150,10000,9700" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 496 | <templates> |
---|
| 497 | <Template link=spaceshipassff /> |
---|
| 498 | </templates> |
---|
| 499 | <controller> |
---|
| 500 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 501 | <events> |
---|
| 502 | <activity> |
---|
| 503 | <EventListener event="afterPortal" /> |
---|
| 504 | </activity> |
---|
| 505 | </events> |
---|
| 506 | <waypoints> |
---|
[10148] | 507 | <Model mesh="cube.mesh" scale=0 position="17150,17000,17700" /> |
---|
[10129] | 508 | |
---|
| 509 | </waypoints> |
---|
| 510 | |
---|
| 511 | </WaypointPatrolController> |
---|
| 512 | |
---|
| 513 | </controller> |
---|
| 514 | </SpaceShip> |
---|
| 515 | |
---|
| 516 | <SpaceShip position="10300,10000,9700" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" > |
---|
| 517 | <templates> |
---|
| 518 | <Template link=spaceshipassff /> |
---|
| 519 | </templates> |
---|
| 520 | <controller> |
---|
| 521 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 522 | <events> |
---|
| 523 | <activity> |
---|
| 524 | <EventListener event="afterPortal" /> |
---|
| 525 | </activity> |
---|
| 526 | </events> |
---|
| 527 | <waypoints> |
---|
[10148] | 528 | <Model mesh="cube.mesh" scale=0 position="17300,17000,17700" /> |
---|
[10129] | 529 | |
---|
| 530 | </waypoints> |
---|
| 531 | |
---|
| 532 | </WaypointPatrolController> |
---|
| 533 | |
---|
| 534 | </controller> |
---|
| 535 | </SpaceShip> |
---|
| 536 | |
---|
[10103] | 537 | <!--Creating player's team END --> |
---|
| 538 | |
---|
[10162] | 539 | <!--#########################################Creating enemy team END ################################# --> |
---|
[10103] | 540 | |
---|
| 541 | |
---|
[10162] | 542 | <SpaceShip position="15500,15500,15500" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
[10136] | 543 | <templates> |
---|
| 544 | <Template link=spaceshipghost /> |
---|
| 545 | </templates> |
---|
| 546 | <controller> |
---|
| 547 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 548 | <waypoints> |
---|
| 549 | <Model mesh="cube.mesh" scale=0 position="15500,15500,15500" /> |
---|
[10103] | 550 | |
---|
[10136] | 551 | </waypoints> |
---|
| 552 | |
---|
| 553 | </WaypointPatrolController> |
---|
| 554 | |
---|
| 555 | </controller> |
---|
| 556 | </SpaceShip> |
---|
| 557 | |
---|
| 558 | |
---|
[10162] | 559 | <SpaceShip position="15750,15500,15750" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
[10136] | 560 | <templates> |
---|
| 561 | <Template link=spaceshipghost /> |
---|
| 562 | </templates> |
---|
| 563 | <controller> |
---|
| 564 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 565 | <waypoints> |
---|
| 566 | <Model mesh="cube.mesh" scale=0 position="15750,15500,15750" /> |
---|
| 567 | |
---|
| 568 | </waypoints> |
---|
| 569 | |
---|
| 570 | </WaypointPatrolController> |
---|
| 571 | |
---|
| 572 | </controller> |
---|
| 573 | </SpaceShip> |
---|
[10162] | 574 | <SpaceShip position="16000,15500,16000" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
[10136] | 575 | <templates> |
---|
| 576 | <Template link=spaceshipghost /> |
---|
| 577 | </templates> |
---|
| 578 | <controller> |
---|
| 579 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 580 | <waypoints> |
---|
| 581 | <Model mesh="cube.mesh" scale=0 position="16000,15500,16000" /> |
---|
| 582 | |
---|
| 583 | </waypoints> |
---|
| 584 | |
---|
| 585 | </WaypointPatrolController> |
---|
| 586 | |
---|
| 587 | |
---|
| 588 | </controller> |
---|
| 589 | </SpaceShip> |
---|
| 590 | |
---|
| 591 | |
---|
| 592 | |
---|
[10148] | 593 | <SpaceShip position="15250,15500,15250" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
[10136] | 594 | <templates> |
---|
| 595 | <Template link=spaceshipghost /> |
---|
| 596 | </templates> |
---|
| 597 | <controller> |
---|
| 598 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 599 | <waypoints> |
---|
| 600 | <Model mesh="cube.mesh" scale=0 position="15250,15500,15250" /> |
---|
| 601 | |
---|
| 602 | </waypoints> |
---|
| 603 | |
---|
| 604 | </WaypointPatrolController> |
---|
| 605 | |
---|
| 606 | </controller> |
---|
| 607 | </SpaceShip> |
---|
| 608 | |
---|
| 609 | |
---|
| 610 | |
---|
[10148] | 611 | <SpaceShip position="15000,15500,15000" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
[10136] | 612 | <templates> |
---|
| 613 | <Template link=spaceshipghost /> |
---|
| 614 | </templates> |
---|
| 615 | <controller> |
---|
| 616 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 617 | <waypoints> |
---|
| 618 | <Model mesh="cube.mesh" scale=0 position="15000,15500,15000" /> |
---|
| 619 | |
---|
| 620 | </waypoints> |
---|
| 621 | |
---|
| 622 | </WaypointPatrolController> |
---|
| 623 | |
---|
| 624 | </controller> |
---|
| 625 | </SpaceShip> |
---|
| 626 | |
---|
| 627 | |
---|
| 628 | |
---|
[10148] | 629 | <SpaceShip position="15500,15500,15750" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
[10136] | 630 | <templates> |
---|
| 631 | <Template link=spaceshipghost /> |
---|
| 632 | </templates> |
---|
| 633 | <controller> |
---|
| 634 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 635 | <waypoints> |
---|
| 636 | <Model mesh="cube.mesh" scale=0 position="15500,15500,15750" /> |
---|
| 637 | |
---|
| 638 | </waypoints> |
---|
| 639 | |
---|
| 640 | </WaypointPatrolController> |
---|
| 641 | |
---|
| 642 | </controller> |
---|
| 643 | </SpaceShip> |
---|
| 644 | |
---|
[10148] | 645 | <SpaceShip position="16000,15500,16250" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" > |
---|
| 646 | <templates> |
---|
| 647 | <Template link=spaceshipghost /> |
---|
| 648 | </templates> |
---|
| 649 | <controller> |
---|
| 650 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 651 | <waypoints> |
---|
| 652 | <Model mesh="cube.mesh" scale=0 position="16000,15500,16250" /> |
---|
| 653 | |
---|
| 654 | </waypoints> |
---|
| 655 | |
---|
| 656 | </WaypointPatrolController> |
---|
| 657 | |
---|
| 658 | </controller> |
---|
| 659 | </SpaceShip> |
---|
| 660 | |
---|
| 661 | <SpaceShip position="16500,16500,16500" lookat="2050,0,-1000" name="endboss" health="800" maxhealth="800" initialhealth="800" > |
---|
| 662 | <templates> |
---|
| 663 | <Template link=spaceshipTransporter /> |
---|
| 664 | </templates> |
---|
| 665 | <controller> |
---|
| 666 | <WaypointPatrolController alertnessradius=2000 team=1 > |
---|
| 667 | <waypoints> |
---|
| 668 | <Model mesh="cube.mesh" scale=0 position="16500,16500,16500" /> |
---|
| 669 | |
---|
| 670 | </waypoints> |
---|
| 671 | |
---|
| 672 | </WaypointPatrolController> |
---|
| 673 | |
---|
| 674 | </controller> |
---|
| 675 | </SpaceShip> |
---|
| 676 | |
---|
[10162] | 677 | <!-- ##################### End the Mission (success) ##########################################--> |
---|
| 678 | |
---|
| 679 | |
---|
| 680 | |
---|
| 681 | |
---|
| 682 | <Script code="Mission endMission true" onLoad="false"> |
---|
| 683 | <events> |
---|
| 684 | <trigger> |
---|
| 685 | <EventListener event="endMissio" /> |
---|
| 686 | </trigger> |
---|
| 687 | </events> |
---|
| 688 | </Script> |
---|
[10136] | 689 | |
---|
[10162] | 690 | <!--######################## Quests #############################--> |
---|
[10103] | 691 | |
---|
| 692 | |
---|
| 693 | <QuestEffectBeacon times=1> |
---|
| 694 | <effects> |
---|
| 695 | <AddQuest questId="quest0" /> |
---|
| 696 | <AddQuestHint hintId ="quest1hint2" /> |
---|
| 697 | <AddQuestHint hintId ="quest1hint3" /> |
---|
| 698 | </effects> |
---|
| 699 | <events> |
---|
| 700 | <execute> |
---|
| 701 | <EventListener event=spawntrigger /> |
---|
| 702 | </execute> |
---|
| 703 | </events> |
---|
| 704 | </QuestEffectBeacon> |
---|
| 705 | |
---|
| 706 | |
---|
| 707 | |
---|
| 708 | <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> |
---|
| 709 | |
---|
| 710 | <GlobalQuest id="quest0"> |
---|
[10108] | 711 | <QuestDescription title="Mission" description="Humanity is at war! Recently, an ashrocian ship attacked two transporters carrying highly expensive ETHium. Despite the fact, that the Ashrocs are a technological superpower, we, the human race cannot allow them to treat us like insects. Your mission's to group up with yout fellow soldiers and retaliate even harder. Follow the red marks which were left by the star fleet. But beware, there might be spies on your way. See to it, that you terminate their mission ;)" /> |
---|
[10103] | 712 | <hints> |
---|
| 713 | <QuestHint id="quest1hint0"> |
---|
| 714 | <QuestDescription title="The super Hint." description="Be proud of yourself." /> |
---|
| 715 | </QuestHint> |
---|
| 716 | </hints> |
---|
| 717 | </GlobalQuest> |
---|
| 718 | |
---|
| 719 | |
---|
| 720 | |
---|
| 721 | <DistanceTrigger name=QuestTrigger0 position="0,0,0" distance=10 target="Pawn" /> |
---|
| 722 | |
---|
| 723 | |
---|
| 724 | |
---|
| 725 | <QuestEffectBeacon times=1> |
---|
| 726 | <effects> |
---|
| 727 | <AddQuest questId="quest0" /> |
---|
| 728 | <AddQuestHint hintId ="quest1hint2" /> |
---|
| 729 | <AddQuestHint hintId ="quest1hint3" /> |
---|
| 730 | </effects> |
---|
| 731 | <events> |
---|
| 732 | <execute> |
---|
| 733 | <EventListener event=QuestTrigger0 /> |
---|
| 734 | </execute> |
---|
| 735 | </events> |
---|
| 736 | </QuestEffectBeacon> |
---|
| 737 | |
---|
| 738 | |
---|
| 739 | |
---|
| 740 | |
---|
| 741 | |
---|
| 742 | |
---|
| 743 | |
---|
| 744 | |
---|
[10094] | 745 | |
---|
| 746 | |
---|
| 747 | |
---|
| 748 | |
---|
| 749 | </Scene> |
---|
[10167] | 750 | </Level> |
---|