- Timestamp:
- May 26, 2016, 3:58:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/modules/weapons/weaponmodes/Discharger.cc
r11189 r11205 67 67 BillboardProjectile* projectile = new BillboardProjectile(this->getContext()); 68 68 69 if(this->charges_ < this->thresholdOne_) 70 { 71 projectile->setMaterial("Flares/lensflare"); 72 } 73 else 74 { 75 if(this->charges_ < this->thresholdTwo_) 76 { 77 projectile->setMaterial("Flares/ringflare"); 78 } 79 else 80 { 81 projectile->setMaterial("Flares/ringflare2"); 82 } 83 } 84 85 projectile->setScale(1+this->charges_/10); 86 69 87 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 70 88 projectile->setOrientation(this->getMuzzleOrientation());
Note: See TracChangeset
for help on using the changeset viewer.