[7556] | 1 | <?lua |
---|
| 2 | include("stats.oxo") |
---|
| 3 | include("hudtemplates3.oxo") |
---|
| 4 | include("templates/lodinformation.oxt") |
---|
[7579] | 5 | include("lastmanstandinghud.oxo") |
---|
[7556] | 6 | ?> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
| 9 | include("templates/spaceship_assff.oxt") |
---|
| 10 | include("templates/spaceship_pirate.oxt") |
---|
| 11 | ?> |
---|
| 12 | |
---|
| 13 | <Level |
---|
| 14 | name = "Last Man Standing" |
---|
| 15 | description = "testmap for gametype last man standing" |
---|
| 16 | gametype = "LastManStanding" |
---|
| 17 | > |
---|
| 18 | <templates> |
---|
| 19 | <Template link=lodtemplate_default /> |
---|
| 20 | </templates> |
---|
| 21 | |
---|
| 22 | <Scene |
---|
| 23 | ambientlight = "0.8, 0.8, 0.8" |
---|
[7561] | 24 | skybox = "Orxonox/skypanoramagen1" |
---|
[7556] | 25 | > |
---|
| 26 | <!----- Spawnpoints -----> |
---|
| 27 | <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] | 28 | <SpawnPoint team=0 position="-1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 29 | <SpawnPoint team=0 position="1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 30 | <SpawnPoint team=0 position="-700,0,700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 31 | <SpawnPoint team=0 position="700,0,-700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 32 | <SpawnPoint team=0 position="0,0,-1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 33 | <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 34 | <Bot /> |
---|
[7556] | 35 | |
---|
[7561] | 36 | <!-- ------------ middle asteroid -------------- --> |
---|
| 37 | <StaticEntity position="0,20,0"> |
---|
| 38 | <attached> |
---|
| 39 | <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true /> |
---|
[7573] | 40 | <!-- ParticleEmitter position="0,0,0" source="Orxonox/Steam" / --> |
---|
[7561] | 41 | </attached> |
---|
| 42 | </StaticEntity> |
---|
[7573] | 43 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 44 | <collisionShapes> |
---|
| 45 | <SphereCollisionShape radius="145" /> |
---|
| 46 | </collisionShapes> |
---|
| 47 | </StaticEntity> |
---|
[7561] | 48 | |
---|
| 49 | <!-- ---------------asteroid dome----------------- --> |
---|
[7556] | 50 | <?lua |
---|
[7561] | 51 | max = 17 |
---|
| 52 | for i = 1, max, 1 |
---|
[7556] | 53 | do |
---|
[7561] | 54 | y = math.sin(i/max*6)*750 |
---|
| 55 | z = math.cos(i/max*6)*750 |
---|
| 56 | x = i*10 |
---|
| 57 | ?> |
---|
| 58 | <?lua |
---|
| 59 | for k = 1, 25, 1 |
---|
| 60 | do |
---|
[7556] | 61 | j = math.random() |
---|
| 62 | ?> |
---|
| 63 | |
---|
[7561] | 64 | <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> > |
---|
[7556] | 65 | <attached> |
---|
[7561] | 66 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
| 67 | </Model> |
---|
[7556] | 68 | </attached> |
---|
| 69 | </StaticEntity> |
---|
| 70 | |
---|
[7561] | 71 | <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> > |
---|
[7556] | 72 | <attached> |
---|
[7561] | 73 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh"> |
---|
| 74 | </Model> |
---|
[7556] | 75 | </attached> |
---|
[7561] | 76 | </StaticEntity># |
---|
[7556] | 77 | |
---|
[7561] | 78 | <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> > |
---|
[7556] | 79 | <attached> |
---|
[7561] | 80 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh"> |
---|
| 81 | </Model> |
---|
[7556] | 82 | </attached> |
---|
[7561] | 83 | </StaticEntity> |
---|
[7556] | 84 | |
---|
[7561] | 85 | <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> > |
---|
| 86 | <attached> |
---|
[7573] | 87 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh"> |
---|
[7561] | 88 | </Model> |
---|
| 89 | </attached> |
---|
| 90 | </StaticEntity> |
---|
[7556] | 91 | |
---|
[7561] | 92 | <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> > |
---|
| 93 | <attached> |
---|
| 94 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh"> |
---|
| 95 | </Model> |
---|
| 96 | </attached> |
---|
| 97 | </StaticEntity> |
---|
| 98 | |
---|
[7573] | 99 | |
---|
| 100 | |
---|
| 101 | <MovableEntity 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) ?>" > |
---|
| 102 | <attached> |
---|
| 103 | <Model position="0,0,0" scale=25 mesh="ast6.mesh" shadow=true /> |
---|
| 104 | <!--ParticleEmitter position="0,0,0" source="Orxonox/Steam" /--> |
---|
| 105 | </attached> |
---|
[7579] | 106 | |
---|
| 107 | <!--collisionShapes> |
---|
| 108 | <BoxCollisionShape position="<?lua print(y) ?>,0,<?lua print(z) ?>" halfExtents="50, 200, 50" /> |
---|
| 109 | </collisionShapes--> |
---|
| 110 | |
---|
[7573] | 111 | </MovableEntity> |
---|
| 112 | |
---|
[7561] | 113 | <?lua |
---|
| 114 | end |
---|
| 115 | ?> |
---|
| 116 | <?lua end ?> |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | |
---|
[7556] | 121 | </Scene> |
---|
| 122 | </Level> |
---|
| 123 | |
---|
[7561] | 124 | |
---|