Page 1 of 1

How can i add new sounds into the ingame ?

Posted: Sun Apr 01, 2007 4:46 pm
by Redline
Hello everyone, have everybody a Tutorial for add new sounds?
,because it gives only Tutorials with Connecting sounds. :(

Pls help me :)

RE: How can i add new sounds into the ingame ?

Posted: Sun Apr 01, 2007 5:10 pm
by RC-1290
I'm sure you looked in the 'everything you need' thread, but you should have looked a bit further. This is about adding custom sounds

RE: How can i add new sounds into the ingame ?

Posted: Sun Apr 01, 2007 7:52 pm
by Droideka88
About what sounds that are already created (by Pandemic) but are missing in-game when modding. Does that tutorial help out too?

RE: How can i add new sounds into the ingame ?

Posted: Sun Apr 01, 2007 9:47 pm
by General_Grievous_4
Actually, Droideka88, there is a completely separate tut on that in the "everything you need" thread.

Posted: Mon Apr 02, 2007 6:33 am
by Redline
Thx,but the tutorial doesn,t work :?

Posted: Tue Apr 03, 2007 12:44 pm
by Redline
Ok i post what i did have.

First :

C:\BF2_ModTools\data_RCR\_BUILD\Sound (munge.bat)

These is under that in the munge.bat

These--- for /R %%A in (*.asfx) do set BANKLIST=!BANKLIST! %%A

--under that

for /R %%A in (*.sfx) do set BANKLIST=!BANKLIST! %%A
for /R %%A in (*.asfx) do set BANKLIST=!BANKLIST! %%A

Next i had put these under !BANKLIST! %%A that in soundmungedir.bat


These --- @for /R %%A in (*.asfx) do @echo Munging %%~nA%%~xA & @soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\ %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %BANKOPT% 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT%

--under that

@for /R %%A in (*.sfx) do @echo Munging %%~nA%%~xA & @soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\ %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %BANKOPT% 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT%

@for /R %%A in (*.asfx) do @echo Munging %%~nA%%~xA & @soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\ %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %BANKOPT% 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT%

Next:

The effects folder ---in C:\BF2_ModTools\data_RCR\Sound\worlds\rcr

with the sounds.(weapon sounds)

Next the rcrcw.asfx.---

in it is this

effects\dc17_rifle.wav -resample xbox 22050 pc 22050
effects\dc17_antiarmor.wav -resample xbox 22050 pc 22050
effects\dc17_sniper.wav -resample xbox 22050 pc 22050
effects\dc17_rifle_reload.wav -resample xbox 22050 pc 22050
effects\dc17_sniper_reload.wav -resample xbox 22050 pc 22050
effects\dc17_sniper_choose.wav -resample xbox 22050 pc 22050
effects\dc17_aa_reload.wav -resample xbox 22050 pc 22050
effects\dc17_aa_choose.wav -resample xbox 22050 pc 22050
effects\dc17_out_of_ammo.wav -resample xbox 22050 pc 22050
effects\dc15s_side_arm_fire.wav -resample xbox 22050 pc 22050
effects\commando_injured_1.wav -resample xbox 22050 pc 22050
effects\commando_injured_2.wav -resample xbox 22050 pc 22050
effects\commando_injured_3.wav -resample xbox 22050 pc 22050

i had ,too renamed

test.req ---to rcr.req with these contents

ucft
{
REQN
{
"str"
"align=2048"


}
REQN
{
"lvl"
"rcrcw"
}
}

testcw.req --- rcrcw.req

with these contens
ucft
{
REQN
{
"bnk"
"align=2048"
"rcrcw"
}

REQN
{
"config"
"rifledc17"
"pistoldc15s"
"antiarmordc17"
"sniperdc17"
"clone_commando_chatter_wound"
"choose_sniper"
"choose_aa"
"reload_aa"
"reload_rifle"
"reload_sniper"
"dc_empty"

}
}


And the rcrcw with these contens

SoundProperties()
{
Name("clone_commando_chatter_wound");
Group("imp_inf_pain_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(0.85);
SampleList()
{
Sample("commando_injured_1", 0.16);
Sample("commando_injured_2", 0.16);
Sample("commando_injured_3", 0.16);
Sample("IICOM416", 0.16);
Sample("IICOM417", 0.16);
Sample("IICOM418", 0.16);
}
}

SoundProperties()
{
Name("pistoldc15s");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("dc15s_side_arm_fire", 1.0);
}
}

SoundProperties()
{
Name("rifledc17");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("dc17_rifle", 1.0);
}
}

SoundProperties()
{
Name("antiarmordc17");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("dc17_antiarmor", 1.0);
}
}

SoundProperties()
{
Name("sniperdc17");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("dc17_sniper", 1.0);
}
}

SoundProperties()
{
Name("choose_sniper");
Group("weapons_foley");
Inherit("body_movement_template");
SampleList()
{
Sample("dc17_sniper_choose", 1.0);
}
}

SoundProperties()
{
Name("choose_aa");
Group("weapons_foley");
Inherit("body_movement_template");
SampleList()
{
Sample("dc17_aa_choose", 1.0);
}
}

