Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 6, 2008, 6:36:56 PM (17 years ago)
Author:
landauf
Message:

changed default values of Projectile: lifetime_ = 4 and speed_ = 5000
you might want to change this in your orxonox.ini too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Projectile.cc

    r1553 r1554  
    4343namespace orxonox
    4444{
    45     float Projectile::speed_ = 2000;
     45    float Projectile::speed_ = 5000;
    4646
    4747    Projectile::Projectile(SpaceShip* owner) : owner_(owner)
     
    7272    {
    7373        SetConfigValue(damage_, 15.0).description("The damage caused by the projectile");
    74         SetConfigValue(lifetime_, 5.0).description("The time in seconds a projectile stays alive");
    75         SetConfigValue(speed_, 2000.0).description("The speed of a projectile in units per second");
     74        SetConfigValue(lifetime_, 4.0).description("The time in seconds a projectile stays alive");
     75        SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second");
    7676
    7777        this->setVelocity(this->owner_->getInitialDir() * this->speed_);
Note: See TracChangeset for help on using the changeset viewer.