Changeset 12168 for code/branches
- Timestamp:
- Dec 7, 2018, 4:40:29 PM (6 years ago)
- Location:
- code/branches/OrxoKart_HS18
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/data/levels/templates/OrxoKartKart.oxt
r12155 r12168 31 31 32 32 collisionType = "dynamic" 33 mass = 10034 linearDamping = 0. 235 angularDamping = 0.999 999933 mass = 2000 34 linearDamping = 0.5 35 angularDamping = 0.999 36 36 > 37 37 <engines> … … 40 40 <attached> 41 41 <Model position="0,0,-20" mesh="hovership_body.mesh" scale="5" yaw=180/> 42 <Model position="0,0,-20" mesh="hovership_engine.mesh" scale="5" yaw=180/> 43 <Model position="0,0,-20" mesh="hovership_gun.mesh" scale="5" yaw=180/> 44 42 <Model position="0,0,-20" mesh="hovership_engine.mesh" scale="5" yaw=180/> 45 43 </attached> 46 44 <collisionShapes> … … 57 55 <ExplosionPart mesh="explosionparts/pirate_part_4.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 58 56 </explosion> 59 60 <?lua61 include("../includes/weaponSettingsHover.oxi")62 ?>63 57 </SpaceShip> 64 58 </Template> -
code/branches/OrxoKart_HS18/data/tcl/orxokart_highscores.txt
r12167 r12168 14 14 Name: 0:21:87s 15 15 Name: 0:50:45s 16 Name: 0:26:64s 16 Name: 0:27:45s 17 Name: 0:33:17s 18 Name: 0:31:46s 19 Name: 0:25:40s -
code/branches/OrxoKart_HS18/src/modules/orxokart/KartController.h
r12147 r12168 34 34 35 35 #include "OrxoKartPrereqs.h" 36 37 36 #include "controllers/HumanController.h" 38 37 -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKart.cc
r12156 r12168 163 163 } 164 164 else { 165 orxout() << " Should not happen, look in OrxoKart.cc";165 //orxout() << " Should not happen, look in OrxoKart.cc"; 166 166 } 167 167 168 168 169 169 170 orxout() << numberOfShrooms << endl;170 //orxout() << numberOfShrooms << endl; 171 171 172 172 173 173 // Check if ship collided with the flag, flag is the bottom that is responsible for the game to detect the spaceship falling. 174 174 if(flag_->getCollided()){ 175 orxout() << numberOfShrooms << endl;175 //orxout() << numberOfShrooms << endl; 176 176 player = flag_->getObjectofCollision(); 177 177 if (level == 1) … … 187 187 188 188 if (player && player->isBoosting()) { 189 orxout() << "Boosting" << endl;189 //orxout() << "Boosting" << endl; 190 190 if(!numberOfShrooms) numberOfShrooms--; 191 191 } -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartKart.cc
r12147 r12168 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h> 36 #include "controllers/HumanController.h" 37 35 #include "KartController.h" 38 36 namespace orxonox 39 37 { 40 38 RegisterClass(OrxoKartKart); 41 39 40 void ControllableEntity::rotateYaw(const Vector2& value) 41 { 42 orxout() << "TEST CONTROLlER" << endl; 43 } 44 42 45 OrxoKartKart::OrxoKartKart(Context* context) : SpaceShip(context) 43 46 { 44 45 47 RegisterObject(OrxoKartKart); 46 enableCollisionCallback();47 48 } 48 49 … … 66 67 void OrxoKartKart::rotateYaw(const Vector2& value) 67 68 { 69 68 70 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() - value.x); 69 71 }
Note: See TracChangeset
for help on using the changeset viewer.