Help How to replace existing sound effects with costum ones?
#1
I want to replace sound effects like captured flag sound, with a new one. so I can use playsound() to play the sound at a specific event.
But how?
Also, where should I put the new sound file in my mod folder? Should it be along with the "maps" folder?
Reply

#2
All the sounds are located in the .IWD files that are in the "main" folder. Locate the sound file you want to change. In your mod folder, create the same type of folders, and place the new sound file in that place. Rename the new file to the game sound.

An example:
1. I have o_fortuna.mp3 and want it to be the menu theme music.

2. I check the .IWD files, and find the menu theme song to be in sound\music\menumusic.mp3.

3. I then create the folders sound\music in my mods folder.

4. I place o_fortuna.mp3 in that folder, and rename it to menumusic.mp3.


Note that the mod then has to be in an .IWD format in order for this to work.
Reply

#3
I don't think that this will easily allow me to play the sound effect at a specific event using the playSound() command. You should probably know that this sound effect is no more than 3 seconds.

I remember playing a mod where the uncommon sound effects of the game is replaced by a custom one, but I can't seem to find it now.
Reply

#4
Well, after hours of hard-work
I came to know that I might have used the wrong names for the sound effects
I finally solved this by myself.
Reply

#5
(10-27-2016, 17:47)Ra3shed Wrote: I don't think that this will easily allow me to play the sound effect at a specific event using the playSound() command. You should probably know that this sound effect is no more than 3 seconds.

I remember playing a mod where the uncommon sound effects of the game is replaced by a custom one, but I can't seem to find it now.

If you replace the right file, you will be able to use the playsound command. The names of the sound files and the in-game strings differ, soif you're interested in what these stringsare, you should look that up. @Yamato might've made a list.

And there's plenty of mods that have done that. I think @Nekochan and I were one of the first to do so for MW2, however. Look up our ROTU mod if you want to see how it's done there.
Reply

#6
(10-28-2016, 11:47)Rendflex Wrote:
(10-27-2016, 17:47)Ra3shed Wrote: I don't think that this will easily allow me to play the sound effect at a specific event using the playSound() command. You should probably know that this sound effect is no more than 3 seconds.

I remember playing a mod where the uncommon sound effects of the game is replaced by a custom one, but I can't seem to find it now.

If you replace the right file, you will be able to use the playsound command. The names of the sound files and the in-game strings differ, soif you're interested in what these stringsare, you should look that up. @Yamato might've made a list.
Thanks, that was exactly my problem Rolleyes
Edit: Well I'm too lazy to find the sound strings by myself. Could you find a list for me Big Grin
Reply

#7
(10-28-2016, 13:46)Ra3shed Wrote:
(10-28-2016, 11:47)Rendflex Wrote:
(10-27-2016, 17:47)Ra3shed Wrote: I don't think that this will easily allow me to play the sound effect at a specific event using the playSound() command. You should probably know that this sound effect is no more than 3 seconds.

I remember playing a mod where the uncommon sound effects of the game is replaced by a custom one, but I can't seem to find it now.

If you replace the right file, you will be able to use the playsound command. The names of the sound files and the in-game strings differ, soif you're interested in what these stringsare, you should look that up. @Yamato might've made a list.
Thanks, that was exactly my problem Rolleyes
Edit: Well I'm too lazy to find the sound strings by myself. Could you find a list for me Big Grin

Here's one I found googling, I'm not sure who originally made the list (D4rryl andCraigChrist8239 according to some posts):

