I followed vyse's tut for adding sound to the letter but it doesn't seem to want to work for me... The game either can't read the file or the file wasn't munged correctly as i'm getting this error
Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:sound\LPR.lvl;LPR
Here is the long list of all my files, if someone could see if they all match up I would be greatful
this is LPR.asfx
Hidden/Spoiler:
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
effects\testing.wav -resample xbox 22050 pc 22050
streams\amb_yavinMapRoom_fnt.wav Music
streams\amb_yavinMapRoom_bck.wav
This is LPRcw.req
Hidden/Spoiler:
ucft
{
REQN
{
"bnk"
"align=2048"
"LPR"
}
REQN
{
"config"
"Soundprop"
"LPR"
}
}
I don't think I missed anything though I could be wrong, in my effects folders are .wav files called:
commando_injured_1.wav
commando_injured_2.wav
commando_injured_3.wav
dc15s_side_arm_fire.wav
dc17_aa_choose.wav
dc17_aa_reload.wav
dc17_antiarmor.wav
dc17_out_of_ammo.wav
dc17_rifle.wav
dc17_rifle_reload.wav
dc17_sniper.wav
dc17_sniper_choose.wav
dc17_sniper_reload.wav
In my streams folder are a pair of files named
amb_yavin_MapRoom_bck.wav
amb_yavin_MapRoom_fnt.wav
Thats all the information I have avalable, does anyone know what I did wrong?
Re: Problems with sound take 2
Posted: Tue Feb 09, 2010 10:32 pm
by Deviss
problem of course is the PLACE, where you put the sound LPR.lvl file?:) this must are on your addon SOUND folder
Re: Problems with sound take 2
Posted: Tue Feb 09, 2010 11:37 pm
by wishihadaname
I don't have battlefront 1 mod tools so I used the battlefront 2 mod tools along with the fix by majin revan. Is there a way to tell if it munged a LPR.lvl file?
Re: Problems with sound take 2
Posted: Tue Feb 09, 2010 11:40 pm
by Deviss
wishihadaname wrote:I don't have battlefront 1 mod tools so I used the battlefront 2 mod tools along with the fix by majin revan. Is there a way to tell if it munged a LPR.lvl file?
of course xD, the name of your file.req will be the name of your .lvl for example my side is dev.req so after munge will be dev.lvl also you can rename it manually xD, you got munged file.lvl or have problems getting custom sound file?:)
Re: Problems with sound take 2
Posted: Tue Feb 09, 2010 11:57 pm
by wishihadaname
I went to C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\addon\LPR\data\_LVL_PC and there is no folder named sound, so I assume that means that the sound .lvl never even munged. Thats not good... There were only 2 files you had to modify for the majin revan fix right? the soundmungedir.bat in the data folder and the munge.bat in the _build/sound folder right?
Re: Problems with sound take 2
Posted: Wed Feb 10, 2010 12:31 am
by Deviss
wishihadaname wrote:I went to C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\addon\LPR\data\_LVL_PC and there is no folder named sound, so I assume that means that the sound .lvl never even munged. Thats not good... There were only 2 files you had to modify for the majin revan fix right? the soundmungedir.bat in the data folder and the munge.bat in the _build/sound folder right?
after munge (click on munge.bat in C:\BF2_ModTools\data_xxx\_BUILD\Sound) into your _lvl_pc will appear the file (C:\BF2_ModTools\data_xxx\_LVL_PC\Sound must to be LPR.lvl) and put that file in your addon folder (C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\Addon\xxx\data\_LVL_PC\Sound)
Roger Roger??
Re: Problems with sound take 2
Posted: Wed Feb 10, 2010 12:44 am
by wishihadaname
Its not there. Not sure what the problem is...
Re: Problems with sound take 2
Posted: Wed Feb 10, 2010 1:01 am
by Deviss
wishihadaname wrote:Its not there. Not sure what the problem is...
well so the problem is munge.bat isn't right setting, or you placed wrong your custom sound folder :
your custom sound folder must to be here
C:\BF2_ModTools\data_xxx\Sound\worlds
and try using this Munge.bat into C:\BF2_ModTools\data_xxx\_BUILD\Sound and doble click left then tell me if LPR.lvl appeared where this must
NOTE: special thanks to AQT for working munge.bat and files
Re: Problems with sound take 2
Posted: Wed Feb 10, 2010 11:44 pm
by wishihadaname
Still doesn't work, I must have set up my sound folder wrong... Its located at C:\BF2_ModTools\data_LPR\Sound\worlds\LPR
and here is a screenie of what it looks like...
Hidden/Spoiler:
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 12:12 am
by Deviss
wishihadaname wrote:Still doesn't work, I must have set up my sound folder wrong... Its located at C:\BF2_ModTools\data_LPR\Sound\worlds\LPR
and here is a screenie of what it looks like...
Hidden/Spoiler:
after munge no new sound file LPR.lvl (into your _lvl_pc/sound folder )?
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 1:43 am
by wishihadaname
ya, no new sound file there, idk what I did wrong...
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 2:57 am
by Deviss
wishihadaname wrote:ya, no new sound file there, idk what I did wrong...
in your soundmunge.bat is added LPR line? temporally you want i make the custom sound file for you ? of course i will continious bothering you for can make it yourself
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 10:41 pm
by wishihadaname
ok that worked, I now have an LPR.lvl in my Program Files\LucasArts\Star Wars Battlefront II\GameData\addon\LPR\data\_LVL_PC\Sound however the sounds are still not playing ingame, is there something else I needed to do? I fixed the not munging issue by adding a line to my soundmunge.bat, this step wasn't included in majin revans fix so I didn't know I needed to do that.
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 10:44 pm
by Deviss
wishihadaname wrote:ok that worked, I now have an LPR.lvl in my Program Files\LucasArts\Star Wars Battlefront II\GameData\addon\LPR\data\_LVL_PC\Sound however the sounds are still not playing ingame, is there something else I needed to do? I fixed the not munging issue by adding a line to my soundmunge.bat, this step wasn't included in majin revans fix so I didn't know I needed to do that.
you added custom sound line in your mission lua XD?
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 10:56 pm
by wishihadaname
Currently i'm just trying to fix the Republic Commando sounds.
the rifle calls for
FireSound = "rifledc17"
ReloadSound = "reload_rifle"
FireEmptySound = "dc_empty"
the .wav is called dc17_rifle.wav
the LPRcw.snd calls for
{
Name("rifledc17");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("dc17_rifle", 1.0);
}
}
and the .asfx fire calls for
effects\dc17_rifle.wav -resample xbox 22050 pc 22050
Re: Problems with sound take 2
Posted: Thu Feb 11, 2010 11:02 pm
by Deviss
as you didn't answer me i suppose not lol you must add the line to your mission lua like this:
ReadDataFile("sound\\geo.lvl;geo1cw") ReadDataFile("dc:sound\\LPR.lvl;LPRcw")
Re: Problems with sound take 2
Posted: Fri Feb 12, 2010 5:05 pm
by wishihadaname
Ohh sorry, yes that line is there and has been there, I should have mentioned that in my last responce
ReadDataFile("dc:sound\\LPR.lvl;LPRcw")
EDIT
sorry for double post, I just figured out though it seems that the voicovers for the commandoes ARE working, they say "i'm hit" when their health gets low, however the sounds for the guns are not working and the "i'm hit" line is very quiet, any ideas?
Double posting is against the RULES, please EDIT your post instead -Staff
Re: Problems with sound take 2
Posted: Fri Feb 12, 2010 5:19 pm
by Deviss
wishihadaname wrote:sorry for double post, I just figured out though it seems that the voicovers for the commandoes ARE working, they say "i'm hit" when their health gets low, however the sounds for the guns are not working and the "i'm hit" line is very quiet, any ideas?
well so custom sounds is right setting now the problem is bad setting about your weapons :S i will post soon new asfx and au
NOTE: sorry to me for delay in help :S
i had one idea you tried only copy and past from original files of clonecommando sounds by majin revan?
Re: Problems with sound take 2
Posted: Fri Feb 12, 2010 6:00 pm
by wishihadaname
I just did a workarround and made the weapons fire already existing sounds, its not half bad so I think i'll leave it as is for now. Only one other thing I need to know, how do I set up a voiceover? I assume format stays the same but were do I refreance it and how do I set it up?
Re: Problems with sound take 2
Posted: Fri Feb 12, 2010 6:24 pm
by Deviss
wishihadaname wrote:I just did a workarround and made the weapons fire already existing sounds, its not half bad so I think i'll leave it as is for now. Only one other thing I need to know, how do I set up a voiceover? I assume format stays the same but were do I refreance it and how do I set it up?
you mean hurt sound etc? and no surrender if you want, you could use mine custom sound