Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8438 for code/trunk


Ignore:
Timestamp:
May 9, 2011, 6:24:21 PM (14 years ago)
Author:
youngk
Message:

Update to planet levels to support new meshes.

Location:
code/trunk/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/earth.oxw

    r8398 r8438  
    2222  <Scene
    2323    ambientlight = "0.8, 0.8, 0.8"
    24     skybox       = "Orxonox/skypanoramagen1"
     24    skybox       = "Orxonox/skyboxempty"
    2525  >
     26    <WorldAmbientSound
     27      source="Earth.ogg"
     28      looping="true"
     29      playOnLoad="true"
     30    />
     31
    2632    <Light
    2733      type="directional"
     
    3945    />
    4046
     47    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
    4148    <Planet
    4249      position="0,0,0"
     
    4754      mass="5.9e21"
    4855      pitch="0"
    49       mesh="earth.mesh"
     56      mesh="planets/earth.mesh"
    5057      atmosphere="atmosphere1"
    5158      rotationaxis="0,1,0"
     
    6168      </collisionShapes>
    6269    </Planet>
     70
     71    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
     72    <Planet
     73      position="3625700,0,0"
     74      scale="17370"
     75      collisionType="dynamic"
     76      linearDamping="0.8"
     77      angularDamping="0"
     78      mass="7.36e19"
     79      pitch="0"
     80      mesh="planets/moon.mesh"
     81      atmosphere="atmosphere1"
     82      rotationaxis="0,1,0"
     83      rotationrate="0.2"
     84      atmospheresize="300.0f"
     85      imagesize="1024.0f"
     86    >
     87      <attached>
     88        <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
     89      </attached>
     90      <collisionShapes>
     91        <SphereCollisionShape radius="17370" position="0,0,0" />
     92      </collisionShapes>
     93    </Planet>
    6394  </Scene>
    6495</Level>
  • code/trunk/data/levels/planets.oxw

    r8392 r8438  
    5454      mass="10000000"
    5555      pitch="0"
    56       mesh="Muunilinst.mesh"
     56      mesh="planets/muunilinst.mesh"
    5757      atmosphere="atmosphere1"
    5858      rotationaxis="1,0,0"
     
    7777      mass="5000000"
    7878      pitch="0"
    79       mesh="ganymede.mesh"
     79      mesh="planets/ganymede.mesh"
    8080      atmosphere="atmosphere1"
    8181      rotationaxis="1,0,0"
Note: See TracChangeset for help on using the changeset viewer.