Code:
mp_level_up foly_onemanarmy_bag3_plr foly_onemanarmy_bag6_plr elev_bell_ding elev_musak_loop elev_door_close elev_door_open elev_run_start elev_run_loop elev_door_interupt elev_run_end MP_hit_alert missile_locking exp_stinger_armor_destroy javelin_clu_lock claymore_activated sentry_gun_beep sentry_gun_plant sentry_explode_smoke ui_mp_suitcasebomb_timer ui_mp_timer_countdown fast_artillery_round distant_artillery_barrage mp_nuke_aftershock mp_war_objective_lost mp_war_objective_taken hind_helicopter_crash_dist hind_helicopter_crash hind_helicopter_secondary_exp hind_helicopter_hit MP_bomb_plant MP_bomb_defuse re_pickup_paper exp_suitcase_bomb_secondary exp_suitcase_bomb_stereo exp_suitcase_bomb_main weap_suitcase_defuse_plr weap_suitcase_interrupt_plr weap_suitcase_drop_plr weap_suitcase_raise_plr mp_enemy_obj_returned mp_obj_returned mp_enemy_obj_captured mp_obj_captured mp_enemy_obj_taken mp_obj_taken oldschool_return oldschool_pickup mp_ingame_summary mp_suitcase_pickup mp_last_stand mp_lose_flag mp_capture_flag mp_killstreak_radar mp_killstreak_jet mp_killstreak_heli weap_suitcase_button_press_plr cobra_helicopter_hit cobra_helicopter_hit cobra_helicopter_secondary_exp cobra_helicopter_damaged cobra_helicopter_crash weap_cobra_missile_fire weap_c4detpack_trigger_plr ammo_crate_use nuke_music nuke_explosion nuke_wave RU_mp_stm_holdyourfire RU_mp_stm_sniper RU_mp_stm_needreinforcements RU_mp_stm_iminposition RU_mp_stm_grenade RU_mp_stm_enemyspotted RU_mp_stm_areasecure RU_mp_rsp_sorry RU_mp_rsp_yessir RU_mp_rsp_greatshot RU_mp_rsp_nosir RU_mp_rsp_onmyway RU_mp_rsp_areyoucrazy RU_mp_cmd_regroup RU_mp_cmd_followme RU_mp_cmd_movein RU_mp_cmd_holdposition RU_mp_cmd_fallback RU_mp_cmd_suppressfire RU_mp_cmd_attackrightflank RU_mp_cmd_attackleftflank AB_mp_rsp_areyoucrazy AB_mp_rsp_greatshot AB_mp_rsp_sorry AB_mp_rsp_onmyway AB_mp_rsp_nosir AB_mp_rsp_yessir AB_mp_stm_holdyourfire AB_mp_stm_needreinforcements AB_mp_stm_sniper AB_mp_stm_grenade AB_mp_stm_areasecure AB_mp_stm_iminposition AB_mp_stm_enemyspotted AB_mp_cmd_regroup AB_mp_cmd_holdposition AB_mp_cmd_attackrightflank AB_mp_cmd_attackleftflank AB_mp_cmd_suppressfire AB_mp_cmd_fallback AB_mp_cmd_movein AB_mp_cmd_followme UK_mp_stm_sniper UK_mp_stm_needreinforcements UK_mp_stm_iminposition UK_mp_stm_grenade UK_mp_stm_enemyspotted UK_mp_stm_areasecure UK_mp_rsp_sorry UK_mp_rsp_yessir UK_mp_rsp_greatshot UK_mp_rsp_nosir UK_mp_rsp_onmyway UK_mp_rsp_areyoucrazy UK_mp_cmd_regroup UK_mp_cmd_followme UK_mp_cmd_movein UK_mp_cmd_holdposition UK_mp_cmd_fallback UK_mp_cmd_suppressfire UK_mp_cmd_attackrightflank UK_mp_cmd_attackleftflank US_mp_stm_sniper US_mp_stm_needreinforcements US_mp_stm_iminposition US_mp_stm_grenade US_mp_stm_enemyspotted US_mp_stm_areasecure US_mp_rsp_sorry US_mp_rsp_yessir US_mp_rsp_greatshot US_mp_rsp_nosir US_mp_rsp_onmyway US_mp_rsp_areyoucrazy US_mp_cmd_regroup US_mp_cmd_followme US_mp_cmd_movein US_mp_cmd_holdposition US_mp_cmd_fallback US_mp_cmd_suppressfire US_mp_cmd_attackrightflank mp_victory_usa mp_victory_soviet mp_victory_sas mp_victory_opfor mp_spawn_usa mp_spawn_soviet mp_spawn_sas mp_spawn_opfor sentry_explode exp_suitcase_bomb_main grenade_explode_metal cobra_helicopter_crash exp_airstrike_bomb generic_death_russian_1 generic_death_russian_2 generic_death_russian_3 generic_death_russian_4 generic_death_russian_5 generic_death_russian_6 generic_death_russian_7 generic_death_russian_8 generic_death_american_1 generic_death_american_2 generic_death_american_3 generic_death_american_4 generic_death_american_5 generic_death_american_6 generic_death_american_7 generic_death_american_8 ac130_flare_burst mp_killstreak_radar breathing_better breathing_hurt player_hit_while_ads_hurt remotemissile_explode
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Weapon changing sound? rvyASVP 23 19,765 06-09-2015, 14:31
Last Post: rvyASVP
  Out of ammo sound bengo 0 2,526 03-14-2014, 21:15
Last Post: bengo

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.