Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

better ship, shoots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.