Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8549


Ignore:
Timestamp:
May 23, 2011, 5:46:47 PM (14 years ago)
Author:
simonmie
Message:

some more comments, fixed initial damage missetting

Location:
code/branches/gameimmersion
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gameimmersion/data/levels/includes/weaponSettingsImmTest.oxi

    r8538 r8549  
    3030          <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
    3131          <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
    32           <LightningGun mode=1 muzzleoffset="0,0,0" damage=0 shielddamage=5 healthdamage=200 />
     32          <LightningGun mode=1 muzzleoffset="0,0,0" shielddamage=5 />
    3333        </Weapon>
    3434        <Weapon>
     
    4040          <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" />
    4141          <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-0.1, 1.6, -2.0" />
    42           <LightningGun mode=1 muzzleoffset="0,0,0" damage=0 shielddamage=5 healthdamage=200 />
     42          <LightningGun mode=1 muzzleoffset="0,0,0" healthdamage=0 shielddamage=500 />
    4343        </Weapon>
    4444        <Weapon>
    45           <SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=50 />
    46           <RocketFire mode=3 muzzleoffset="0,0,0" damage=100 />
     45          <SimpleRocketFire mode=2 muzzleoffset="0,0,0" shielddamage=50 />
     46          <RocketFire mode=3 muzzleoffset="0,0,0" healthdamage=80 shielddamage=20 />
    4747        </Weapon>
    4848      </WeaponPack>
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/EnergyDrink.cc

    r8542 r8549  
    5050
    5151        this->reloadTime_ = 0.25;
    52         this->damage_ = 15;
     52        this->damage_ = 0; //default 15
    5353        this->speed_ = 2500;
    5454        this->delay_ = 0;
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/FusionFire.cc

    r8542 r8549  
    4848        this->reloadTime_ = 1.0;
    4949        this->bParallelReload_ = false;
    50         this->damage_ = 40;
     50        this->damage_ = 0; //default 40
    5151        this->speed_ = 1250;
    5252
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/HsW01.cc

    r8542 r8549  
    5151
    5252        this->reloadTime_ = 0.25;
    53         this->damage_ = 15;
     53        this->damage_ = 0; //default 15
    5454        this->speed_ = 2500;
    5555        this->delay_ = 0;
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/LaserFire.cc

    r8542 r8549  
    4545
    4646        this->reloadTime_ = 0.25;
    47         this->damage_ = 15;
     47        this->damage_ = 0; //default 15
    4848        this->speed_ = 1250;
    4949
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/LightningGun.cc

    r8542 r8549  
    4545
    4646        this->reloadTime_ = 1;
    47         this->damage_ = 100;
     47        this->damage_ = 0; //default 100
    4848        this->speed_ = 150;
    4949
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/RocketFire.cc

    r8547 r8549  
    4848        this->reloadTime_ = 0.20f;
    4949        this->bParallelReload_ = false;
    50         this->damage_ = 100;
     50        this->damage_ = 0;
    5151        this->speed_ = 500;
    5252
  • code/branches/gameimmersion/src/modules/weapons/weaponmodes/SimpleRocketFire.cc

    r8547 r8549  
    5050        this->reloadTime_ = 1;
    5151        this->bParallelReload_ = false;
    52         this->damage_ = 100;
     52        this->damage_ = 0;
    5353        this->speed_ = 500;
    5454
  • code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.cc

    r8533 r8549  
    235235    void Pawn::damage(float damage, Pawn* originator)
    236236    {
     237                COUT(3) << "### alte damage-funktion ###" << endl;
    237238        if (this->getGametype() && this->getGametype()->allowPawnDamage(this, originator))
    238239        {
     
    246247                healthdamage += shielddamage-this->getShieldHealth();
    247248                this->setShieldHealth(0);
    248                 COUT(3) << "### SHIELD KAPUTT ###" << endl;
    249249            }
    250250
Note: See TracChangeset for help on using the changeset viewer.