Changeset 10152 in orxonox.OLD for branches/playability/src/world_entities/space_ships
- Timestamp:
- Dec 27, 2006, 12:03:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10139 r10152 161 161 //wpLeft2->setParent( this); 162 162 163 Weapon* wpRight3 = new HeavyBlaster ( );163 Weapon* wpRight3 = new HeavyBlaster (1); 164 164 wpRight3->setName( "HeavyBlaster"); 165 165 //wpRight3->setParent( this); 166 Weapon* wpLeft3 = new HeavyBlaster ( );166 Weapon* wpLeft3 = new HeavyBlaster (0); 167 167 wpLeft3->setName( "HeavyBlaster"); 168 168 //wpLeft3->setParent( this); … … 182 182 this->weaponMan.addWeapon( wpRight3, 2, 5); 183 183 184 this->weaponMan.addWeapon( wpLeft1, 3, 0); 185 this->weaponMan.addWeapon( wpRight1, 3, 1); 186 187 this->weaponMan.addWeapon( wpLeft2, 3, 2); 188 this->weaponMan.addWeapon( wpRight2, 3, 3); 189 190 this->weaponMan.addWeapon( wpLeft3, 3, 4); 191 this->weaponMan.addWeapon( wpRight3, 3, 5); 192 184 193 this->secWeaponMan.addWeapon( cannon, 0, 0); 185 194 186 195 187 this->weaponMan.changeWeaponConfig( 2);196 this->weaponMan.changeWeaponConfig(3); 188 197 this->secWeaponMan.changeWeaponConfig(0); 189 198 … … 274 283 this->weaponMan.setSlotCount(6); 275 284 276 this->weaponMan.setSlotPosition(0, Vector( -2.6, 0, -3.0));285 this->weaponMan.setSlotPosition(0, Vector(0.0, 0, -3.0)); 277 286 this->weaponMan.setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 278 287 279 this->weaponMan.setSlotPosition(1, Vector( -2.6, 0, 3.0));288 this->weaponMan.setSlotPosition(1, Vector(0.0, 0, 3.0)); 280 289 this->weaponMan.setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 281 290
Note: See TracChangeset
for help on using the changeset viewer.