SoundProperties()
{
Name("reload_aa")
Group("weapons_foley");
Inherit("body_movement_template");
SampleList()
{
Sample("dc17_aa_reload", 1.0);
}
}

SoundProperties()
{
Name("reload_rifle")
Group("weapons_foley");
Inherit("body_movement_template");
SampleList()
{
Sample("dc17_rifle_reload", 1.0);
}
}

SoundProperties()
{
Name("reload_sniper")
Group("weapons_foley");
Inherit("body_movement_template");
SampleList()
{
Sample("dc17_sniper_reload", 1.0);
}
}

SoundProperties()
{
Name("dc_empty");
Group("unit_weapon");
Inherit("body_movement_template");
Gain(1.0);
SampleList()
{
Sample("dc17_out_of_ammo", 1.0);
}
}

--In the lua have i put these under these

ReadDataFile("sound\\tan.lvl;tan1cw")
ReadDataFile("dc:sound\\rcr.lvl;rcrcw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")


and these is too in the soundmunge.bat

@call soundmungedir _BUILD\sound\worlds\rcr\%MUNGE_DIR% sound\worlds\rcr sound\worlds\rcr\%MUNGE_PLATFORM% %MUNGE_PLATFORM% _BUILD _LVL_%MUNGE_PLATFORM%\sound _BUILD\sound rcr

And there is now the mistake ? :? pls help

Posted: Wed Apr 04, 2007 11:24 am
by Redline
Can really nobody help me ? then close this topic :cry: :cry: :cry:

Posted: Thu Apr 05, 2007 8:10 am
by Redline
Thx for your help , but it dosen,t work :?

Posted: Thu Apr 05, 2007 4:53 pm
by Redline
Here the erros:

soundflmunge.exe : Warning : Files line 1 and 2 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_antiarmor
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 3 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_sniper
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 4 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_rifle_reload
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 5 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_sniper_reload
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 6 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_sniper_choose
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 7 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_aa_reload
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 8 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_aa_choose
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 9 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc17_out_of_ammo
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 10 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias dc15s_side_arm_fire
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 11 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias commando_injured_1
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 12 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias commando_injured_2
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx
soundflmunge.exe : Warning : Files line 1 and 13 reference the same source file c:\windows\media\chord.wav. dc17_rifle will alias commando_injured_3
- while munging C:\BF2_ModTools\data_RCR\Sound\worlds\rcr\rcrcw.asfx

ok i kill now this
"rifledc17"
"pistoldc15s"
"antiarmordc17"
"sniperdc17"
"clone_commando_chatter_wound"
"choose_sniper"
"choose_aa"
"reload_aa"
"reload_rifle"
"reload_sniper"
"dc_empty"

and this
rcrcw.asfx and put then it in the sfx.


But what now by config?

ucft
{
REQN
{
"bnk"
"align=2048"
"rcrcw"
}

REQN
{
"config"
???????
}
}

i am not sure , if i had you really understand

Posted: Fri Apr 06, 2007 10:03 am
by Redline
Can you give me an example ,pls

For this config = snd files

ucft
{
REQN
{
"bnk"
"align=2048"
"rcrcw"


}

REQN
{
"config"

}
}

What of snd files did you mean? :? pls say me that, (i don,t know really)

Posted: Fri Apr 06, 2007 4:16 pm
by Redline
ok i have now that in my rcrcw



ucft
{
REQN
{
"bnk"
"align=2048"
"rcrcw"


}

REQN
{
"config"
"rcrcw"
"commando_injured_1
"commando_injured_2"
"commando_injured_3"
"IICOM416"
"IICOM417"
"IICOM418"
"dc15s_side_arm_fire"
"dc17_rifle"
"dc17_antiarmor"
"dc17_sniper"
"dc17_sniper_choose"
"dc17_aa_choose"
"dc17_aa_reload"
"dc17_rifle_reload"
"dc17_sniper_reload"
"dc17_out_of_ammo"






}
}

This is in the rcrcw.sfx

effects\dc17_rifle.wav -resample xbox 22050 pc 22050
effects\dc17_antiarmor.wav -resample xbox 22050 pc 22050
effects\dc17_sniper.wav -resample xbox 22050 pc 22050
effects\dc17_rifle_reload.wav -resample xbox 22050 pc 22050
effects\dc17_sniper_reload.wav -resample xbox 22050 pc 22050
effects\dc17_sniper_choose.wav -resample xbox 22050 pc 22050
effects\dc17_aa_reload.wav -resample xbox 22050 pc 22050
effects\dc17_aa_choose.wav -resample xbox 22050 pc 22050
effects\dc17_out_of_ammo.wav -resample xbox 22050 pc 22050
effects\dc15s_side_arm_fire.wav -resample xbox 22050 pc 22050
effects\commando_injured_1.wav -resample xbox 22050 pc 22050
effects\commando_injured_2.wav -resample xbox 22050 pc 22050
effects\commando_injured_3.wav -resample xbox 22

and how again nothing work

Posted: Fri Apr 06, 2007 7:09 pm
by Redline
Ok i checked the sounds and all are mono

rcrcw.config , rcrcw.bnk and rcrcw.lvl have it munged

Posted: Mon Apr 09, 2007 8:16 am
by Redline
Ok new sounds will be don,t work by me. <<<Topic Close>>>