Changeset 10298 in orxonox.OLD for branches/playability/src/world_entities/space_ships
- Timestamp:
- Jan 21, 2007, 6:23:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10297 r10298 29 29 #include "weapons/spike_launcher.h" 30 30 #include "weapons/spike_thrower.h" 31 #include "weapons/acid_launcher.h" 31 32 #include "weapons/boomerang_gun.h" 32 33 #include "weapons/turret.h" … … 178 179 // spike2->setName( "SpikeLauncher" ); 179 180 181 Weapon* acid0 = new AcidLauncher(); 182 acid0->setName( "AcidSplasher" ); 183 184 Weapon* acid1 = new AcidLauncher(); 185 acid1->setName( "AcidSplasher" ); 186 180 187 this->weaponMan.addWeapon( wpLeft1, 0, 0); 181 188 this->weaponMan.addWeapon( wpRight1, 0, 1); … … 196 203 this->weaponMan.addWeapon( wpRight3, 3, 5); 197 204 198 this->secWeaponMan.addWeapon( cannon, 0, 0); 199 this->secWeaponMan.addWeapon( spike, 1, 1); 200 // this->secWeaponMan.addWeapon( spike2, 2, 2); 201 202 203 this->weaponMan.changeWeaponConfig(3); 205 this->weaponMan.addWeapon( acid0, 0, 6); 206 this->weaponMan.addWeapon( acid1, 0, 7); 207 208 this->secWeaponMan.addWeapon( cannon, 0, 2); 209 this->secWeaponMan.addWeapon( spike, 1, 3); 210 // this->secWeaponMan.addWeapon( acid0, 2, 2); 211 // this->secWeaponMan.addWeapon( acid1, 2, 3); 212 213 214 this->weaponMan.changeWeaponConfig(0); 204 215 this->secWeaponMan.changeWeaponConfig(1); 205 216 … … 236 247 237 248 bForward = bBackward = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = bFire = bSecFire = false; 238 239 249 240 250 this->setHealthMax(shieldMax); … … 288 298 this->secWeaponMan.setParentEntity( this); 289 299 290 this->weaponMan.setSlotCount( 6);300 this->weaponMan.setSlotCount(8); 291 301 292 302 this->weaponMan.setSlotPosition(0, Vector(0.0, 0, -3.0)); … … 307 317 this->weaponMan.setSlotPosition(5, Vector(1.5, 0, -.5)); 308 318 this->weaponMan.setSlotDirection(5, Quaternion(+M_PI_4*.5-M_PI, Vector(1,0,0))); 319 320 this->weaponMan.setSlotPosition(6, Vector(0.5, 0, 2.5)); 321 this->weaponMan.setSlotDirection(6, Quaternion(-M_PI_4*.5+M_PI, Vector(1,0,0))); 322 323 this->weaponMan.setSlotPosition(7, Vector(0.5, 0, -2.5)); 324 this->weaponMan.setSlotDirection(7, Quaternion(+M_PI_4*.5-M_PI, Vector(1,0,0))); 309 325 310 326 this->secWeaponMan.setSlotCount(6);
Note: See TracChangeset
for help on using the changeset viewer.