Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wiimote/data/levels/lastTeamStanding.oxw @ 10860

Last change on this file since 10860 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

  • Property svn:eol-style set to native
File size: 4.5 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<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 pickup=hugeinvisiblepickup position="-160,60,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="10" /><!--EasterEgg-->
50    <StaticEntity position="-160,60,28.4"><!--EasterEgg-Indicator-->
51      <attached>
52        <Model position="0,0,0" scale=1 mesh="sphere.mesh" />
53      </attached>
54    </StaticEntity>
55
56<!-- ---------------asteroid dome----------------- -->
57<?lua
58max = 16
59for i = 0, max, 1
60do
61    y = math.sin(i/max*6)*750
62    z = math.cos(i/max*6)*750
63    j = 1
64    ?>
65
66    <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 />
67
68    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
69      <attached>
70        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
71        </Model>
72      </attached>
73      <collisionShapes>
74        <BoxCollisionShape    halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" />
75      </collisionShapes>
76    </StaticEntity>
77
78    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
79      <attached>
80        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
81        </Model>
82      </attached>
83      <collisionShapes>
84        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
85      </collisionShapes>
86    </StaticEntity>
87
88    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
89      <attached>
90        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
91        </Model>
92      </attached>
93      <collisionShapes>
94        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
95      </collisionShapes>
96    </StaticEntity>
97
98    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
99      <attached>
100        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh">
101        </Model>
102      </attached>
103      <collisionShapes>
104        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
105      </collisionShapes>
106    </StaticEntity>
107
108    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
109      <attached>
110        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh">
111        </Model>
112      </attached>
113      <collisionShapes>
114        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
115      </collisionShapes>
116    </StaticEntity>
117
118<!-- ---------Top Asteroid----------- -->
119    <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 >
120      <attached>
121        <Model position="0,0,0" scale=25 mesh="ast6.mesh">
122        </Model>
123      </attached>
124      <collisionShapes>
125        <BoxCollisionShape    halfExtents="50,140,30" position="0,0,0"/>
126      </collisionShapes>
127    </StaticEntity>
128
129
130<?lua end ?>
131
132  </Scene>
133</Level>
134
135
Note: See TracBrowser for help on using the repository browser.