[Orxonox-commit 6042] r10701 - code/branches/planetLevelHS15/data/levels
luhug at orxonox.net
luhug at orxonox.net
Mon Oct 26 14:04:42 CET 2015
Author: luhug
Date: 2015-10-26 14:04:42 +0100 (Mon, 26 Oct 2015)
New Revision: 10701
Modified:
code/branches/planetLevelHS15/data/levels/flightTest.oxw
Log:
Updated flightTest.oxw
Modified: code/branches/planetLevelHS15/data/levels/flightTest.oxw
===================================================================
--- code/branches/planetLevelHS15/data/levels/flightTest.oxw 2015-10-26 13:02:31 UTC (rev 10700)
+++ code/branches/planetLevelHS15/data/levels/flightTest.oxw 2015-10-26 13:04:42 UTC (rev 10701)
@@ -24,66 +24,32 @@
<Template link=lodtemplate_default />
</templates>
<?lua include("includes/notifications.oxi") ?>
+<Template name=PortalDefault>
+ <PortalEndPoint>
+ <attached>
+ <Model mesh="Spacegate.mesh" yaw="90"/>
+ </attached>
+ </PortalEndPoint>
+</Template>
+<Template name=PortalBig>
+ <PortalEndPoint>
+ <attached>
+ <Billboard material="Portals/Big" />
+ </attached>
+ </PortalEndPoint>
+</Template>
<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 />
+ <SpawnPoint team=0 position="-1000,-1000,-1000" 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"
+ <Planet
+ position="0,100000,0"
+ scale="5000"
collisionType="dynamic"
linearDamping="0.8"
angularDamping="0"
@@ -96,8 +62,26 @@
atmospheresize="80.0f"
imagesize="1024.0f"
collisiondamage = 2
- enablecollisiondamage = true>
+ enablecollisiondamage = true
+ >
+ <attached>
+ <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
+<PortalEndPoint id="2" distance="5000" target="Pawn" design="PortalEndPoint"/>
+ </attached>
+ <collisionShapes>
+ <SphereCollisionShape radius="10" position="0,0,0" />
+ </collisionShapes>
</Planet>
+
+
+
+
+<PortalEndPoint position="0,0,0" id="1" distance="40" target="Pawn" design="PortalDefault"/>
+
+<PortalLink fromID="1" toID="2" />
+<PortalLink fromID="2" toID="1" />
+
+
</Scene>
</Level>
More information about the Orxonox-commit
mailing list