Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5048 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Aug 16, 2005, 9:35:31 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: debug, and shoot-intervall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/test_gun.cc

    r5041 r5048  
    120120  this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN);
    121121
    122   this->setStateDuration(WS_SHOOTING, .4);
     122  this->setStateDuration(WS_SHOOTING, .1);
    123123  this->setStateDuration(WS_RELOADING, 1);
    124124  this->setStateDuration(WS_ACTIVATING, .4);
    125125  this->setStateDuration(WS_DEACTIVATING, .4);
    126126
    127   this->setMaximumEnergy(1000, 10);
    128   this->increaseEnergy(100);
     127  this->setMaximumEnergy(1000, 100);
     128  this->increaseEnergy(1000);
    129129  //this->minCharge = 2;
    130130
Note: See TracChangeset for help on using the changeset viewer.