Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 24, 2015, 10:51:18 PM (10 years ago)
Author:
fvultier
Message:

There is now a HUD that shows the status of the weapon system: all weapons, weapon modes and their munition. Progress bars show the progress of replenishing munition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fabienHS15/src/modules/weapons/munitions/LaserMunition.cc

    r9667 r10688  
    2828
    2929/**
    30     @file LaserMunition.h
     30    @file LaserMunition.cc
    3131    @brief Implementation of the LaserMunition class.
    3232*/
     
    4343        RegisterObject(LaserMunition);
    4444
    45         this->maxMunitionPerMagazine_ = 20;
    46         this->maxMagazines_ = 1;
    47         this->magazines_ = 1;
     45        this->maxMunitionPerMagazine_ = 10;
     46        this->maxMagazines_ = 10;
     47        this->magazines_ = 10;
    4848
    49         this->bUseSeparateMagazines_ = false;
    50         this->bStackMunition_ = true;
     49        this->deployment_ = DEPLOYMENT_SEPARATE;
    5150
    5251        this->bAllowMunitionRefilling_ = true;
     
    5554        this->replenishInterval_ = 0.5f;
    5655        this->replenishMunitionAmount_ = 1;
     56
     57        this->reloadTime_ = 0.8f;
    5758    }
    5859}
Note: See TracChangeset for help on using the changeset viewer.