Changeset 10644 in orxonox.OLD for branches/vs-enhencements/src/world_entities/space_ships
- Timestamp:
- Apr 29, 2007, 9:58:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc
r10642 r10644 157 157 //weapons: 158 158 159 Weapon* wpRight 1 = new LightBlaster();160 wpRight 1->setName( "LightBlaster");161 Weapon* wpLeft 1 = new LightBlaster();162 wpLeft 1->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 (); 165 165 wpRight1->setName( "RFCannon"); 166 //Weapon* wpLeft1 = new RFCannon ();166 Weapon* wpLeft1 = new RFCannon (); 167 167 wpLeft1->setName( "RFCannon"); 168 168 … … 181 181 182 182 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); 200 206 201 207 … … 299 305 this->weaponMan.setSlotCount(8); 300 306 301 this->weaponMan.setSlotPosition(0, Vector( 0.0, 0, -3.0));307 this->weaponMan.setSlotPosition(0, Vector(3.006, 1.028, .155)); 302 308 this->weaponMan.setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 303 309 304 this->weaponMan.setSlotPosition(1, Vector( 0.0, 0, 3.0));310 this->weaponMan.setSlotPosition(1, Vector(3.006, 1.028, -.155)); 305 311 this->weaponMan.setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 306 312 307 this->weaponMan.setSlotPosition(2, Vector( 1.0, 0, -1.5));313 this->weaponMan.setSlotPosition(2, Vector(4.03, .063, .876)); 308 314 this->weaponMan.setSlotDirection(2, Quaternion(-M_PI_4*.5, Vector(1,0,0))); 309 315 310 this->weaponMan.setSlotPosition(3, Vector( 1.0, 0, 1.5));316 this->weaponMan.setSlotPosition(3, Vector(4.03, -.063, -.876)); 311 317 this->weaponMan.setSlotDirection(3, Quaternion(M_PI_4*.5, Vector(1,0,0))); 312 318 313 this->weaponMan.setSlotPosition(4, Vector(1. 5, 0, .5));319 this->weaponMan.setSlotPosition(4, Vector(1.431, -.612, 2.691)); 314 320 this->weaponMan.setSlotDirection(4, Quaternion(-M_PI_4*.5+M_PI, Vector(1,0,0))); 315 321 316 this->weaponMan.setSlotPosition(5, Vector(1. 5, 0, -.5));322 this->weaponMan.setSlotPosition(5, Vector(1.431, -.612, -2.691)); 317 323 this->weaponMan.setSlotDirection(5, Quaternion(+M_PI_4*.5-M_PI, Vector(1,0,0))); 318 324 319 this->weaponMan.setSlotPosition(6, Vector( 0.5, 0, 2.5));325 this->weaponMan.setSlotPosition(6, Vector(1.431, -.612, 3.254)); 320 326 this->weaponMan.setSlotDirection(6, Quaternion(-M_PI_4*.5+M_PI, Vector(1,0,0))); 321 327 322 this->weaponMan.setSlotPosition(7, Vector( 0.5, 0, -2.5));328 this->weaponMan.setSlotPosition(7, Vector(1.431, -.612, -3.254)); 323 329 this->weaponMan.setSlotDirection(7, Quaternion(+M_PI_4*.5-M_PI, Vector(1,0,0))); 324 330 325 this->secWeaponMan.setSlotPosition(0, Vector(1.5, 0, 0));331 this->secWeaponMan.setSlotPosition(0, Vector(1.5, 3, 0)); 326 332 this->secWeaponMan.setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 327 333
Note: See TracChangeset
for help on using the changeset viewer.