Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9184 was 9016, checked in by jo, 13 years ago

Merging presentation2011 branch to trunk. Please check for possible bugs.

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