Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/lastTeamStanding.oxw @ 9016

Last change on this file since 9016 was 8958, checked in by baermatt, 13 years ago

Removing unused Level attributes.

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