[Orxonox-commit 3718] r8398 - in code/trunk/data/levels: . templates
youngk at orxonox.net
youngk at orxonox.net
Tue May 3 21:48:01 CEST 2011
Author: youngk
Date: 2011-05-03 21:48:01 +0200 (Tue, 03 May 2011)
New Revision: 8398
Added:
code/trunk/data/levels/earth.oxw
Modified:
code/trunk/data/levels/templates/spaceshipHXYSL.oxt
Log:
Added 1to100 scale model of earth, complete with gravity.
Added: code/trunk/data/levels/earth.oxw
===================================================================
--- code/trunk/data/levels/earth.oxw (rev 0)
+++ code/trunk/data/levels/earth.oxw 2011-05-03 19:48:01 UTC (rev 8398)
@@ -0,0 +1,64 @@
+<LevelInfo
+ name = "Earth Demonstration"
+ description = "1:100 Scale Model of Earth with Gravity"
+ tags = "earth, gravity"
+/>
+
+<?lua
+ include("stats.oxo")
+ include("HUDTemplates3.oxo")
+ include("templates/lodInformation.oxt")
+ include("templates/spaceshipHXY.oxt")
+?>
+
+<Level
+ name = "Planet Earth"
+ description = "1:100 Scale Model of Earth with Gravity"
+>
+ <templates>
+ <Template link="lodtemplate_default" />
+ </templates>
+
+ <Scene
+ ambientlight = "0.8, 0.8, 0.8"
+ skybox = "Orxonox/skypanoramagen1"
+ >
+ <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="70000,0,0"
+ lookat="0,0,0"
+ spawnclass="SpaceShip"
+ pawndesign="spaceshipHXY"
+ />
+
+ <Planet
+ position="0,0,0"
+ scale="63000"
+ collisionType="dynamic"
+ linearDamping="0.8"
+ angularDamping="0"
+ mass="5.9e21"
+ pitch="0"
+ mesh="earth.mesh"
+ atmosphere="atmosphere1"
+ rotationaxis="0,1,0"
+ rotationrate="0.2"
+ atmospheresize="300.0f"
+ imagesize="1024.0f"
+ >
+ <attached>
+ <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
+ </attached>
+ <collisionShapes>
+ <SphereCollisionShape radius="63000" position="0,0,0" />
+ </collisionShapes>
+ </Planet>
+ </Scene>
+</Level>
Modified: code/trunk/data/levels/templates/spaceshipHXYSL.oxt
===================================================================
--- code/trunk/data/levels/templates/spaceshipHXYSL.oxt 2011-05-03 19:46:30 UTC (rev 8397)
+++ code/trunk/data/levels/templates/spaceshipHXYSL.oxt 2011-05-03 19:48:01 UTC (rev 8398)
@@ -16,7 +16,7 @@
rotationThrust = 25;
collisionType = "dynamic"
- mass = 100
+ mass = 1000
linearDamping = 0.7
angularDamping = 0.9999999
>
More information about the Orxonox-commit
mailing list