Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Looks a little bit more like Stonehenge:-)

  • Property svn:eol-style set to native
File size: 3.7 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       </attached>
41    </StaticEntity>
42<StaticEntity position="0,0,0" collisionType=static>
43      <collisionShapes>
44        <SphereCollisionShape radius="145" />
45      </collisionShapes>
46    </StaticEntity>
47
48<!-- ---------------asteroid dome----------------- -->
49<?lua
50max = 17
51for i = 1, max, 1
52do
53    y = math.sin(i/max*6)*750
54    z = math.cos(i/max*6)*750
55    x = i*10
56    ?>
57<?lua
58for k = 1, 25, 1
59do
60j = math.random()
61?>
62
63    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
64      <attached>
65        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
66        </Model>
67      </attached>
68    </StaticEntity>
69
70    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
71      <attached>
72        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
73        </Model>
74      </attached>
75    </StaticEntity>#
76
77    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
78      <attached>
79        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
80        </Model>
81      </attached>
82    </StaticEntity>
83
84    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
85      <attached>
86        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh">
87        </Model>
88      </attached>
89    </StaticEntity>
90
91    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
92      <attached>
93        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh">
94        </Model>
95      </attached>
96    </StaticEntity>
97
98
99
100  <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) ?>" >
101       <attached>
102           <Model position="0,0,0" scale=25 mesh="ast6.mesh" shadow=true />
103           <!--ParticleEmitter position="0,0,0" source="Orxonox/Steam" /-->
104       </attached>
105  </MovableEntity>
106
107<?lua
108end
109?>
110<?lua end ?>
111
112
113
114
115  </Scene>
116</Level>
117
118
Note: See TracBrowser for help on using the repository browser.