the ultimate adding missing shipped sounds tutorial!
Posted: Tue May 06, 2008 11:31 am
I had problems with adding sounds for half a year and tried everything.Rends´ and Manderek´s tut didn´t work for me. I almost got crazy but today i have found the ultimate solution!
1.In data_***/sound/worlds you can find the req and sfx files of the shipped maps.In my case I took the yav files. I wanted to add alliance speeder sounds to the gian speeder in my naboo map. So I edited yav1cw.req.
Then I added the necessary sfx lines to yav1cw.sfx:
just add the lines you need at the end of the sfx file list.
2. Then go into your lua.(data***/common/scripts/***_con) and edit the ordinary sound line.
3.After that go and munge your map.(Be sure to tick "sound" in the mungebox)
4.Go to data***/_LVL_PC/sound and take the new yav.lvl sound file.Go to BattlefrontII/game_data/addon/***/data/_lvl_pc/sound (create the sound folder if it doesn´t exists) and place the lvl file in it.
DONE!!!!WAHA!!
Try it. if this tut is good enough i would be happy to see it in the allyouneed thread.
1.In data_***/sound/worlds you can find the req and sfx files of the shipped maps.In my case I took the yav files. I wanted to add alliance speeder sounds to the gian speeder in my naboo map. So I edited yav1cw.req.
Code: Select all
ucft
{
REQN
{
"bnk"
"align=2048"
"yav1cw"
}
REQN
{
"config"
"global_world"
"rep_unit_vo"
"cis_unit_vo"
"global_vo"
"exp_obj"
"exp_obj_large"
"exp_obj_water"
"yav1"
"cis_unit"
"rep_unit"
"cw_foley_dirt_config"
"cw_foley_dirt"
"cw_foley_stone_config"
"cw_foley_stone"
"cw_foley_waterdeep_config"
"cw_foley_water"
"yavcw_music_config"
"yavcw_music"
"yav1cw_foley"
"rep_hover_speederbike"
"rep_hover_fightertank"
"cis_hover_aat"
"cis_hover_stap"
"all_hover_combatspeeder" <----added!
}
}Code: Select all
// Combatspeeder -----------------------------------------------------------------------------------------------
#ifplatform xbox pc
..\..\gcw\effects\wpn_cmbtSpdr_blaster_fire.wav -resample xbox 22050 pc 44100
..\..\gcw\effects\wpn_cmbtSpdr_turret_fire.wav -resample xbox 22050 pc 44100
..\..\gcw\effects\eng_combatSpeeder_hi_lp.wav -resample xbox 22050 pc 22050
..\..\gcw\effects\eng_combatSpeeder_mid_lp.wav -resample xbox 22050 pc 22050
..\..\gcw\effects\eng_combatSpeeder_low_lp.wav -resample xbox 22050 pc 22050
#endifplatform xbox pc
#ifplatform ps2
..\..\gcw\effects\wp2_cmbtSpdr_blaster_fire.wav wpn_cmbtSpdr_blaster_fire -resample ps2 16000
..\..\gcw\effects\wp2_cmbtSpdr_turret_fire.wav wpn_cmbtSpdr_turret_fire -resample ps2 16000
..\..\gcw\effects\eP2_combatSpeeder_hi_lp.wav eng_combatSpeeder_hi_lp -resample ps2 22050
..\..\gcw\effects\eP2_combatSpeeder_mid_lp.wav eng_combatSpeeder_mid_lp -resample ps2 12000
..\..\gcw\effects\eP2_combatSpeeder_low_lp.wav eng_combatSpeeder_low_lp -resample ps2 3000
#endifplatform ps2
//2. Then go into your lua.(data***/common/scripts/***_con) and edit the ordinary sound line.
Code: Select all
ReadDataFile("dc:sound\\yav.lvl;yav1cw") <----dc: added!
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_secdrd",
"cis_inf_sniper",
"cis_inf_cmd",
"cis_hero_darthmaul",
"cis_inf_droideka",
"cis_hover_aat",
"cis_inf_pilot",
"cis_hover_stap",
"cis_inf_neimoidiangunner",
"cis_fly_droidfighter_sc",
"cis_hover_mtt") 4.Go to data***/_LVL_PC/sound and take the new yav.lvl sound file.Go to BattlefrontII/game_data/addon/***/data/_lvl_pc/sound (create the sound folder if it doesn´t exists) and place the lvl file in it.
DONE!!!!WAHA!!
Try it. if this tut is good enough i would be happy to see it in the allyouneed thread.