Changeset 10650 in orxonox.OLD for branches/vs-enhencements
- Timestamp:
- May 10, 2007, 3:31:14 PM (18 years ago)
- Location:
- branches/vs-enhencements/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/projectiles/hbolt.cc
r10649 r10650 59 59 this->halo = new Billboard(); 60 60 this->halo->setSize(.65, .65); 61 this->halo->setTexture("hbolt_halo2. jpg");61 this->halo->setTexture("hbolt_halo2.png"); 62 62 this->halo->setVisibility(false); 63 63 -
branches/vs-enhencements/src/world_entities/weapons/disruptor.cc
r10649 r10650 143 143 144 144 145 this->shootAnim[0][0]->addKeyFrame(Vector(0.0, 0.0, 0.0) * this->getScaling(), Quaternion(), 0.1, ANIM_LINEAR, ANIM_NULL); 146 this->shootAnim[0][0]->addKeyFrame(Vector(-0.5, 0.0, 0.0) * this->getScaling(), Quaternion(), 0.2, ANIM_LINEAR, ANIM_NULL); 147 // this->shootAnim[0][0]->addKeyFrame(Vector(0.0, 0.0, 0.0) * this->getScaling(), Quaternion(), 0.1, ANIM_LINEAR, ANIM_NULL); 148 145 149 Animation3D* animation2 = this->getAnimation(WS_ACTIVATING, this); 146 150 Animation3D* animation3 = this->getAnimation(WS_DEACTIVATING, this); … … 173 177 pj->activate(); 174 178 175 // initiate animation 176 // for (int i = 0; i < this->getSegs(); i++) 177 // this->shootAnim[this->activeBarrel][i]->replay(); 178 179 // switch barrel 180 // this->activeBarrel = (this->activeBarrel + 1) % this->getBarrels(); 179 180 this->shootAnim[0][0]->replay(); 181 182 181 183 } 182 184 … … 206 208 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 207 209 208 static_cast<StaticModel*>(this->getModel())->draw(); 210 //Base 211 static_cast<StaticModel*>(this->getModel())->draw(1); 212 213 // Barrel glPushMatrix(); 214 glTranslatef 215 (this->objComp[0][0]->getAbsCoor().x, this->objComp[0][0]->getAbsCoor().y, this->objComp[0][0]->getAbsCoor().z); 216 static_cast<StaticModel*>(this->getModel())->draw(0); 217 glPopMatrix(); 209 218 210 219 glPopMatrix(); -
branches/vs-enhencements/src/world_entities/weapons/heavy_blaster.cc
r10648 r10650 157 157 158 158 for (int i = 0; i < this->getBarrels(); i++){ 159 this->shootAnim[i][0]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.0 5, ANIM_LINEAR, ANIM_NULL);159 this->shootAnim[i][0]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.01, ANIM_LINEAR, ANIM_NULL); 160 160 this->shootAnim[i][0]->addKeyFrame(Vector(-0.3, 0.0, 0.0), Quaternion(), 0.9, ANIM_LINEAR, ANIM_NULL); 161 this->shootAnim[i][0]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.5 5, ANIM_LINEAR, ANIM_NULL);162 163 this->shootAnim[i][1]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0. 05, ANIM_LINEAR, ANIM_NULL);161 this->shootAnim[i][0]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.5, ANIM_LINEAR, ANIM_NULL); 162 163 this->shootAnim[i][1]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_NULL); 164 164 this->shootAnim[i][1]->addKeyFrame(Vector(-0.4, 0.0, 0.0), Quaternion(), 1.2, ANIM_LINEAR, ANIM_NULL); 165 this->shootAnim[i][1]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.2 5, ANIM_LINEAR, ANIM_NULL);165 this->shootAnim[i][1]->addKeyFrame(Vector(0.0, 0.0, 0.0), Quaternion(), 0.2, ANIM_LINEAR, ANIM_NULL); 166 166 } 167 167
Note: See TracChangeset
for help on using the changeset viewer.