Changeset 6205 in orxonox.OLD for branches/christmas_branche/src/world_entities/creatures
- Timestamp:
- Dec 21, 2005, 1:25:00 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/creatures/md2_creature.cc
r6204 r6205 93 93 cannon->setName("BFG"); 94 94 95 //this->getWeaponManager()->addWeapon(wpLeft, 1, 0);96 //this->getWeaponManager()->addWeapon(wpRight,1 ,1);95 this->getWeaponManager()->addWeapon(wpLeft, 1, 0); 96 this->getWeaponManager()->addWeapon(wpRight,1 ,1); 97 97 // this->getWeaponManager()->addWeapon(cannon, 0, 6); 98 98 … … 149 149 this->getWeaponManager()->setSlotCount(7); 150 150 151 this->getWeaponManager()->setSlotPosition(0, Vector(- 2.6, .1, -3.0));151 this->getWeaponManager()->setSlotPosition(0, Vector(-0.5, .2, -1.9)); 152 152 this->getWeaponManager()->setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 153 153 154 this->getWeaponManager()->setSlotPosition(1, Vector(- 2.6, .1, 3.0));154 this->getWeaponManager()->setSlotPosition(1, Vector(-0.5, .2, 1.9)); 155 155 this->getWeaponManager()->setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 156 156 … … 261 261 { 262 262 ((MD2Model*)this->getModel(0))->setAnim(JUMP); 263 } 264 else if( this->bFire) 265 { 266 if( ((MD2Model*)this->getModel(0))->getAnim() != ATTACK) ((MD2Model*)this->getModel(0))->setAnim(ATTACK); 263 267 } 264 268 else if( fabs(move.len()) > 0.0f)
Note: See TracChangeset
for help on using the changeset viewer.