Changeset 9223 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 5, 2006, 1:24:51 PM (19 years ago)
- Location:
- branches/presentation/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/projectiles/boomerang_projectile.cc
r9217 r9223 42 42 this->setMinEnergy(1); 43 43 this->setHealthMax(10); 44 this->lifeSpan = 4.0;44 this->lifeSpan = 2.0; 45 45 this->agility = 3.5; 46 this->maxVelocity = 75;46 this->maxVelocity = 150; 47 47 48 48 this->emitter = new DotEmitter(100, 5, M_2_PI); -
branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc
r9206 r9223 90 90 wpLeft->setName("Cannon_Left"); 91 91 92 Weapon* turretLeft = dynamic_cast<Weapon*>(Factory::fabricate(CL_ TARGETING_TURRET));92 Weapon* turretLeft = dynamic_cast<Weapon*>(Factory::fabricate(CL_BOOMERANG_GUN)); 93 93 wpRight->setName("Turret_Left"); 94 Weapon* turretRight = dynamic_cast<Weapon*>(Factory::fabricate(CL_ TARGETING_TURRET));94 Weapon* turretRight = dynamic_cast<Weapon*>(Factory::fabricate(CL_BOOMERANG_GUN)); 95 95 wpLeft->setName("Turret_Right"); 96 96 … … 200 200 this->getWeaponManager().setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 201 201 202 this->getWeaponManager().setSlotPosition(2, Vector(-1.63, .809, -.003));203 this->getWeaponManager().setSlotCapability(2, WTYPE_HEAVY);204 205 202 /// TODO: THESE ARE TOO MUCH 206 this->getWeaponManager().setSlotPosition( 3, Vector(-0.351, -.238, 1.406) * 5.0);207 this->getWeaponManager().setSlotDirection( 3, Quaternion(-122/180 * M_PI, Vector(0,1,0)));208 209 this->getWeaponManager().setSlotPosition( 4, Vector(-0.351, -.238, -1.406) * 5.0);210 this->getWeaponManager().setSlotDirection( 4, Quaternion(122/180 * M_PI, Vector(0,1,0)));203 this->getWeaponManager().setSlotPosition(2, Vector(-0.351, -.238, 1.406) * 5.0); 204 this->getWeaponManager().setSlotDirection(2, Quaternion(-1.7, Vector(0,1,0))); 205 206 this->getWeaponManager().setSlotPosition(3, Vector(-0.351, -.238, -1.406) * 5.0); 207 this->getWeaponManager().setSlotDirection(3, Quaternion(1.7, Vector(0,1,0))); 211 208 212 209 this->cameraNode.setRelCoor(1,5,0);
Note: See TracChangeset
for help on using the changeset viewer.