Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 21, 2018, 12:03:52 AM (6 years ago)
Author:
landauf
Message:

merged ogre1.9 (including cegui0.8) into new branch

Location:
code/branches/cegui0.8_ogre1.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9

  • code/branches/cegui0.8_ogre1.9/data/levels/earth.oxw

    r9016 r11795  
    5656
    5757    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
    58     <Planet
     58    <MovableEntity
    5959      position="0,0,0"
    6060      scale="63000"
     61      pitch="0"
    6162      collisionType="dynamic"
    6263      linearDamping="0.8"
    6364      angularDamping="0"
    6465      mass="5.9e21"
    65       pitch="0"
    66       mesh="planets/earth.mesh"
    67       atmosphere="atmosphere1"
    6866      rotationaxis="0,1,0"
    6967      rotationrate="0.2"
    70       atmospheresize="80.0f"
    71       imagesize="1024.0f"
    7268      collisiondamage = 2
    7369      enablecollisiondamage = true
    7470    >
    7571      <attached>
    76         <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
     72        <Planet
     73          mesh="planets/earth.mesh"
     74          atmosphere="atmosphere1"
     75          atmospheresize="80.0f"
     76          imagesize="1024.0f"
     77        >
     78          <attached>
     79            <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
     80          </attached>
     81        </Planet>
    7782      </attached>
    7883      <collisionShapes>
    7984        <SphereCollisionShape radius="63000" position="0,0,0" />
    8085      </collisionShapes>
    81     </Planet>
     86    </MovableEntity>
    8287
    8388    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
    84     <Planet
     89    <MovableEntity
    8590      position="3625700,0,0"
    8691      scale="17370"
     92      pitch="0"
    8793      collisionType="dynamic"
    8894      linearDamping="0.8"
    8995      angularDamping="0"
    9096      mass="7.36e19"
    91       pitch="0"
    92       mesh="planets/moon.mesh"
    93       atmosphere="atmosphere1"
    9497      rotationaxis="0,1,0"
    9598      rotationrate="0.2"
    96       atmospheresize="80.0f"
    97       imagesize="1024.0f"
    9899      collisiondamage = 2
    99100      enablecollisiondamage = true
    100101    >
    101102      <attached>
    102         <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
     103        <Planet
     104          mesh="planets/moon.mesh"
     105          atmosphere="atmosphere1"
     106          atmospheresize="80.0f"
     107          imagesize="1024.0f"
     108        >
     109          <attached>
     110            <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
     111          </attached>
     112        </Planet>
    103113      </attached>
    104114      <collisionShapes>
    105115        <SphereCollisionShape radius="17370" position="0,0,0" />
    106116      </collisionShapes>
    107     </Planet>
     117    </MovableEntity>
    108118    <PortalEndPoint position="3603330,100,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
    109119
Note: See TracChangeset for help on using the changeset viewer.