[Orxonox-commit 3486] r8172 - code/branches/lastmanstanding3/data/levels
jo at orxonox.net
jo at orxonox.net
Sun Apr 3 13:04:30 CEST 2011
Author: jo
Date: 2011-04-03 13:04:29 +0200 (Sun, 03 Apr 2011)
New Revision: 8172
Added:
code/branches/lastmanstanding3/data/levels/lastTeamStandingII.oxw
Log:
Level for gametype lastTeamStanding.
Added: code/branches/lastmanstanding3/data/levels/lastTeamStandingII.oxw
===================================================================
--- code/branches/lastmanstanding3/data/levels/lastTeamStandingII.oxw (rev 0)
+++ code/branches/lastmanstanding3/data/levels/lastTeamStandingII.oxw 2011-04-03 11:04:29 UTC (rev 8172)
@@ -0,0 +1,407 @@
+<LevelInfo
+ name = "On the fly"
+ description = "Survive as a team."
+ tags = ""
+/>
+<?lua
+ include("stats.oxo")
+ include("HUDTemplates3.oxo")
+ include("templates/lodInformation.oxt")
+ include("lastTeamStandingHUD.oxo")
+ include("templates/spaceshipAssff.oxt")
+ include("templates/spaceshipPirate.oxt")
+ include("templates/pickupRepresentationTemplates.oxt")
+?>
+
+<Level
+ name = "On the fly"
+ description = "testmap for gametype last team standing"
+ gametype = "LastTeamStanding"
+>
+ <templates>
+ <Template link=lodtemplate_default />
+ </templates>
+
+ <Scene
+ ambientlight = "0.8, 0.8, 0.8"
+ skybox = "Orxonox/skypanoramagen1"
+ >
+<!-- TODO:
+1. make collisionshapes bulletproof: -> attach movable entity with dynamic collisionshape within a static collisionshape
+2. add forcefields -> there should be several "streams" through the level
+3. add teamspawnpoints (different spaceships?) (where should the spawnpoints be placed?)
+-->
+<!--Bot / -->
+
+<!-------------------- Box: TopLayer + BottomLayer + 4 invisible Walls --------------------->
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,-400,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" />
+ <Model position="0,-420,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" /><!-- Second Model in order to avoid graphic errors-->
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,-400,0" halfExtents="1500,10,1500" />
+ </collisionShapes>
+ </StaticEntity>
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,400,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" />
+ <Model position="0,420,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" />
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,400,0" halfExtents="1000,10,1000" />
+ </collisionShapes>
+ </StaticEntity>
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <!--Model position="1000,0,0" mesh="cube_green.mesh" scale3D="10,400,1000" /-->
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="1000,0,0" halfExtents="10,400,1000" />
+ </collisionShapes>
+ </StaticEntity>
+
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <!-- Model position="-1000,0,0" mesh="cube_green.mesh" scale3D="10,400,1000" / -->
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="-1000,0,0" halfExtents="10,400,1000" />
+ </collisionShapes>
+ </StaticEntity>
+
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,0,1000" mesh="cube_green.mesh" scale3D="1000,400,10" />
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,0,1000" halfExtents="1000,400,10" />
+ </collisionShapes>
+ </StaticEntity>
+
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,0,-1000" mesh="cube_green.mesh" scale3D="1000,400,10" />
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,0,-1000" halfExtents="1000,400,10" />
+ </collisionShapes>
+ </StaticEntity>
+<!-- END of CUBE-->
+<!-------------- Centered Thin Gate -------------->
+
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,-1200,0" mesh="hs-w01.mesh" scale3D="300,400,900" pitch="90" roll="0" yaw="0"/>
+ <!--Model position="121,0,-80" mesh="cube.mesh" scale3D="18,400,18" />
+ <Model position="-121,0,-80" mesh="cube.mesh" scale3D="18,400,18" /-->
+ <Model position="0,0,-80" scale=150 mesh="sphere.mesh" />
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="121,0,-80" halfExtents="18,400,18" />
+ <BoxCollisionShape position="-121,0,-80" halfExtents="18,400,18" />
+ <SphereCollisionShape position="0,0,-80" radius="150" />
+ </collisionShapes>
+ </StaticEntity>
+
+ <ForceField position="0,270,-80" direction="-3,-4,-3" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="0,270,-80" direction="-3,-4,-3">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- to bulk gate, left -->
+ <ForceField position="0,-275,-80" direction="3,0,2" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="0,-275,-80" direction="3,0,2">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+
+
+<!-------------- Bulk Gate -------------->
+ <StaticEntity position="300,0,500" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,-100,0" mesh="hs-w01.mesh" scale3D="500,400,600" pitch="270" roll="0" yaw="0"/>
+ <!--Model position="205,-105,20" mesh="cube.mesh" scale3D="135,280,60" />
+ <Model position="-205,-105,20" mesh="cube.mesh" scale3D="135,280,60" />
+ <Model position="0,235,0" mesh="cube.mesh" scale3D="180,35,35" />
+ <Model position="0,-344,-18" mesh="cube.mesh" scale3D="210,38,36" /-->
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="205,-105,20" halfExtents="135,280,60" />
+ <BoxCollisionShape position="-205,-105,20" halfExtents="135,280,60" />
+ <BoxCollisionShape position="0,235,0" halfExtents="180,35,35" />
+ <BoxCollisionShape position="0,-344,-18" halfExtents="210,38,36" />
+ </collisionShapes>
+ </StaticEntity>
+<!-- back to thin gate -->
+ <ForceField position="300,0,650" direction="1,1.5,-4" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="300,0,650" direction="1,1.5,-4">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- to thin gate -->
+ <ForceField position="300,300,500" direction="-1,0,-2" diameter=100 velocity=1500 length=900 />
+ <MovableEntity position="300,300,500" direction="-1,0,-2">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream -->
+ <ForceField position="830,-300,830" direction="-1,0,0" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="830,-300,830" direction="-1,0,0">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream II-->
+ <ForceField position="830,350,830" direction="0,0,-1" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="830,350,830" direction="0,0,-1">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+
+
+<!-------------- Bar -------------->
+ <StaticEntity position="-495,0,-495" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="20,720,20" pitch="90" roll="45" yaw="0"/>
+ <!--Model position="0,0,0" mesh="cube.mesh" scale3D="19,719,19" pitch="90" roll="45" yaw="0"/-->
+ </attached>
+
+ <collisionShapes>
+ <BoxCollisionShape position="0,0,0" halfExtents="20,720,20" pitch="90" roll="45" yaw="0"/>
+ </collisionShapes>
+ </StaticEntity>
+<!-- "lift" -->
+ <ForceField position="-700,-300,-700" direction="0,1,0" diameter=100 velocity=2000 length=400 />
+ <MovableEntity position="-700,-300,-700" direction="0,1,0">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- to thin gate, low -->
+ <ForceField position="0,60,-830" direction="0,-1,2" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="0,60,-830" direction="0,-1,2">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream -->
+ <ForceField position="-830,-350,-830" direction="2,0,0" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="-830,-350,-830" direction="2,0,0">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream II-->
+ <ForceField position="-870,350,-830" direction="0,0,1" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="-870,350,-830" direction="0,0,1">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+
+<!-------------- 2 Side-Bars -------------->
+ <StaticEntity position="0,0,-1000" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="20,405,20" pitch="0" roll="10" yaw="0"/>
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,0,0" halfExtents="20,400,20" pitch="0" roll="0" yaw="0"/>
+ </collisionShapes>
+ </StaticEntity>
+ <StaticEntity position="-1000,0,0" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="20,405,20" pitch="7" roll="0" yaw="0"/>
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,0,0" halfExtents="20,400,20" pitch="0" roll="0" yaw="0"/>
+ </collisionShapes>
+ </StaticEntity>
+<!-- to solar panels -->
+ <ForceField position="-850,-300,-200" direction="1,0,2" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="-850,-300,-200" direction="1,0,2">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- along the bar -->
+ <ForceField position="-900,50,-100" direction="1,0,-1" diameter=150 velocity=2000 length=900 />
+ <MovableEntity position="-900,50,-100" direction="1,0,-1">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+
+<!-------------- 3 Solar Panels --------------->
+
+<?lua
+for i = 1, 3, 1
+do
+ x = i/4*1000
+ z = i/4*500
+?>
+ <StaticEntity position="<?lua print(-1000+x) ?>,-310,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,0,0" mesh="SolarPanel.mesh" scale3D="60,80,30" pitch="0" roll="0" yaw="120"/>
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="0,300,0" halfExtents="155,460,3" pitch="0" roll="0" yaw="120"/>
+ </collisionShapes>
+ </StaticEntity>
+<?lua end ?>
+
+ <ForceField position="-600,100,400" direction="0,-1,-3" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="-600,100,400" direction="0,-1,-3">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream -->
+ <ForceField position="-830,-100,830" direction="0,0,-1" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="-830,-100,830" direction="0,0,-1">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream II -->
+ <ForceField position="-830,350,830" direction="1,0,0" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="-830,350,830" direction="1,0,0">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- along the panels -->
+ <ForceField position="-830,250,250" direction="3,0,2" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="-830,250,250" direction="3,0,2">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+
+<!-------------- Thin Gate -------------->
+
+ <StaticEntity position="500,0,-500" direction="1,0,-1" collisionType=static mass=100000 >
+ <attached>
+ <Model position="0,-1200,0" mesh="hs-w01.mesh" scale3D="300,400,900" pitch="90" roll="0" yaw="0"/>
+ <Model position="0,100,-80" scale=150 mesh="sphere.mesh" />
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="121,0,-80" halfExtents="18,400,18" />
+ <BoxCollisionShape position="-121,0,-80" halfExtents="18,400,18" />
+ <SphereCollisionShape position="0,100,-80" radius="150" />
+ </collisionShapes>
+ </StaticEntity>
+<!-- to thin gate middle -->
+ <ForceField position="550,350,-550" direction="-3.3,0,3" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="550,350,-550" direction="-3.3,0,3">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream -->
+ <ForceField position="830,-350,-830" direction="0,0,1" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="830,-350,-830" direction="0,0,1">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+<!-- alternative stream II -->
+ <ForceField position="830,350,-830" direction="-1,0,0" diameter=100 velocity=2000 length=900 />
+ <MovableEntity position="830,350,-830" direction="-1,0,0">
+ <attached>
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
+ <?lua for i=0,4,1 do ?>
+ <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
+ <?lua end ?>
+ </attached>
+ </MovableEntity>
+
+<!---------------- Spawnpoints ------------------>
+ <TeamSpawnPoint team=0 position="845,350,-835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=0 position="845,-350,-835" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=0 position="835,350,-845" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=0 position="835,-350,-845" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+
+ <TeamSpawnPoint team=1 position="-845,350,835" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=1 position="-845,-100,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=1 position="-835,350,845" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=1 position="-835,-100,845" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+
+ <TeamSpawnPoint team=2 position="-870,350,-835" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=2 position="-840,-350,-835" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=2 position="-865,350,-840" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=2 position="-835,-350,-840" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+
+ <TeamSpawnPoint team=3 position="835,350,845" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=3 position="835,-300,845" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=3 position="845,350,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
+ <TeamSpawnPoint team=3 position="845,-300,835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+<Bot />
+
+ </Scene>
+</Level>
+
More information about the Orxonox-commit
mailing list