Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5465 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Nov 2, 2005, 9:01:12 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: vegetation rendering in the terrain (trees are now rendered correctly)

Location:
trunk/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/laser.cc

    r5458 r5465  
    5151  this->emitter->setParent(this);
    5252  this->emitter->setSpread(M_PI, M_PI);
    53   this->emitter->setEmissionRate(50.0);
     53  this->emitter->setEmissionRate(300.0);
    5454  this->emitter->setEmissionVelocity(50.0);
    5555}
     
    8383    Laser::explosionParticles->setName("LaserExplosionParticles");
    8484    Laser::explosionParticles->setLifeSpan(.5, .3);
    85     Laser::explosionParticles->setRadius(0.0, 5);
    86     Laser::explosionParticles->setRadius(.5, 10.0);
     85    Laser::explosionParticles->setRadius(0.0, 3.0);
     86    Laser::explosionParticles->setRadius(.5, 6.0);
    8787    Laser::explosionParticles->setRadius(1.0, 3.0);
    8888    Laser::explosionParticles->setColor(0.0, 1,1,0,.9);
  • trunk/src/world_entities/weapons/rocket.cc

    r5456 r5465  
    9797  if (unlikely(Rocket::explosionParticles == NULL))
    9898  {
    99     Rocket::explosionParticles = new ParticleSystem(1000, PARTICLE_SPRITE);
     99    Rocket::explosionParticles = new ParticleSystem(200, PARTICLE_SPRITE);
    100100    Rocket::explosionParticles->setName("RocketExplosionParticles");
    101     Rocket::explosionParticles->setLifeSpan(.5, .3);
     101    Rocket::explosionParticles->setLifeSpan(.6, .3);
    102102    Rocket::explosionParticles->setRadius(0.0, 10);
    103103    Rocket::explosionParticles->setRadius(.5, 20.0);
    104     Rocket::explosionParticles->setRadius(1.0, 3.0);
    105     Rocket::explosionParticles->setColor(0.0, 0,1,0,.9);
    106     Rocket::explosionParticles->setColor(0.5, .8,.8,0,.5);
     104    Rocket::explosionParticles->setRadius(1.0, 20.0);
     105    Rocket::explosionParticles->setColor(0.0, 0,1,0,1);
     106    Rocket::explosionParticles->setColor(0.5, .8,.8,0,.8);
     107    Rocket::explosionParticles->setColor(0.8, .8,.8,.3,.8);
    107108    Rocket::explosionParticles->setColor(1.0, 1,1,1,.0);
    108109  }
     
    164165  ParticleEngine::getInstance()->addConnection(this->emitter, Rocket::explosionParticles);
    165166
    166   this->emitter->setEmissionRate(30.0);
     167  this->emitter->setEmissionRate(1000.0);
    167168  this->emitter->setEmissionVelocity(50.0);
    168169//  this->deactivate();
Note: See TracChangeset for help on using the changeset viewer.