Changeset 10708
- Timestamp:
- Oct 26, 2015, 4:07:58 PM (9 years ago)
- Location:
- code/branches/hoverHS15
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hoverHS15/data/levels/Hover.oxw
r10700 r10708 36 36 <StaticEntity position="200,0,0" collisionType="static"> 37 37 <attached> 38 <Model position=" 0, 0,0" yaw="90" pitch="-90" roll="0" scale3D="300, 2, 30" mesh="cube_red.mesh" />39 <Model position=" -300, 0,0" yaw="90" pitch="-90" roll="0" scale3D="300, 2, 30" mesh="cube_red.mesh" />40 <Model position=" -150, 0,150" yaw="90" pitch="-90" roll="0" scale3D="2, 300, 30" mesh="cube_green.mesh" />41 <Model position=" -150, 0,-150" yaw="90" pitch="-90" roll="0" scale3D="2, 300, 30" mesh="cube_green.mesh" />38 <Model position="500, 0, 0" yaw="0" pitch="0" roll="0" scale3D="500, 30, 2" mesh="cube_red.mesh" /> 39 <Model position="500, 0, 1000" yaw="0" pitch="0" roll="0" scale3D="500, 30, 2" mesh="cube_red.mesh" /> 40 <Model position="0, 0, 500" yaw="0" pitch="0" roll="0" scale3D="2, 30, 500" mesh="cube_green.mesh" /> 41 <Model position="1000, 0, 500" yaw="0" pitch="0" roll="0" scale3D="2, 30, 500" mesh="cube_green.mesh" /> 42 42 </attached> 43 43 <collisionShapes> 44 <BoxCollisionShape yaw="90" pitch="-90" roll="0" position="0,0,0" halfExtents="300, 2, 30" /> 45 <BoxCollisionShape yaw="90" pitch="-90" roll="0" position="-300,0,0" halfExtents="300, 2, 30" /> 44 <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,0" halfExtents="500, 30, 2" /> 45 <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,1000" halfExtents="500, 30, 2" /> 46 <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,500" halfExtents="2, 30, 500" /> 47 <BoxCollisionShape yaw="0" pitch="0" roll="0" position="1000,500,0" halfExtents="2, 30, 500" /> 48 46 49 </collisionShapes> 47 50 </StaticEntity> 48 51 49 <StaticEntity position="0, -10,0" collisionType="static">52 <StaticEntity position="0,0,0" collisionType="static"> 50 53 <attached> 51 54 <Model position="0, 0,0" yaw="0" pitch="0" roll="0" scale3D="10000, 1, 10000" mesh="CubeGround.mesh" /> 52 55 </attached> 53 56 <collisionShapes> 54 <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,0" halfExtents="1 0000, 1, 10000" />57 <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,0" halfExtents="1, 1, 1" /> 55 58 </collisionShapes> 56 59 </StaticEntity> … … 59 62 60 63 <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"/> 61 <SpawnPoint team=0 position="0, 0,0" lookat="10,0,0" spawnclass=SpaceShip pawndesign=spaceshippirate />64 <SpawnPoint team=0 position="0,100,0" lookat="100,100,0" spawnclass=SpaceShip pawndesign=spaceshippirate /> 62 65 63 66 </Scene> -
code/branches/hoverHS15/src/modules/hover/CMakeLists.txt
r10658 r10708 2 2 Hover.cc 3 3 HoverShip.cc 4 HoverWall.cc 4 5 ) 5 6 … … 8 9 FIND_HEADER_FILES 9 10 LINK_LIBRARIES 11 objects 10 12 orxonox 11 13 overlays -
code/branches/hoverHS15/src/modules/hover/Hover.cc
r10664 r10708 34 34 //#include "orxonox/worldentities/pawns/SpaceShip.h" 35 35 #include "Hover.h" 36 //#include "HoverShip.h" // Necessary for getPlayer function. Do NOT include this in Header! 36 37 #include "HoverWall.h" 37 38 #include "core/CoreIncludes.h" 38 39 … … 43 44 Hover::Hover(Context* context) : Gametype(context) 44 45 { 46 45 47 RegisterObject(Hover); 46 48 new HoverWall(context); 47 49 //this->setHUDTemplate("HoverHUD"); 48 50 } … … 52 54 void Hover::tick(float dt) 53 55 { 54 55 56 SUPER(Hover, tick, dt); 56 57 } … … 61 62 { 62 63 63 64 64 // Call start for the parent class. 65 65 Gametype::start(); 66 66 67 } 67 68 -
code/branches/hoverHS15/src/modules/hover/HoverPrereqs.h
r10664 r10708 70 70 class Hover; 71 71 class HoverShip; 72 class HoverWall; 72 73 } 73 74
Note: See TracChangeset
for help on using the changeset viewer.