Changeset 6205 in orxonox.OLD for branches/christmas_branche
- Timestamp:
- Dec 21, 2005, 1:25:00 AM (19 years ago)
- Location:
- branches/christmas_branche/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/lib/graphics/importer/md2Model.cc
r6203 r6205 51 51 { 0, 39, 9, 1 }, //!< STAND 52 52 { 40, 45, 10, 1 }, //!< RUN 53 { 46, 53, 10, 1}, //!< ATTACK53 { 46, 53, 10, 0 }, //!< ATTACK 54 54 { 54, 57, 7, 1 }, //!< PAIN_A 55 55 { 58, 61, 7, 1 }, //!< PAIN_B … … 355 355 356 356 // this->scaleFactor = 1.0f; 357 this->scaleFactor = 0. 2f;357 this->scaleFactor = 0.1f; 358 358 359 359 this->fileName = NULL; -
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.