Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9171 in orxonox.OLD


Ignore:
Timestamp:
Jul 4, 2006, 9:45:32 PM (18 years ago)
Author:
bensch
Message:

better npc

Location:
branches/presentation/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/effects/explosion.cc

    r7120 r9171  
    4040  this->toList(OM_DEAD_TICK);
    4141
    42   this->emitter = new BoxEmitter(Vector(10,10,10), 500, 45, M_2_PI);
     42  this->emitter = new BoxEmitter(Vector(10,10,10), 200, 45, M_2_PI);
    4343  this->emitter->addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT);
    4444  this->emitter->setParent(this);
     
    8383    Explosion::explosionParticles->setLifeSpan(1.5, .3);
    8484    Explosion::explosionParticles->setRadius(0.0, 10);
    85     Explosion::explosionParticles->setRadius(.5, 15.0);
     85    Explosion::explosionParticles->setRadius(.5, 30.0);
    8686    Explosion::explosionParticles->setRadius(1.0, 10.0);
    8787    Explosion::explosionParticles->setColor(0.0, 1,0,0,1);
  • branches/presentation/src/world_entities/npcs/npc_test.cc

    r9164 r9171  
    100100  glMultMatrixf((float*)matrix);
    101101
    102   if (this->shader != NULL && this->shader != Shader::getActiveShader())
    103     shader->activateShader();
     102//   if (this->shader != NULL && this->shader != Shader::getActiveShader())
     103//     shader->activateShader();
    104104
    105105  this->getModel()->draw();
    106   shader->deactivateShader();
     106//   shader->deactivateShader();
    107107
    108108
  • branches/presentation/src/world_entities/space_ships/cruizer.cc

    r9061 r9171  
    7878  dynamic_cast<Element2D*>(this->getWeaponManager().getFixedTarget())->setVisibility( false);
    7979
    80   this->loadModel("models/ships/human_cruizer.obj", 0.05);
     80 // this->loadModel("models/ships/human_cruizer.obj", 0.05);
    8181
    8282}
Note: See TracChangeset for help on using the changeset viewer.