Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 29, 2007, 9:58:18 PM (17 years ago)
Author:
nicolasc
Message:

update "weapon points"
refined the RFCannon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc

    r10642 r10644  
    157157  //weapons:
    158158
    159   Weapon* wpRight1 = new LightBlaster ();
    160   wpRight1->setName( "LightBlaster");
    161   Weapon* wpLeft1 = new LightBlaster ();
    162   wpLeft1->setName( "LightBlaster");
    163 
    164 //   Weapon* wpRight1 = new RFCannon ();
     159  Weapon* wpRight0 = new RFCannon ();
     160  wpRight0->setName( "RFCannon");
     161  Weapon* wpLeft0 = new RFCannon ();
     162  wpLeft0->setName( "RFCannon");
     163
     164  Weapon* wpRight1 = new RFCannon ();
    165165  wpRight1->setName( "RFCannon");
    166 //   Weapon* wpLeft1 = new RFCannon ();
     166  Weapon* wpLeft1 = new RFCannon ();
    167167  wpLeft1->setName( "RFCannon");
    168168
     
    181181
    182182
    183   this->weaponMan.addWeapon( wpLeft1, 0, 0);
    184   this->weaponMan.addWeapon( wpRight1, 0, 1);
    185 
    186   this->weaponMan.addWeapon( wpLeft2, 1, 2);
    187   this->weaponMan.addWeapon( wpRight2, 1, 3);
    188 
    189   this->weaponMan.addWeapon( wpLeft3, 2, 4);
    190   this->weaponMan.addWeapon( wpRight3, 2, 5);
    191 
    192   this->weaponMan.addWeapon( wpLeft1, 3, 0);
    193   this->weaponMan.addWeapon( wpRight1, 3, 1);
    194 
    195   this->weaponMan.addWeapon( wpLeft2, 3, 2);
    196   this->weaponMan.addWeapon( wpRight2, 3, 3);
    197 
    198   this->weaponMan.addWeapon( wpLeft3, 3, 4);
    199   this->weaponMan.addWeapon( wpRight3, 3, 5);
     183  this->weaponMan.addWeapon( wpLeft0, 0, 0);
     184  this->weaponMan.addWeapon( wpRight0, 0, 1);
     185
     186  this->weaponMan.addWeapon( wpLeft1, 0, 2);
     187  this->weaponMan.addWeapon( wpRight1, 0, 3);
     188
     189  this->weaponMan.addWeapon( wpLeft2, 1, 4);
     190  this->weaponMan.addWeapon( wpRight2, 1, 5);
     191
     192  this->weaponMan.addWeapon( wpLeft3, 2, 6);
     193  this->weaponMan.addWeapon( wpRight3, 2, 7);
     194
     195  this->weaponMan.addWeapon( wpLeft0, 3, 0);
     196  this->weaponMan.addWeapon( wpRight0, 3, 1);
     197
     198  this->weaponMan.addWeapon( wpLeft1, 3, 2);
     199  this->weaponMan.addWeapon( wpRight1, 3, 3);
     200
     201  this->weaponMan.addWeapon( wpLeft2, 3, 4);
     202  this->weaponMan.addWeapon( wpRight2, 3, 5);
     203
     204  this->weaponMan.addWeapon( wpLeft3, 3, 6);
     205  this->weaponMan.addWeapon( wpRight3, 3, 7);
    200206
    201207
     
    299305  this->weaponMan.setSlotCount(8);
    300306
    301   this->weaponMan.setSlotPosition(0, Vector(0.0, 0, -3.0));
     307  this->weaponMan.setSlotPosition(0, Vector(3.006, 1.028, .155));
    302308  this->weaponMan.setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    303309
    304   this->weaponMan.setSlotPosition(1, Vector(0.0, 0, 3.0));
     310  this->weaponMan.setSlotPosition(1, Vector(3.006, 1.028, -.155));
    305311  this->weaponMan.setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    306312
    307   this->weaponMan.setSlotPosition(2, Vector(1.0, 0, -1.5));
     313  this->weaponMan.setSlotPosition(2, Vector(4.03, .063, .876));
    308314  this->weaponMan.setSlotDirection(2, Quaternion(-M_PI_4*.5, Vector(1,0,0)));
    309315
    310   this->weaponMan.setSlotPosition(3, Vector(1.0, 0, 1.5));
     316  this->weaponMan.setSlotPosition(3, Vector(4.03, -.063, -.876));
    311317  this->weaponMan.setSlotDirection(3, Quaternion(M_PI_4*.5, Vector(1,0,0)));
    312318
    313   this->weaponMan.setSlotPosition(4, Vector(1.5, 0, .5));
     319  this->weaponMan.setSlotPosition(4, Vector(1.431, -.612, 2.691));
    314320  this->weaponMan.setSlotDirection(4, Quaternion(-M_PI_4*.5+M_PI, Vector(1,0,0)));
    315321
    316   this->weaponMan.setSlotPosition(5, Vector(1.5, 0, -.5));
     322  this->weaponMan.setSlotPosition(5, Vector(1.431, -.612, -2.691));
    317323  this->weaponMan.setSlotDirection(5, Quaternion(+M_PI_4*.5-M_PI, Vector(1,0,0)));
    318324
    319   this->weaponMan.setSlotPosition(6, Vector(0.5, 0, 2.5));
     325  this->weaponMan.setSlotPosition(6, Vector(1.431, -.612, 3.254));
    320326  this->weaponMan.setSlotDirection(6, Quaternion(-M_PI_4*.5+M_PI, Vector(1,0,0)));
    321327
    322   this->weaponMan.setSlotPosition(7, Vector(0.5, 0, -2.5));
     328  this->weaponMan.setSlotPosition(7, Vector(1.431, -.612, -3.254));
    323329  this->weaponMan.setSlotDirection(7, Quaternion(+M_PI_4*.5-M_PI, Vector(1,0,0)));
    324330
    325   this->secWeaponMan.setSlotPosition(0, Vector(1.5, 0, 0));
     331  this->secWeaponMan.setSlotPosition(0, Vector(1.5, 3, 0));
    326332  this->secWeaponMan.setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    327333
Note: See TracChangeset for help on using the changeset viewer.