Changeset 9181 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 5, 2006, 1:10:41 AM (18 years ago)
- Location:
- branches/presentation/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/space_turret.cc
r9180 r9181 60 60 { 61 61 this->setClassID(CL_SPACE_TURRET, "SpaceTurret"); 62 this->loadModel("models/ground_turret_#.obj", 5);63 this->loadModel("models/comet.obj", .5, 3);62 this->loadModel("models/ground_turret_#.obj", 7.5); 63 this->loadModel("models/comet.obj", 1.0f, 3); 64 64 this->left = NULL; 65 65 this->right = NULL; … … 100 100 this->left->setParent(this); 101 101 this->left->toList(this->getOMListNumber()); 102 this->left->setRelCoor(0,1 0,-5);102 this->left->setRelCoor(0,15,-7.5); 103 103 this->left->requestAction( WA_ACTIVATE); 104 104 this->left->setParent(&this->weaponHolder[0]); … … 112 112 this->right->setParent(this); 113 113 this->right->toList(this->getOMListNumber()); 114 this->right->setRelCoor(0,1 0,5);114 this->right->setRelCoor(0,15,7.5); 115 115 this->left->requestAction( WA_ACTIVATE); 116 116 this->right->setParent(&this->weaponHolder[0]); … … 126 126 if(this->getHealth() > 0.0f && State::getPlayer() && 127 127 State::getPlayer()->getPlayable() && 128 State::getPlayer()->getPlayable()->distance(this) < 120) // HACK128 State::getPlayer()->getPlayable()->distance(this) < 300) // HACK 129 129 { 130 130 if (likely(this->left != NULL)) … … 158 158 this->getModel(3)->draw(); 159 159 glPopMatrix(); 160 160 /* 161 161 if (this->left != NULL) 162 162 this->left->draw(); 163 163 if (this->right != NULL) 164 this->right->draw(); 164 this->right->draw();*/ 165 165 } 166 166 … … 191 191 192 192 this->toList(OM_DEAD); 193 194 if (this->left) 195 this->left->toList(OM_DEAD); 196 if (this->right) 197 this->right->toList(OM_DEAD); 198 193 199 } -
branches/presentation/src/world_entities/projectiles/guided_missile.cc
r9162 r9181 35 35 this->setClassID(CL_GUIDED_MISSILE, "GuidedMissile"); 36 36 37 this->loadModel("models/projectiles/orx-rocket.obj", .3);37 this->loadModel("models/projectiles/orx-rocket.obj", 2.0); 38 38 this->loadExplosionSound("sound/explosions/explosion_4.wav"); 39 39 … … 88 88 GuidedMissile::trailParticles->setLifeSpan(1.0, .3); 89 89 GuidedMissile::trailParticles->setRadius(0.0, .5); 90 GuidedMissile::trailParticles->setRadius(0.2, 2.0);91 GuidedMissile::trailParticles->setRadius(.5, .8);92 GuidedMissile::trailParticles->setRadius(1.0, .8);90 GuidedMissile::trailParticles->setRadius(0.2, 4.0); 91 GuidedMissile::trailParticles->setRadius(.5, 1.5); 92 GuidedMissile::trailParticles->setRadius(1.0, 1.5); 93 93 GuidedMissile::trailParticles->setColor(0.0, 1,0,0,.7); 94 94 GuidedMissile::trailParticles->setColor(0.2, .8,.8,0,.5);
Note: See TracChangeset
for help on using the changeset viewer.