[Orxonox-commit 6148] r10806 - code/branches/planetLevelHS15/data/levels
hzuellig at orxonox.net
hzuellig at orxonox.net
Mon Nov 16 14:16:50 CET 2015
Author: hzuellig
Date: 2015-11-16 14:16:49 +0100 (Mon, 16 Nov 2015)
New Revision: 10806
Modified:
code/branches/planetLevelHS15/data/levels/betterearth.oxw
Log:
Added skybox and houses to betterearth.owx
Modified: code/branches/planetLevelHS15/data/levels/betterearth.oxw
===================================================================
--- code/branches/planetLevelHS15/data/levels/betterearth.oxw 2015-11-15 15:47:35 UTC (rev 10805)
+++ code/branches/planetLevelHS15/data/levels/betterearth.oxw 2015-11-16 13:16:49 UTC (rev 10806)
@@ -36,6 +36,105 @@
playOnLoad="true"
/>
+<!-- <Light
+ type="directional"
+ position="-500000,-500000,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
+ position="-613,-54,125"
+ lookat="0-100,1000,-100"
+ spawnclass="SpaceShip"
+ pawndesign="spaceshipHXY"
+ />
+ <PortalEndPoint position="70500,100,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
+
+ <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
+
+
+ <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
+ <Planet
+ position="3625700,0,0"
+ scale="17370"
+ collisionType="dynamic"
+ linearDamping="0.8"
+ angularDamping="0"
+ mass="7.36e19"
+ pitch="0"
+ mesh="planets/moon.mesh"
+ atmosphere="atmosphere1"
+ rotationaxis="0,1,0"
+ rotationrate="010"
+ atmospheresize="80.0f"
+ imagesize="1024.0f"
+ collisiondamage = 2
+ enablecollisiondamage = true
+ >
+ <attached>
+ <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
+ </attached>
+ <collisionShapes>
+ <SphereCollisionShape radius="17370" position="0,0,0" />
+ </collisionShapes>
+ </Planet>
+<!-- <PortalEndPoint position="3603330,100,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/> -->
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
+ <attached>
+ <Model position="0,0,0" mesh="skyboxHoenggerberg.mesh" scale3D="100000,100000,100000" lodLevel="0"/>
+ <PortalEndPoint position="0,0,0" id="1" distance="40" target="Pawn" design="PortalDefault"/>
+ <Light type="point" position="0,0,0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
+ </attached>
+ </StaticEntity>
+ <StaticEntity position="0,0,0" scale="100">
+ <attached>
+ <Model mesh="Glasstower1.mesh" />
+
+ </attached>
+ </StaticEntity>
+ <StaticEntity position="-500,0,-500" scale="10">
+ <attached><LevelInfo
+ name = "Better Earth Demonstration"
+ description = "1:100 Scale Model of Earth with Gravity"
+ tags = "showcase"
+ screenshot = "earthdemonstration.png"
+/>
+
+<?lua
+ include("stats.oxo")
+ include("HUDTemplates3.oxo")
+ include("templates/lodInformation.oxt")
+ include("templates/spaceshipHXY.oxt")
+?>
+
+<Level>
+ <templates>
+ <Template link="lodtemplate_default" />
+ </templates>
+ <?lua include("includes/notifications.oxi") ?>
+
+ <Template name=PortalDefault>
+ <PortalEndPoint>
+ <attached>
+ <Billboard material="Portals/Default" />
+ </attached>
+ </PortalEndPoint>
+ </Template>
+
+ <Scene
+ ambientlight = "0.8, 0.8, 0.8"
+ skybox = "Orxonox/skyboxempty"
+ >
+ <WorldAmbientSound
+ source="Earth.ogg"
+ looping="true"
+ playOnLoad="true"
+ />
+
<Light
type="directional"
position="-500000,-500000,0"
@@ -47,8 +146,8 @@
<SpawnPoint
- position="100,0,0"
- lookat="0,0,0"
+ position="-613,-54,125"
+ lookat="0-100,1000,-100"
spawnclass="SpaceShip"
pawndesign="spaceshipHXY"
/>
@@ -83,10 +182,41 @@
</collisionShapes>
</Planet>
<PortalEndPoint position="3603330,100,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
+ <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
+ <attached>
+ <Model position="0,0,0" mesh="skyboxHoenggerberg.mesh" scale3D="100000,100000,100000" lodLevel="0"/>
+ <PortalEndPoint position="0,0,0" id="1" distance="40" target="Pawn" design="PortalDefault"/>
+ <Light type="point" position="0,0,0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
+ </attached>
+ </StaticEntity>
+ <StaticEntity position="0,0,0" scale="100">
+ <attached>
+ <Model mesh="Glasstower1.mesh" />
- <StaticEntity position="0,0,0" scale="100">
+ </attached>
+ </StaticEntity>
+ <StaticEntity position="-500,0,-500" scale="10">
+ <attached>
+ <Model mesh="PrimeTower.mesh" />
+ </attached>
+ </StaticEntity>
+ <StaticEntity position="0,0,0" scale="1000">
+ <attached>
+ <Model mesh="Plane.mesh" />
+ </attached>
+ </StaticEntity>
+ <!-- Create portals from Earth to the Moon -->
+ <PortalLink fromID="1" toID="2" />
+ <PortalLink fromID="2" toID="1" />
+ </Scene>
+</Level>
+
+ <Model mesh="PrimeTower.mesh" />
+ </attached>
+ </StaticEntity>
+ <StaticEntity position="0,0,0" scale="1000">
<attached>
- <Model mesh="Glasstower1.mesh" />
+ <Model mesh="Plane.mesh" />
</attached>
</StaticEntity>
<!-- Create portals from Earth to the Moon -->
More information about the Orxonox-commit
mailing list