Changeset 10713 in orxonox.OLD for branches/presentation/src/world_entities/npcs
- Timestamp:
- Jun 18, 2007, 2:00:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/actionbox_enemy.cc
r10712 r10713 321 321 explosionParticles = new SpriteParticles(200); 322 322 explosionParticles->setName("SpaceShipExplosionParticles"); 323 explosionParticles->setLifeSpan(. 2, .3);323 explosionParticles->setLifeSpan(.3, .7); 324 324 explosionParticles->setRadius(0.0, 10.0); 325 325 explosionParticles->setRadius(.5, 6.0); … … 334 334 emitter->setEmissionRate( 200.0); 335 335 336 node = new EmitterNode( . 1f);336 node = new EmitterNode( .4f ); 337 337 node->setupParticle( emitter, explosionParticles); 338 338 node->setAbsDir( this->getAbsDir()); … … 343 343 344 344 this->setAbsCoor( this->getAbsCoor() + Vector(100,0,0) + Vector(1,0,0) * VECTOR_RAND(150).dot(Vector(1,0,0))); 345 } 345 346 toList( OM_DEAD ); 347 }
Note: See TracChangeset
for help on using the changeset viewer.