Changeset 12393 for code/branches/OrxoBlox_FS19
- Timestamp:
- May 16, 2019, 5:16:22 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw
r12391 r12393 50 50 51 51 52 < Template name=OrxoBloxstone>53 <OrxoBloxStones >52 <!-- <Template name=OrxoBloxstone> 53 <OrxoBloxStones collisionType=static> 54 54 <attached> 55 <Model position="0,0,0" mesh="CuboidBody.mesh" scale =4.5/>55 <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="4.5,4.5,4.5" /> 56 56 <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 /> 57 57 </attached> 58 <collisionShapes> 59 <BoxCollisionShape position="0,0,0" halfExtents="4.5, 4.5, 4.5" />60 </collisionShapes> 58 <collisionShapes> 59 <BoxCollisionShape position="0,0,0" halfExtents="2,2,2" /> 60 </collisionShapes> 61 61 </OrxoBloxStones> 62 </Template> 62 </Template> --> 63 64 <!-- <StaticEntity position="0,-10000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 > --> 65 63 66 64 67 … … 69 72 </Template> 70 73 71 74 72 75 <Level 73 76 plugins = "OrxoBlox" … … 85 88 skybox = "Orxonox/skyBoxBasic" 86 89 > 90 87 91 <!-- <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"/> --> 88 92 <Light type=directional position="-100, 10000, -700" direction="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> … … 104 108 </OrxoBloxCenterpoint> 105 109 110 106 111 107 112 </Scene> -
code/branches/OrxoBlox_FS19/data/levels/templates/spaceshipOrxoBlox.oxt
r12373 r12393 94 94 </MultiStateEngine> 95 95 </Template> 96 97 98 <Template name=OrxoBloxstone> 99 <OrxoBloxStones collisionType=dynamic> 100 <attached> 101 <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="4.5,4.5,4.5" /> 102 <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 /> 103 </attached> 104 <collisionShapes> 105 <BoxCollisionShape position="0,0,0" halfExtents="2,2,2" /> 106 </collisionShapes> 107 </OrxoBloxStones> 108 </Template> -
code/branches/OrxoBlox_FS19/data/overlays/OrxoBloxHUD.oxo
r12382 r12393 28 28 colour = "1.0, 1.0, 1.0, 1.0" 29 29 align = "left" 30 30 31 showhealth = true 31 32 /> 32 33 … … 34 35 </OverlayGroup> 35 36 </Template> 36 <Template name="spaceshiphud"> 37 <OverlayGroup name = "spaceshiphud" scale = "1, 1"> 38 <HUDNavigation 39 name = "Navigation" 40 correctaspect = true 41 font = "Monofur" 42 textsize = 0 43 navMarkerSize = 0.06 44 aimMarkerSize = 0 45 healthMarkerSize = 0 46 healthLevelMarkerSize = 0 47 /> 48 </OverlayGroup> 49 </Template> 37 50 38 51 39 -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.cc
r12360 r12393 13 13 Constructor. Registers and initializes the object. 14 14 */ 15 OrxoBloxStones::OrxoBloxStones(Context* context) : StaticEntity(context)15 OrxoBloxStones::OrxoBloxStones(Context* context) : Pawn(context) 16 16 { 17 17 RegisterObject(OrxoBloxStones); -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.h
r12360 r12393 7 7 8 8 #include "worldentities/StaticEntity.h" 9 #include "worldentities/pawns/Pawn.h" 9 10 #include "tools/Timer.h" 10 11 … … 19 20 @ingroup OrxoBlox 20 21 */ 21 class _OrxoBloxExport OrxoBloxStones : public StaticEntity22 class _OrxoBloxExport OrxoBloxStones : public Pawn 22 23 { 23 24 public: -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxWall.cc
r12392 r12393 35 35 this->size_ = 9.0f; 36 36 OrxoBloxStones* stone = new OrxoBloxStones(this->center_->getContext()); 37 stone->addTemplate(this->orxoblox_->getCenterpoint()->getStoneTemplate()); 37 38 if (stone == nullptr) { 38 39 std::abort(); -
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.cc
r12388 r12393 142 142 Bounce(otherObject, contactPoint, cs); 143 143 orxout() << "BOUNCED!" << endl; 144 144 145 } 145 146 }
Note: See TracChangeset
for help on using the changeset viewer.