Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/3DPacman_FS18/data/levels/lastTeamStanding.oxw @ 12105

Last change on this file since 12105 was 9939, checked in by jo, 11 years ago

presentationHS13 branch merged into trunk

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