Changeset 10944
- Timestamp:
- Dec 7, 2015, 4:01:06 PM (9 years ago)
- Location:
- code/branches/particleEffectsHS15
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particleEffectsHS15/data/particle/MineExpl.particle
r10901 r10944 42 42 velocity_min 300 43 43 velocity_max 300 44 time_to_live_min 145 time_to_live_max 2 44 time_to_live_min 2 45 time_to_live_max 2.5 46 46 duration_min 0.1 47 47 duration_max 0.1 … … 60 60 velocity_min 300 61 61 velocity_max 300 62 time_to_live_min 163 time_to_live_max 2 62 time_to_live_min 2 63 time_to_live_max 2.5 64 64 duration_min 0.1 65 65 duration_max 0.1 … … 78 78 velocity_min 300 79 79 velocity_max 300 80 time_to_live_min 181 time_to_live_max 2 80 time_to_live_min 2 81 time_to_live_max 2.5 82 82 duration_min 0.1 83 83 duration_max 0.1 … … 88 88 } 89 89 90 affector DeflectorPlane 91 { 92 plane_point 0 -2 0 93 plane_normal 0 1 0 94 bounce 1 95 } 96 97 affector DeflectorPlane 98 { 99 plane_point 0 2 0 100 plane_normal 0 -1 0 101 bounce 1 102 } 90 103 91 affector Scaler 104 92 { -
code/branches/particleEffectsHS15/data/particle/MineExpl1.particle
r10901 r10944 24 24 velocity_min 300 25 25 velocity_max 300 26 time_to_live_min 1 27 time_to_live_max 2 28 duration_min 0.5 29 duration_max 1.5 30 repeat_delay_min 0.0 31 repeat_delay_max 0.0 26 time_to_live_min 3 27 time_to_live_max 4 28 duration_min 2.0 29 duration_max 2.5 30 repeat_delay 10 31 repeat_delay_min 10 32 repeat_delay_max 10 32 33 colour_range_start 0 0.333333 1 1 33 34 colour_range_end 0 0.333333 1 1 -
code/branches/particleEffectsHS15/data/particle/MineExpl2.particle
r10901 r10944 24 24 velocity_min 300 25 25 velocity_max 300 26 time_to_live_min 127 time_to_live_max 2 26 time_to_live_min 2 27 time_to_live_max 2.5 28 28 duration_min 0.5 29 29 duration_max 1.5 30 repeat_delay_min 0.0 31 repeat_delay_max 0.0 30 repeat_delay 10 31 repeat_delay_min 10 32 repeat_delay_max 10 32 33 colour_range_start 0 0.333333 1 1 33 34 colour_range_end 0 0.333333 1 1 -
code/branches/particleEffectsHS15/src/modules/weapons/projectiles/MineProjectile.cc
r10911 r10944 164 164 /** 165 165 @brief 166 TODO166 XMLPort for MineProjectile. 167 167 */ 168 168 void MineProjectile::XMLEventPort(Element& xmlelement, XMLPort::Mode mode) … … 174 174 /** 175 175 @brief 176 TODO176 Max Time; after this time runs out,the Mine explodes. 177 177 */ 178 178 void MineProjectile::setMaxTimeUntilExplosion(float maxTimeUntilExplosion) … … 194 194 /** 195 195 @brief 196 T ODO196 The mine can only explode when the activation time has run out. 197 197 */ 198 198 void MineProjectile::setTimeUntilActivation(float timeUntilActivation) … … 208 208 /** 209 209 @brief 210 TODO210 Mine explodes, deals damage to pawn within range and destroys itself. 211 211 */ 212 212 void MineProjectile::explode() … … 234 234 /** 235 235 @brief 236 TODO236 Mine is ready to explode. 237 237 */ 238 238 void MineProjectile::allowExplosion() … … 247 247 } 248 248 249 /**250 @brief251 TODO252 */253 249 void MineProjectile::destructionEffect() 254 250 { … … 279 275 // Explosion sound effect. 280 276 WeakPtr<WorldSound> explosionSound_ = new WorldSound(getContext()); 281 explosionSound_->setSource("sounds/ GravityFieldExplosion.ogg");282 explosionSound_->setVolume( 1.0);277 explosionSound_->setSource("sounds/minesound.ogg"); 278 explosionSound_->setVolume(0.8); 283 279 explosionSound_->play(); 284 280 } -
code/branches/particleEffectsHS15/src/modules/weapons/weaponmodes/MineGun.h
r10908 r10944 22 22 * Author: 23 23 * Fabien Vultier 24 * Jannis Holzer 24 25 * Co-authors: 25 26 * ... … … 29 30 /** 30 31 @file MineGun.h 31 @brief Definition of the MineGun class. 32 @brief 33 34 Mine is a weapon that explodes if a spaceship goes bellow the mines trigger radius. The mine deals damage too all 35 spaceships within the damageradius. 36 37 The activation time regulates when the mine is live and ready to explode. 38 The mine destroys itself after it exceeds a certain life time. 32 39 */ 33 40
Note: See TracChangeset
for help on using the changeset viewer.