Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/output/data/levels/lastTeamStanding.oxw @ 9154

Last change on this file since 9154 was 8706, checked in by dafrick, 13 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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