Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 4, 2019, 4:37:19 PM (6 years ago)
Author:
pomselj
Message:

weapon stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/BallGun/BallMunition.cc

    r12254 r12281  
    3939    RegisterClass(BallMunition);
    4040
    41     BallMunition::BallMunition(Context* context) : Munition(context)
     41    BallMunition::BallMunition(Context* context) : ReplenishingMunition(context)
    4242    {
    4343        RegisterObject(BallMunition);
    4444
    45         this->maxMunitionPerMagazine_ = 1;
    46         this->maxMagazines_ = 50;
    47         this->unassignedMagazines_ = 25;
     45        this->maxMunitionPerMagazine_ = 20;
     46        this->maxMagazines_ = 10;
     47        this->unassignedMagazines_ = 10;
    4848
    49         this->deployment_ = MunitionDeployment::Stack;
     49        this->deployment_ = MunitionDeployment::Separate;
    5050
    5151        this->bAllowMunitionRefilling_ = true;
    52         this->bAllowMultiMunitionRemovementUnderflow_ = false;
     52        this->bAllowMultiMunitionRemovementUnderflow_ = true;
    5353
    54         this->reloadTime_ = 0.5f;
     54        this->replenishInterval_ = 7.0f;
     55        this->replenishAmount_ = 1;
     56
     57        this->reloadTime_ = 0.6f;
    5558    }
    5659}
Note: See TracChangeset for help on using the changeset viewer.