Changeset 9996 in orxonox.OLD for branches/playability/src
- Timestamp:
- Dec 3, 2006, 6:34:43 PM (18 years ago)
- Location:
- branches/playability/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r9987 r9996 133 133 134 134 //weapons: 135 Weapon* wpRight = new HeavyBlaster (); 136 wpRight->setName("Blaster Right"); 137 Weapon* wpLeft = new HeavyBlaster (); 138 wpLeft->setName("Blaster Left"); 135 Weapon* wpRight1 = new LightBlaster (); 136 wpRight1->setName("Light Blaster Right"); 137 Weapon* wpLeft1 = new LightBlaster (); 138 wpLeft1->setName("Medium Blaster Left"); 139 140 Weapon* wpRight2 = new MediumBlaster (); 141 wpRight2->setName("Light Blaster Right"); 142 Weapon* wpLeft2 = new MediumBlaster (); 143 wpLeft2->setName("Medium Blaster Left"); 144 145 Weapon* wpRight3 = new HeavyBlaster (); 146 wpRight3->setName("Heavy Blaster Right"); 147 Weapon* wpLeft3 = new HeavyBlaster (); 148 wpLeft3->setName("Heavy Blaster Left"); 139 149 140 150 Weapon* cannon = new BoomerangGun();//Cannon(); … … 142 152 143 153 144 this->weaponMan.addWeapon( wpLeft, 0, 0); 145 this->weaponMan.addWeapon( wpRight, 0, 1); 154 this->weaponMan.addWeapon( wpLeft1, 0, 0); 155 this->weaponMan.addWeapon( wpRight1, 0, 1); 156 this->weaponMan.addWeapon( wpLeft2, 0, 2); 157 this->weaponMan.addWeapon( wpRight2, 0, 3); 158 this->weaponMan.addWeapon( wpLeft3, 0, 4); 159 this->weaponMan.addWeapon( wpRight3, 0, 5); 146 160 this->secWeaponMan.addWeapon( cannon, 0, 0); 147 161 148 162 this->weaponMan.changeWeaponConfig(0); 149 163 150 wpRight->requestAction(WA_ACTIVATE); 151 wpLeft->requestAction(WA_ACTIVATE); 164 wpRight1->requestAction(WA_ACTIVATE); 165 wpLeft1->requestAction(WA_ACTIVATE); 166 wpRight2->requestAction(WA_ACTIVATE); 167 wpLeft2->requestAction(WA_ACTIVATE); 168 wpRight3->requestAction(WA_ACTIVATE); 169 wpLeft3->requestAction(WA_ACTIVATE); 152 170 cannon->requestAction(WA_ACTIVATE); 153 171 -
branches/playability/src/world_entities/weapons/medium_blaster.cc
r9975 r9996 51 51 52 52 53 this->setStateDuration(WS_SHOOTING, 0. 05);53 this->setStateDuration(WS_SHOOTING, 0.2); 54 54 this->setStateDuration(WS_RELOADING, 0); 55 55 this->setStateDuration(WS_ACTIVATING, .5); -
branches/playability/src/world_entities/weapons/weapon_manager.cc
r9965 r9996 103 103 104 104 this->currentConfigID = 0; 105 this->slotCount = 2;105 this->slotCount = 6; 106 106 //this->weaponChange; 107 107
Note: See TracChangeset
for help on using the changeset viewer.