Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/lastmanstanding/data/levels/gametype_lastmanstanding.oxw @ 7561

Last change on this file since 7561 was 7561, checked in by jo, 14 years ago

New, Improved Level. Should become similar to Stonehenge - maybe

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4  include("templates/lodinformation.oxt")
5?>
6
7<?lua
8  include("templates/spaceship_assff.oxt")
9  include("templates/spaceship_pirate.oxt")
10?>
11
12<Level
13 name         = "Last Man Standing"
14 description  = "testmap for gametype last man standing"
15 gametype     =  "LastManStanding"
16>
17  <templates>
18    <Template link=lodtemplate_default />
19  </templates>
20
21  <Scene
22    ambientlight = "0.8, 0.8, 0.8"
23    skybox       = "Orxonox/skypanoramagen1"
24  >
25<!----- Spawnpoints ----->
26    <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"/>
27    <SpawnPoint team=0 position="-1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
28    <SpawnPoint team=0 position="1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
29    <SpawnPoint team=0 position="-700,0,700" 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="0,0,-1150" 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<Bot />
34
35<!-- ------------ middle asteroid -------------- -->
36    <StaticEntity position="0,20,0">
37       <attached>
38           <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true />
39           <!--ParticleEmitter position="0,0,0" source="Orxonox/Steam" /-->
40           <collisionShapes>
41               <SphereCollisionShape radius="30" />
42           </collisionShapes>
43       </attached>
44    </StaticEntity>
45
46
47<!-- ---------------asteroid dome----------------- -->
48<?lua
49max = 17
50for i = 1, max, 1
51do
52    y = math.sin(i/max*6)*750
53    z = math.cos(i/max*6)*750
54    x = i*10
55    ?>
56<?lua
57for k = 1, 25, 1
58do
59j = math.random()
60?>
61
62    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
63      <attached>
64        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
65        </Model>
66      </attached>
67    </StaticEntity>
68
69    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
70      <attached>
71        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
72        </Model>
73      </attached>
74    </StaticEntity>#
75
76    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
77      <attached>
78        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
79        </Model>
80      </attached>
81    </StaticEntity>
82
83    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
84      <attached>
85        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13,6) + 1) ?>.mesh">
86        </Model>
87      </attached>
88    </StaticEntity>
89
90    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
91      <attached>
92        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh">
93        </Model>
94      </attached>
95    </StaticEntity>
96
97<?lua
98end
99?>
100<?lua end ?>
101
102
103
104
105  </Scene>
106</Level>
107
108
Note: See TracBrowser for help on using the repository browser.