[Orxonox-commit 6013] r10672 - code/branches/planetLevelHS15/data/levels
luhug at orxonox.net
luhug at orxonox.net
Mon Oct 19 16:11:17 CEST 2015
Author: luhug
Date: 2015-10-19 16:11:17 +0200 (Mon, 19 Oct 2015)
New Revision: 10672
Added:
code/branches/planetLevelHS15/data/levels/flightTest.oxw
Log:
Added flightTest.oxw level
Added: code/branches/planetLevelHS15/data/levels/flightTest.oxw
===================================================================
--- code/branches/planetLevelHS15/data/levels/flightTest.oxw (rev 0)
+++ code/branches/planetLevelHS15/data/levels/flightTest.oxw 2015-10-19 14:11:17 UTC (rev 10672)
@@ -0,0 +1,103 @@
+<LevelInfo
+ name = "Lift Test"
+ description = "A level with absolutely nothing in it."
+ tags = "test"
+ screenshot = "emptylevel.png"
+/>
+
+<?lua
+ include("stats.oxo")
+ include("HUDTemplates3.oxo")
+ include("templates/lodInformation.oxt")
+?>
+
+<?lua
+ include("templates/spaceshipAssff2.oxt")
+ include("templates/spaceshipPirate.oxt")
+ include("templates/spaceshipEscort.oxt")
+ include("templates/spaceshipRing.oxt")
+ include("templates/spaceshipSwallow.oxt")
+?>
+
+<Level>
+ <templates>
+ <Template link=lodtemplate_default />
+ </templates>
+ <?lua include("includes/notifications.oxi") ?>
+
+ <Scene
+ ambientlight = "0.8, 0.8, 0.8"
+ skybox = "Orxonox/Starbox"
+ >
+
+ <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
+ <SpawnPoint team=0 position="30,30,30" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
+
+
+
+<StaticEntity position="20,20,20" direction="0,0,1" collisionType=static mass=0 friction=0.01 >
+ <attached>
+ <Model position="0,0,0" mesh="cube.mesh" scale3D="5,5,5" />
+ </attached>
+</StaticEntity>
+
+ <Dock position="20,20,20" roll=0 yaw=0 >
+ <animations>
+ <MoveToDockingTarget target="destroyer" />
+ </animations>
+ <effects>
+ <DockToShip target="spaceShip" />
+ </effects>
+ <events>
+ <execute>
+ <EventListener event="dockMe" />
+ </execute>
+
+ <undocking>
+ <EventListener event="undockMe" />
+ </undocking>
+
+ <activity>
+ <EventListener event=notGameEnd />
+ </activity>
+ </events>
+ <attached>
+ <!-- Trigger for docking with billboard -->
+ <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
+ <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
+ beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
+ />
+ <!-- Trigger for undocking with billboard -->
+ <Billboard position="-2630,-19970,150" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
+ <DistanceTrigger position="-2630,-19970,150" distance="50" target="Pawn"
+ beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
+ />
+ </attached>
+
+ </Dock>
+ <StaticEntity position="0,20000,0" direction="0,0,1" collisionType=static mass=0 fricion=0.01 >
+ <attached>
+ <DockingTarget name="spaceShip" />
+ </attached>
+</StaticEntity>
+
+<Planet
+ position="0,1000,0"
+ scale="63000"
+ collisionType="dynamic"
+ linearDamping="0.8"
+ angularDamping="0"
+ mass="5.9e21"
+ pitch="0"
+ mesh="planets/earth.mesh"
+ atmosphere="atmosphere1"
+ rotationaxis="0,1,0"
+ rotationrate="0.2"
+ atmospheresize="80.0f"
+ imagesize="1024.0f"
+ collisiondamage = 2
+ enablecollisiondamage = true>
+ </Planet>
+ </Scene>
+</Level>
+
More information about the Orxonox-commit
mailing list