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