Sounds

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Sounds

Post by NullCommando »

Ok, I'm sorry to post another topic so soon but, since I fixed the crash I was wondering how and why custom sounds don't work when I add them:

FFScw.req:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"bnk"
"align=2048"
"testcw"
"FFS"
}

REQN
{
"config"
"global_world"
"exp_obj"
"testcw"
"cw_vo"
"cw"
"swrcweapons"
}
}[/code]
FFS.asfx:
Hidden/Spoiler:
[code]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[/code]

swrcweapons.au: ( .snd )
Hidden/Spoiler:
[code]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);
}
}[/code]
Last edited by NullCommando on Mon Dec 24, 2007 11:30 am, edited 1 time in total.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Sounds

Post by Aman/Pinguin »

why is the file fromat of the swrcweapons .au?
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Sounds

Post by NullCommando »

It was like that and when I searhced .snd files these .au files turned up, and this was pre-done with the Commando and UT-AT.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Sounds

Post by Aman/Pinguin »

use snd files

EDIT: Which tutorial did you use? And are you sure you added everything to the bat files that is described in the tutorial?

EDIT2: And did you copied the sound file from data_abc/lvl_pc to swbf/addon/lvl_pc/sounds?

(Dont know if the direction is correct, on this comp here is no swbf2 installed)
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Sounds

Post by NullCommando »

Well the .snd file turned out to be the .au file for a weird reason..
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Sounds

Post by Aman/Pinguin »

So its swrcweapons.snd?
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Sounds

Post by NullCommando »

Yes, thats it. Also this error comes up..

Code: Select all

soundflmunge.exe : Error : Unable to open file E:\Backup\BF2_ModTools\data_FFS\Sides\common\sound\..\..\sound\global\effects\ui_load_lp.wav  - while munging E:\Backup\BF2_ModTools\data_FFS\Sides\common\sound\global.sfx
soundflmunge.exe : Error : Unable to open file E:\Backup\BF2_ModTools\data_FFS\Sides\common\sound\..\..\sound\global\effects\ui_load_lp.wav, format may be invalid  - while munging E:\Backup\BF2_ModTools\data_FFS\Sides\common\sound\global.sfx
soundflmunge.exe : Error : Unable to read file list E:\Backup\BF2_ModTools\data_FFS\Sides\common\sound\global.sfx  - while munging E:\Backup\BF2_ModTools\data_FFS\Sides\common\sound\global.sfx
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Sounds

Post by Aman/Pinguin »

Okay...when this error comes upn I cant help you...many people have it and i have no idea how to fix it.
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Sounds

Post by NullCommando »

Guess this means I can't have any custom sounds, well thanks anyhow.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Sounds

Post by Maveritchell »

Make sure you've fixed your munge.bat + soundmungedir.bat. Read through both Rends' tutorial and MajinRevan's tutorial. You have to download the fixed munge.bat from Rends' and you need to do two fixes mentioned in MR's.
Post Reply