Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9223 in orxonox.OLD


Ignore:
Timestamp:
Jul 5, 2006, 1:24:51 PM (18 years ago)
Author:
bensch
Message:

better ship, shoots

Location:
branches/presentation/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/projectiles/boomerang_projectile.cc

    r9217 r9223  
    4242  this->setMinEnergy(1);
    4343  this->setHealthMax(10);
    44   this->lifeSpan = 4.0;
     44  this->lifeSpan = 2.0;
    4545  this->agility = 3.5;
    46   this->maxVelocity = 75;
     46  this->maxVelocity = 150;
    4747
    4848  this->emitter = new DotEmitter(100, 5, M_2_PI);
  • branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc

    r9206 r9223  
    9090  wpLeft->setName("Cannon_Left");
    9191
    92   Weapon* turretLeft = dynamic_cast<Weapon*>(Factory::fabricate(CL_TARGETING_TURRET));
     92  Weapon* turretLeft = dynamic_cast<Weapon*>(Factory::fabricate(CL_BOOMERANG_GUN));
    9393  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));
    9595  wpLeft->setName("Turret_Right");
    9696
     
    200200  this->getWeaponManager().setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    201201
    202   this->getWeaponManager().setSlotPosition(2, Vector(-1.63, .809, -.003));
    203   this->getWeaponManager().setSlotCapability(2, WTYPE_HEAVY);
    204 
    205202  /// 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)));
    211208
    212209  this->cameraNode.setRelCoor(1,5,0);
Note: See TracChangeset for help on using the changeset viewer.