Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9609 in orxonox.OLD


Ignore:
Timestamp:
Jul 30, 2006, 11:17:43 AM (18 years ago)
Author:
bensch
Message:

orxonox/proxy: addapted visibility of the node

Location:
branches/proxy/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/npcs/network_turret.cc

    r9608 r9609  
    6363{
    6464  this->setClassID(CL_NETWORK_TURRET, "NetworkTurret");
    65   this->loadModel("models/network_turret_#.obj", 5);
     65  this->loadModel("models/ground_turret_#.obj", 5);
     66
    6667  this->weapon = new TargetingTurret();
    6768  this->weapon->loadModel("models/guns/turret2.obj", 10);
     69  this->weapon->setParent(this);
     70  this->weapon->toList(this->getOMListNumber());
     71  this->weapon->setRelCoor(0,10,-5);
     72  this->weapon->requestAction( WA_ACTIVATE);
     73  this->weapon->setParent(&this->weaponHolder);
    6874
    6975  this->setHealthMax(300);
  • branches/proxy/src/world_entities/space_ships/hover.cc

    r9549 r9609  
    282282  this->movement(dt);
    283283  this->rotorCycle += this->rotorSpeed * dt;
    284 
    285   this->debugNode(1);
    286284}
    287285
     
    332330  this->shiftCoor (this->velocity * dt);
    333331
    334     // limit the maximum rotation speed.
     332  // limit the maximum rotation speed.
    335333  if (this->rotation != 0.0f)
    336334  {
Note: See TracChangeset for help on using the changeset viewer.