Missing ambient 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
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Missing ambient sounds

Post by AQT »

So I was following Rends' "how to add missing shipped sounds" tutorial. I'm trying to get the steam sound from Hoth and the fountain sound from Naboo to work. What I cannot figure out is what would go under the "config" section in one of the REQs:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"bnk"
"align=2048"
"tesgcw"
}

REQN
{
"config"
"?"
}
}[/code]
I have tried "global_world" thus far and ended up with a 41 KB file but that didn't work. Any help would be appreciated.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Missing ambient sounds

Post by Maveritchell »

You need to make an .snd file that loads the correct sound configs you want. Look through the Hoth .snd files and the Naboo .snd files to find out which sound properties you're loading. (These will have been the same sounds you added to your .sfx file.)
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Missing ambient sounds

Post by AQT »

Ok, I made a .snd file called tesgcw and referenced it in the previous REQ above in place of the question mark. Its contents are:
Hidden/Spoiler:
[code]
SoundProperties()
{
Name("fountain");
Group("ambientenv");
Inherit("ambientemt_static_template");
#ifplatform xbox pc
Gain(0.3);
#endifplatform xbox pc
#ifplatform ps2
Gain(0.6);

#endifplatform ps2
RandomPlayPos(1);
Looping(1);
Rolloff(2.0);
//Max and Min distance set in wld or lyr file
SampleList()
{
Sample("emt_fountain_lp", 1.0);
}
}

SoundProperties()
{
Name("com_amb_steam"); // steam jet loop
Group("Props");
Inherit("props_template");
Looping(1);
RandomPlayPos(1);
RollOff(5.0);
MaxDistance(50);
MuteDistance(50);
Gain(0.2);
SampleList()
{
Sample("emt_steam_lp", 1.0);
}
}

SoundProperties()
{
Name("com_amb_steam_slow"); // steam jet loop low pitch
Group("Props");
Inherit("props_template");
Looping(1);
RandomPlayPos(1);
Pitch(0.5);
RollOff(5.0);
MaxDistance(50);
MuteDistance(50);
SampleList()
{
Sample("emt_steam_lp", 1.0);
}
}[/code]
I couldn't find the sound properties of the steam sound in any of the Hoth .snd files so I copied the lines from a SWBF1 Bespin one. I munged and got a 3 KB small file. In-game the sounds were still not present. Am I missing something else? Here's my tesgcw.sfx file if there is anything wrong with it:
Hidden/Spoiler:
[code]#ifplatform xbox pc
..\..\global\effects\emt_fountain_lp.wav -resample xbox 22050 pc 22050
#endifplatform xbox pc

..\..\global\effects\emt_steam_lp.wav -resample ps2 12000 xbox 22050 pc 22050[/code]
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Missing ambient sounds

Post by Maveritchell »

Just taking a quick look at the actual sound files:
The steam is already set up in global_world.snd as a sound, so you don't need to set it up in the .snd file you load. You will need to add the correct reference in your .sfx file (see Hoth's). Naboo has everything you need in its nab2.snd and .sfx (whichever you like) files respectively.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Missing ambient sounds

Post by AQT »

Alright so these are the files in the tes folder currently:

tes.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"str"
"align=2048"
}
REQN
{
"lvl"
"tesgcw"
}
}[/code]
tesgcw.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"bnk"
"align=2048"
"tesgcw"
}

REQN
{
"config"
"tesgcw"
}
}[/code]
tesgcw.snd
Hidden/Spoiler:
[code]SoundProperties()
{
Name("fountain");
Group("ambientenv");
Inherit("ambientemt_static_template");
#ifplatform xbox pc
Gain(0.3);
#endifplatform xbox pc
#ifplatform ps2
Gain(0.6);

#endifplatform ps2
RandomPlayPos(1);
Looping(1);
Rolloff(2.0);
//Max and Min distance set in wld or lyr file
SampleList()
{
Sample("emt_fountain_lp", 1.0);
}
}[/code]
tesgcw.sfx
Hidden/Spoiler:
[code]#ifplatform xbox pc
..\..\global\effects\emt_fountain_lp.wav -resample xbox 22050 pc 22050
#endifplatform xbox pc
#ifplatform ps2
..\..\global\effects\em2_fountain_lp.wav emt_fountain_lp -resample ps2 16000
#endifplatform ps2

..\..\global\effects\emt_steam_lp.wav -resample ps2 12000 xbox 22050 pc 22050[/code]
But still no sounds. Is this setup correct?
Post Reply