Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6803 in orxonox.OLD for trunk/src/world_entities/weapons/cannon.cc


Ignore:
Timestamp:
Jan 28, 2006, 11:14:40 AM (18 years ago)
Author:
bensch
Message:

trunk: WeaponManager fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/cannon.cc

    r6799 r6803  
    7474//  this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN);
    7575
    76   this->loadModel("models/guns/plasmadriver_#.obj");
     76  this->loadModel("models/guns/plasmadriver_#.obj", 2.0);
    7777
    7878  this->setStateDuration(WS_SHOOTING, 2.0);
     
    8888  this->setActionSound(WA_ACTIVATE, "sound/voices/cannon.wav");
    8989
    90   this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
     90  this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_HEAVY);
    9191  this->setProjectileType(CL_BOMB);
    9292  this->prepareProjectiles(5);
Note: See TracChangeset for help on using the changeset viewer.