[8178] | 1 | <LevelInfo |
---|
| 2 | name = "Last Man Standing" |
---|
| 3 | description = "Be the sole survivor." |
---|
[9016] | 4 | tags = "gametype" |
---|
| 5 | screenshot = "lastmanstanding.png" |
---|
[8178] | 6 | /> |
---|
| 7 | |
---|
[7556] | 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
[7679] | 10 | include("HUDTemplates3.oxo") |
---|
| 11 | include("templates/lodInformation.oxt") |
---|
| 12 | include("lastManStandingHUD.oxo") |
---|
| 13 | include("templates/spaceshipAssff.oxt") |
---|
| 14 | include("templates/spaceshipPirate.oxt") |
---|
| 15 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[7556] | 16 | ?> |
---|
| 17 | |
---|
| 18 | <Level |
---|
[9016] | 19 | gametype = "LastManStanding" |
---|
[7556] | 20 | > |
---|
| 21 | <templates> |
---|
| 22 | <Template link=lodtemplate_default /> |
---|
| 23 | </templates> |
---|
[8706] | 24 | <?lua include("includes/notifications.oxi") ?> |
---|
[7556] | 25 | |
---|
| 26 | <Scene |
---|
| 27 | ambientlight = "0.8, 0.8, 0.8" |
---|
[7785] | 28 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
[7556] | 29 | > |
---|
[7605] | 30 | |
---|
| 31 | <?lua |
---|
| 32 | include("includes/pickups.oxi") |
---|
| 33 | ?> |
---|
| 34 | |
---|
[9348] | 35 | <!----- Spawnpoints |
---|
[7556] | 36 | <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"/> |
---|
[7561] | 37 | <SpawnPoint team=0 position="-1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 38 | <SpawnPoint team=0 position="1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 39 | <SpawnPoint team=0 position="-700,0,700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 40 | <SpawnPoint team=0 position="700,0,-700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 41 | <SpawnPoint team=0 position="0,0,-1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[7605] | 42 | <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> -----> |
---|
[7561] | 43 | <Bot /> |
---|
[7556] | 44 | |
---|
[7561] | 45 | <!-- ------------ middle asteroid -------------- --> |
---|
[9348] | 46 | <StaticEntity position="0,0,0" collisionType=static> |
---|
[8178] | 47 | <attached> |
---|
| 48 | <MovableEntity position="0,20,0" rotationrate="-4.5" rotationaxis="0,1,0" > |
---|
| 49 | <attached> |
---|
| 50 | <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true /> |
---|
| 51 | <Model position="-160,40,28.4" scale=1 mesh="sphere.mesh" /><!--EasterEgg indicator--> |
---|
[9348] | 52 | <PickupSpawner pickup=hugeinvisiblepickup position="-160,40,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="15" /><!--EasterEgg : invisible pickup is hidden inside the asteroid --> |
---|
[8178] | 53 | </attached> |
---|
| 54 | </MovableEntity> |
---|
| 55 | </attached> |
---|
| 56 | <collisionShapes> |
---|
| 57 | <SphereCollisionShape radius="145" /> |
---|
| 58 | </collisionShapes> |
---|
[7561] | 59 | </StaticEntity> |
---|
| 60 | |
---|
[7605] | 61 | |
---|
[7561] | 62 | <!-- ---------------asteroid dome----------------- --> |
---|
[7556] | 63 | <?lua |
---|
[7617] | 64 | max = 16 |
---|
| 65 | for i = 0, max, 1 |
---|
[7556] | 66 | do |
---|
[7561] | 67 | y = math.sin(i/max*6)*750 |
---|
| 68 | z = math.cos(i/max*6)*750 |
---|
[7617] | 69 | j = 1 |
---|
[7561] | 70 | ?> |
---|
[7556] | 71 | |
---|
[7605] | 72 | <SpawnPoint team=0 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[7600] | 73 | |
---|
[8079] | 74 | <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
[7556] | 75 | <attached> |
---|
[7561] | 76 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
[9348] | 77 | </Model> |
---|
[7556] | 78 | </attached> |
---|
[7585] | 79 | <collisionShapes> |
---|
| 80 | <BoxCollisionShape halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" /> |
---|
| 81 | </collisionShapes> |
---|
[7556] | 82 | </StaticEntity> |
---|
| 83 | |
---|
[8079] | 84 | <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
[7556] | 85 | <attached> |
---|
[7561] | 86 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh"> |
---|
[9348] | 87 | </Model> |
---|
[7556] | 88 | </attached> |
---|
[7585] | 89 | <collisionShapes> |
---|
| 90 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
| 91 | </collisionShapes> |
---|
[7605] | 92 | </StaticEntity> |
---|
[7556] | 93 | |
---|
[8079] | 94 | <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
[7556] | 95 | <attached> |
---|
[7561] | 96 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh"> |
---|
[9348] | 97 | </Model> |
---|
[7556] | 98 | </attached> |
---|
[7585] | 99 | <collisionShapes> |
---|
| 100 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
| 101 | </collisionShapes> |
---|
[7561] | 102 | </StaticEntity> |
---|
[7556] | 103 | |
---|
[8079] | 104 | <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
[7561] | 105 | <attached> |
---|
[7573] | 106 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh"> |
---|
[9348] | 107 | </Model> |
---|
[7561] | 108 | </attached> |
---|
[7585] | 109 | <collisionShapes> |
---|
| 110 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
| 111 | </collisionShapes> |
---|
[7561] | 112 | </StaticEntity> |
---|
[7556] | 113 | |
---|
[8079] | 114 | <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
[7561] | 115 | <attached> |
---|
| 116 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh"> |
---|
[9348] | 117 | </Model> |
---|
[7561] | 118 | </attached> |
---|
[7585] | 119 | <collisionShapes> |
---|
| 120 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
| 121 | </collisionShapes> |
---|
[7561] | 122 | </StaticEntity> |
---|
| 123 | |
---|
[7596] | 124 | <!-- ---------Top Asteroid----------- --> |
---|
[8079] | 125 | <StaticEntity position="<?lua print(y) ?>,300,<?lua print(z) ?>" scale="<?lua print(j * 2.1) ?>" pitch="90" roll="180" yaw="<?lua print(-90+i*360/max) ?>" collisionType=static > |
---|
[7596] | 126 | <attached> |
---|
| 127 | <Model position="0,0,0" scale=25 mesh="ast6.mesh"> |
---|
[9348] | 128 | </Model> |
---|
[7596] | 129 | </attached> |
---|
| 130 | <collisionShapes> |
---|
[7603] | 131 | <BoxCollisionShape halfExtents="50,140,30" position="0,0,0"/> |
---|
[7596] | 132 | </collisionShapes> |
---|
| 133 | </StaticEntity> |
---|
[7573] | 134 | |
---|
| 135 | |
---|
[8178] | 136 | <?lua end ?><!-- ---------------asteroid dome END-------------------> |
---|
[7561] | 137 | |
---|
[7556] | 138 | </Scene> |
---|
| 139 | </Level> |
---|
| 140 | |
---|
[7561] | 141 | |
---|