Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8843 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
RevLine 
[7903]1<LevelInfo
2 name = "Last Team Standing"
3 description = "Survive as a team."
4 tags = "singleplayer"
5/>
[7556]6<?lua
7  include("stats.oxo")
[7679]8  include("HUDTemplates3.oxo")
9  include("templates/lodInformation.oxt")
[7903]10  include("lastTeamStandingHUD.oxo")
[7679]11  include("templates/spaceshipAssff.oxt")
12  include("templates/spaceshipPirate.oxt")
13  include("templates/pickupRepresentationTemplates.oxt")
[7556]14?>
15
16<Level
[7903]17 name         = "Last Team Standing"
18 description  = "testmap for gametype last team standing"
19 gametype     =  "LastTeamStanding"
[7556]20>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
[8706]24  <?lua include("includes/notifications.oxi") ?>
[7556]25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
[7903]28    skybox       = "Orxonox/skypanoramagen1"
[7556]29  >
[8706]30  <?lua include("includes/notifications.oxi") ?>
[7605]31
32    <?lua
33      include("includes/pickups.oxi")
34    ?>
35
[7561]36<Bot />
[7556]37
[7561]38<!-- ------------ middle asteroid -------------- -->
[7585]39    <StaticEntity position="0,20,0" collisionType=static>
[7561]40       <attached>
41           <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true />
[7573]42           <!-- ParticleEmitter position="0,0,0" source="Orxonox/Steam" / -->
[7561]43       </attached>
[7585]44      <collisionShapes>
45        <SphereCollisionShape radius="145" />
46      </collisionShapes>
[7561]47    </StaticEntity>
48
[7605]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
[7561]65<!-- ---------------asteroid dome----------------- -->
[7556]66<?lua
[7617]67max = 16
68for i = 0, max, 1
[7556]69do
[7561]70    y = math.sin(i/max*6)*750
71    z = math.cos(i/max*6)*750
[7617]72    j = 1
[7561]73    ?>
[7556]74
[8179]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 />
[7600]76
[8179]77    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7556]78      <attached>
[7561]79        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
80        </Model>
[7556]81      </attached>
[7585]82      <collisionShapes>
83        <BoxCollisionShape    halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" />
84      </collisionShapes>
[7556]85    </StaticEntity>
86
[8179]87    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7556]88      <attached>
[7561]89        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
90        </Model>
[7556]91      </attached>
[7585]92      <collisionShapes>
93        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
94      </collisionShapes>
[7605]95    </StaticEntity>
[7556]96
[8179]97    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7556]98      <attached>
[7561]99        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
100        </Model>
[7556]101      </attached>
[7585]102      <collisionShapes>
103        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
104      </collisionShapes>
[7561]105    </StaticEntity>
[7556]106
[8179]107    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7561]108      <attached>
[7573]109        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh">
[7561]110        </Model>
111      </attached>
[7585]112      <collisionShapes>
113        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
114      </collisionShapes>
[7561]115    </StaticEntity>
[7556]116
[8179]117    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7561]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>
[7585]122      <collisionShapes>
123        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
124      </collisionShapes>
[7561]125    </StaticEntity>
126
[7596]127<!-- ---------Top Asteroid----------- -->
[8179]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 >
[7596]129      <attached>
130        <Model position="0,0,0" scale=25 mesh="ast6.mesh">
131        </Model>
132      </attached>
133      <collisionShapes>
[7603]134        <BoxCollisionShape    halfExtents="50,140,30" position="0,0,0"/>
[7596]135      </collisionShapes>
136    </StaticEntity>
[7573]137
138
[7561]139<?lua end ?>
140
[7556]141  </Scene>
142</Level>
143
[7561]144
Note: See TracBrowser for help on using the repository browser.