Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/lastTeamStanding.oxw @ 8359

Last change on this file since 8359 was 8179, checked in by rgrieder, 14 years ago

Hopefully fixed XML parsing errors at startup (can't test right now, sry).

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