Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8472 for code/trunk


Ignore:
Timestamp:
May 12, 2011, 10:52:39 PM (14 years ago)
Author:
youngk
Message:

Added portals to earth level. I could not activate the way back (from Moon to Earth) because the ship would otherwise jump right back when it arrived —> please fix. Note also that aiming is VERY jittery when in the Moon area. Dont know where thats from. This also needs fixing. Otherwhise: Great job with the portals.

File:
1 edited

Legend:

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

    r8438 r8472  
    2020  </templates>
    2121
     22  <Template name=PortalDefault>
     23      <PortalEndPoint>
     24          <attached>
     25              <Billboard material="Portals/Default" />
     26          </attached>
     27      </PortalEndPoint>
     28  </Template>
     29
    2230  <Scene
    2331    ambientlight = "0.8, 0.8, 0.8"
     
    3846    />
    3947
     48
     49
    4050    <SpawnPoint
    4151      position="70000,0,0"
     
    4454      pawndesign="spaceshipHXY"
    4555    />
     56    <PortalEndPoint position="70500,100,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
    4657
    4758    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
     
    92103      </collisionShapes>
    93104    </Planet>
     105    <PortalEndPoint position="3603330,100,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     106
     107    <!-- Create portals from Earth to the Moon -->
     108    <PortalLink fromID="1" toID="2" />
     109    <!--<PortalLink fromID="2" toID="1" />-->
    94110  </Scene>
    95111</Level>
Note: See TracChangeset for help on using the changeset viewer.