Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10926


Ignore:
Timestamp:
Dec 7, 2015, 1:26:23 PM (8 years ago)
Author:
meierman
Message:

Fully functional

Location:
code/branches/hoverHS15
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hoverHS15/data/levels/Hover.oxw

    r10895 r10926  
    3030    ambientlight = "0.8, 0.8, 0.8"
    3131    skybox       = "Orxonox/Starbox"
    32     gravity      = "0, -40, 0"
     32    gravity      = "0, -100, 0"
    3333  >
    3434 
     
    5555  <StaticEntity position="0,0,0" collisionType="static">
    5656    <attached>
    57       <Model position="0, 0,0" yaw="0" pitch="0" roll="0" scale3D="10000, 1, 10000" mesh="CubeGround.mesh" />     
     57      <Model position="500, -10,500" yaw="0" pitch="0" roll="0" scale3D="500, 10, 500" mesh="CubeGround.mesh" />     
    5858    </attached>
    5959    <collisionShapes>
    60       <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,0" halfExtents="10000, 1, 10000" />
     60      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,-10,0" halfExtents="10000, 10, 10000" />
     61      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="500, 0,0" halfExtents="1000, 1000, 1" />
     62      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="500, 0, 1000" halfExtents="1000, 1000, 1" />   
     63      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0, 0, 500" halfExtents="1, 1000, 1000" />
     64      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="1000, 0, 500" halfExtents="1, 1000, 1000" />           
     65
     66
    6167    </collisionShapes>
    6268  </StaticEntity>
     
    7884   
    7985    <Light type=directional position="0,0,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"/>
    80     <SpawnPoint team=0 position="0,100,0" lookat="100,100,0" spawnclass=HoverShip pawndesign=spaceshiphover />
     86    <SpawnPoint team=0 position="50,20,50" lookat="100,20,100" spawnclass=HoverShip pawndesign=spaceshiphover />
    8187   
    8288  </Scene>
  • code/branches/hoverHS15/data/levels/templates/spaceshipHover.oxt

    r10893 r10926  
    5151      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
    5252      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
     53      <BoxCollisionShape position="13,-10,0"  halfExtents="3, 1, 2" />
     54      <BoxCollisionShape position="-13,-10,0" halfExtents="3, 1, 2" />
    5355      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
    5456      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
  • code/branches/hoverHS15/src/modules/hover/HoverWall.cc

    r10787 r10926  
    7575
    7676        model_ = new Model(context);
    77         model_->setMeshSource("cube.mesh");
     77        model_->setMeshSource("CuboidBody.mesh");
    7878        model_->setScale3D(Vector3(xSize_, 30, zSize_));
    7979        model_->setPosition(Vector3(xPos_,0,zPos_));
Note: See TracChangeset for help on using the changeset viewer.