Changeset 5803 in orxonox.OLD for branches/world_entities/src
- Timestamp:
- Nov 28, 2005, 2:26:28 AM (19 years ago)
- Location:
- branches/world_entities/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/world_entities/src/lib/coord/p_node.cc
r5772 r5803 334 334 } 335 335 this->relDirection = relDir; 336 336 337 this->bRelCoorChanged = true; 337 338 } … … 363 364 *this->toDirection = relDirSoft; 364 365 this->bias = bias; 366 this->bRelDirChanged = true; 365 367 } 366 368 -
branches/world_entities/src/world_entities/weapons/cannon.cc
r5750 r5803 87 87 //this->minCharge = 2; 88 88 89 this->setActionSound(WA_SHOOT, "sound/shot1.wav"); 89 this->setActionSound(WA_SHOOT, "sound/explo.wav"); 90 this->setActionSound(WA_ACTIVATE, "sound/voices/cannon.wav"); 90 91 91 92 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); -
branches/world_entities/src/world_entities/weapons/rocket.cc
r5779 r5803 46 46 this->energyMin = 1; 47 47 this->energyMax = 10; 48 this->lifeSpan = 2;48 this->lifeSpan = 5; 49 49 50 50 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5); -
branches/world_entities/src/world_entities/weapons/test_gun.cc
r5750 r5803 131 131 //this->minCharge = 2; 132 132 133 this->setActionSound(WA_SHOOT, "sound/shot1.wav"); 133 this->setActionSound(WA_SHOOT, "sound/laser.wav"); 134 this->setActionSound(WA_ACTIVATE, "sound/voices/lasers.wav"); 135 134 136 135 137 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); -
branches/world_entities/src/world_entities/weapons/turret.cc
r5801 r5803 136 136 return; 137 137 138 pj->setVelocity(this->getVelocity()+(this->getAbsDir().apply(Vector(1,0,0))*100.0 + VECTOR_RAND(13)138 pj->setVelocity(this->getVelocity()+(this->getAbsDir().apply(Vector(1,0,0))*100.0 /*+ VECTOR_RAND(13) */ 139 139 /*target->getAbsCoor() - this->getAbsCoor()*/)*.5);//this->getVelocity()); 140 140
Note: See TracChangeset
for help on using the changeset viewer.