Changeset 10415 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 27, 2007, 10:43:17 PM (18 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/generic_npc.cc
r10386 r10415 89 89 this->toList(OM_GROUP_00); 90 90 91 // this->soundBuffer = OrxSound::ResourceSoundBuffer("sound /rain.wav");91 // this->soundBuffer = OrxSound::ResourceSoundBuffer("sounds/rain.wav"); 92 92 93 93 time = 30.0f; -
trunk/src/world_entities/power_ups/param_power_up.cc
r10114 r10415 41 41 { 42 42 this->init(); 43 this->loadPickupSound("sound /powerups/power_up_6.wav");43 this->loadPickupSound("sounds/powerups/power_up_6.wav"); 44 44 if( root != NULL) 45 45 this->loadParams(root); -
trunk/src/world_entities/power_ups/weapon_power_up.cc
r10114 r10415 47 47 { 48 48 this->registerObject(this, WeaponPowerUp::_objectList); 49 this->loadPickupSound("sound /powerups/whats this2.wav");49 this->loadPickupSound("sounds/powerups/whats this2.wav"); 50 50 51 51 this->weaponXML = NULL; -
trunk/src/world_entities/projectiles/bomb.cc
r10114 r10415 76 76 this->detonationMaterial->setDiffuse(1, 0, 0); 77 77 78 this->loadExplosionSound("sound /explosions/explosion_7_far.wav");78 this->loadExplosionSound("sounds/explosions/explosion_7_far.wav"); 79 79 // this->detonationMaterial->setTransparency(.1); 80 80 /** -
trunk/src/world_entities/projectiles/boomerang_projectile.cc
r10317 r10415 38 38 39 39 this->loadModel("models/projectiles/orx-rocket.obj", 2.0); 40 this->loadExplosionSound("sound /explosions/explosion_4.wav");40 this->loadExplosionSound("sounds/explosions/explosion_4.wav"); 41 41 42 42 -
trunk/src/world_entities/projectiles/guided_missile.cc
r10317 r10415 37 37 38 38 this->loadModel("models/projectiles/orx-rocket.obj", 2.0); 39 this->loadExplosionSound("sound /explosions/explosion_4.wav");39 this->loadExplosionSound("sounds/explosions/explosion_4.wav"); 40 40 41 41 -
trunk/src/world_entities/projectiles/swarm_projectile.cc
r10368 r10415 42 42 /* this->loadModel("models/projectiles/orx-rocket.obj", 0.5);*/ 43 43 this->loadModel("models/projectiles/swarm_projectile.obj"); // no double rescale (see draw()) 44 this->loadExplosionSound("sound /explosions/explosion_4.wav");44 this->loadExplosionSound("sounds/explosions/explosion_4.wav"); 45 45 46 46 -
trunk/src/world_entities/space_ships/helicopter.cc
r10114 r10415 112 112 113 113 //load sound 114 this->chopperBuffer = OrxSound::ResourceSoundBuffer("sound /engine/chopper.wav");114 this->chopperBuffer = OrxSound::ResourceSoundBuffer("sounds/engine/chopper.wav"); 115 115 116 116 } -
trunk/src/world_entities/space_ships/hover.cc
r10114 r10415 79 79 //if (this->hoverBuffer != NULL) 80 80 // ResourceManager::getInstance()->unload(this->hoverBuffer); 81 //this->hoverBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound /engine/hover.wav", WAV);81 //this->hoverBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sounds/engine/hover.wav", WAV); 82 82 83 83 } -
trunk/src/world_entities/weapons/acid_launcher.cc
r10368 r10415 101 101 this->getProjectileFactory()->prepare(10); 102 102 103 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_1.wav");104 this->setActionSound(WA_ACTIVATE, "sound /vocals/missiles.wav");105 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");103 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_1.wav"); 104 this->setActionSound(WA_ACTIVATE, "sounds/vocals/missiles.wav"); 105 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 106 106 107 107 } -
trunk/src/world_entities/weapons/aiming_turret.cc
r10114 r10415 98 98 this->target.setAngle(M_PI_2); 99 99 100 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_3.wav");101 this->setActionSound(WA_ACTIVATE, "sound /voices/rockets.wav");102 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");100 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_3.wav"); 101 this->setActionSound(WA_ACTIVATE, "sounds/voices/rockets.wav"); 102 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 103 103 104 104 } -
trunk/src/world_entities/weapons/boomerang_gun.cc
r10114 r10415 94 94 //this->getProjectileFactory()->prepare(100); 95 95 96 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_3.wav");97 this->setActionSound(WA_ACTIVATE, "sound /vocals/missiles.wav");98 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");96 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_3.wav"); 97 this->setActionSound(WA_ACTIVATE, "sounds/vocals/missiles.wav"); 98 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 99 99 100 100 } -
trunk/src/world_entities/weapons/cannon.cc
r10114 r10415 85 85 //this->minCharge = 2; 86 86 87 this->setActionSound(WA_SHOOT, "sound /explo.wav");88 this->setActionSound(WA_ACTIVATE, "sound /voices/cannon.wav");87 this->setActionSound(WA_SHOOT, "sounds/explo.wav"); 88 this->setActionSound(WA_ACTIVATE, "sounds/voices/cannon.wav"); 89 89 90 90 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_HEAVY); -
trunk/src/world_entities/weapons/heavy_blaster.cc
r10368 r10415 41 41 } 42 42 delete [] this->emissionPoint; 43 43 44 44 delete [] this->shootAnim; 45 45 delete [] this->objComp; … … 73 73 74 74 this->loadModel("models/guns/fragcannon.obj", .4); 75 75 76 76 77 77 this->setStateDuration(WS_SHOOTING, 0.5); // 2 Schuss pro Sekunde … … 84 84 //this->minCharge = 2; 85 85 86 this->setActionSound(WA_SHOOT, "sound /laser.wav");87 this->setActionSound(WA_ACTIVATE, "sound /voices/lasers.wav");88 this->setActionSound(WA_RELOAD, "sound /spawn/alien_generator.wav");86 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 87 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 88 this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav"); 89 89 90 90 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); -
trunk/src/world_entities/weapons/hyperblaster.cc
r10114 r10415 72 72 //this->minCharge = 2; 73 73 74 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_4.wav");75 this->setActionSound(WA_ACTIVATE, "sound /powerups/whats this2.wav");76 this->setActionSound(WA_RELOAD, "sound /spawn/alien_generator.wav");74 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_4.wav"); 75 this->setActionSound(WA_ACTIVATE, "sounds/powerups/whats this2.wav"); 76 this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav"); 77 77 78 78 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_HEAVY); -
trunk/src/world_entities/weapons/laser_cannon.cc
r10114 r10415 68 68 //this->minCharge = 2; 69 69 70 this->setActionSound(WA_SHOOT, "sound /laser.wav");71 this->setActionSound(WA_ACTIVATE, "sound /voices/lasers.wav");70 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 71 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 72 72 73 73 -
trunk/src/world_entities/weapons/light_blaster.cc
r10368 r10415 67 67 68 68 this->loadModel("models/guns/gattling.obj", 0.333); 69 69 70 70 71 71 this->setStateDuration(WS_SHOOTING, 0.05); // 20 Schuss pro Sekunde … … 78 78 //this->minCharge = 2; 79 79 80 this->setActionSound(WA_SHOOT, "sound /laser.wav");81 this->setActionSound(WA_ACTIVATE, "sound /voices/lasers.wav");82 this->setActionSound(WA_RELOAD, "sound /spawn/alien_generator.wav");80 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 81 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 82 this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav"); 83 83 84 84 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); -
trunk/src/world_entities/weapons/medium_blaster.cc
r10368 r10415 63 63 //this->minCharge = 2; 64 64 65 this->setActionSound(WA_SHOOT, "sound /laser.wav");66 this->setActionSound(WA_ACTIVATE, "sound /voices/lasers.wav");67 this->setActionSound(WA_RELOAD, "sound /spawn/alien_generator.wav");65 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 66 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 67 this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav"); 68 68 69 69 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); -
trunk/src/world_entities/weapons/spike_launcher.cc
r10368 r10415 110 110 this->getProjectileFactory()->prepare(this->spikes); //we don't need more... 111 111 112 // this->setActionSound(WA_SHOOT, "sound /explosions/explosion_1.wav");113 // this->setActionSound(WA_ACTIVATE, "sound /vocals/missiles.wav");114 // this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");112 // this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_1.wav"); 113 // this->setActionSound(WA_ACTIVATE, "sounds/vocals/missiles.wav"); 114 // this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 115 115 116 116 } -
trunk/src/world_entities/weapons/spike_thrower.cc
r10368 r10415 104 104 this->getProjectileFactory()->prepare(50); 105 105 106 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_1.wav");107 this->setActionSound(WA_ACTIVATE, "sound /vocals/missiles.wav");108 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");106 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_1.wav"); 107 this->setActionSound(WA_ACTIVATE, "sounds/vocals/missiles.wav"); 108 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 109 109 110 110 } -
trunk/src/world_entities/weapons/swarm_launcher.cc
r10368 r10415 102 102 this->getProjectileFactory()->prepare(50); 103 103 104 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_1.wav");105 this->setActionSound(WA_ACTIVATE, "sound /vocals/missiles.wav");106 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");104 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_1.wav"); 105 this->setActionSound(WA_ACTIVATE, "sounds/vocals/missiles.wav"); 106 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 107 107 108 108 } -
trunk/src/world_entities/weapons/targeting_turret.cc
r10114 r10415 92 92 93 93 94 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_3.wav");95 this->setActionSound(WA_ACTIVATE, "sound /voices/rockets.wav");96 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");94 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_3.wav"); 95 this->setActionSound(WA_ACTIVATE, "sounds/voices/rockets.wav"); 96 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 97 97 } 98 98 -
trunk/src/world_entities/weapons/test_gun.cc
r10114 r10415 124 124 //this->minCharge = 2; 125 125 126 this->setActionSound(WA_SHOOT, "sound /laser.wav");127 this->setActionSound(WA_ACTIVATE, "sound /voices/lasers.wav");126 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 127 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 128 128 129 129 -
trunk/src/world_entities/weapons/turret.cc
r10114 r10415 93 93 //this->getProjectileFactory()->prepare(100); 94 94 95 this->setActionSound(WA_SHOOT, "sound /explosions/explosion_3.wav");96 this->setActionSound(WA_ACTIVATE, "sound /vocals/missiles.wav");97 this->setActionSound(WA_RELOAD, "sound /vocals/reload.wav");95 this->setActionSound(WA_SHOOT, "sounds/explosions/explosion_3.wav"); 96 this->setActionSound(WA_ACTIVATE, "sounds/vocals/missiles.wav"); 97 this->setActionSound(WA_RELOAD, "sounds/vocals/reload.wav"); 98 98 99 99 } -
trunk/src/world_entities/weather_effects/lightning_effect.cc
r10317 r10415 128 128 129 129 //load sound 130 this->thunderBuffer = OrxSound::ResourceSoundBuffer("sound /atmosphere/thunder.wav");130 this->thunderBuffer = OrxSound::ResourceSoundBuffer("sounds/atmosphere/thunder.wav"); 131 131 132 132 } -
trunk/src/world_entities/weather_effects/rain_effect.cc
r10114 r10415 64 64 65 65 //load rain sound 66 this->rainBuffer = OrxSound::ResourceSoundBuffer("sound /atmosphere/rain.wav");66 this->rainBuffer = OrxSound::ResourceSoundBuffer("sounds/atmosphere/rain.wav"); 67 67 68 68 //load wind sound 69 69 if (this->rainWindForce != 0) { 70 this->windBuffer = OrxSound::ResourceSoundBuffer("sound /atmosphere/wind.wav");70 this->windBuffer = OrxSound::ResourceSoundBuffer("sounds/atmosphere/wind.wav"); 71 71 } 72 72 -
trunk/src/world_entities/weather_effects/snow_effect.cc
r10317 r10415 56 56 if (this->snowWindForce >= 1) 57 57 { 58 this->windBuffer = OrxSound::ResourceSoundBuffer("sound /atmosphere/wind.wav");58 this->windBuffer = OrxSound::ResourceSoundBuffer("sounds/atmosphere/wind.wav"); 59 59 } 60 60
Note: See TracChangeset
for help on using the changeset viewer.