Trouble with Custom Ambiance SoundStream

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

High General
User avatar
Posts: 821
Joined: Wed Aug 18, 2010 4:23 pm
Location: Twitter @_KrypticElement
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt

Trouble with Custom Ambiance SoundStream

Postby modmaster13 » Fri Jun 08, 2018 8:18 pm

Hey everyone, so I'm trying to get a custom soundstream, along with extra sound effects not found in the hot.lvl sound file. Here are my files so you can get a look at what I'm working with.

rvc.req
Hidden/Spoiler:
ucft
{
REQN
{
"str"
"align=2048"
"rvc_S"
}
REQN
{
"lvl"
"AU_1"
"rvcgcw"
"rvccw"
}
}


rvc_S.stm
Hidden/Spoiler:
streams\rhenvarwind.wav rhenvar_amb1


AU_1.snd
Hidden/Spoiler:
// ----- Ambient Environment Streams Start ------------------------------

SoundStreamProperties()
{
Name("rhenvarwind");
Group("ambientenv");
Inherit("ambientfx_template");
Stream("rvc_S");
Gain(1.0);
SegmentList()
{
Segment("rhenvar_amb1", 1.0);
}
}


// ----- Ambient Environment Streams End ---------------------------


rvcgcw.req
Hidden/Spoiler:
ucft
{
REQN
{
"bnk"
"align=2048"
"rvc_S"
"rvcgcw"
}

REQN
{
"config"
"AU_1"
"rvc_S"
"imp_hover_fightertank"
"all_hover_combatspeeder"
}
}


rvcgcw.sfx
Hidden/Spoiler:
// 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
// --------------------------------------------------------------------------------------------------------------

// IFT-RFT -------------------------------------------------------------------------------------------------
#ifplatform xbox pc
..\..\cw\effects\wpn_gunship_laser_fire.wav -resample xbox 22050 pc 44100
..\..\cw\effects\wp2_gunship_laser_lp.wav wpn_gunship_laser_lp -resample xbox 22050 pc 44100
..\..\global\effects\wpn_IFT_blaster_fire.wav -resample xbox 22050 pc 44100
..\..\global\effects\wpn_IFT_missile_fire.wav -resample xbox 22050 pc 44100
//..\..\global\effects\wpn_IFT_trtBlaster_fire.wav -resample xbox 22050 pc 22050
..\..\global\effects\eng_interceptorTank_low_lp.wav -resample xbox 11025 pc 22050
..\..\global\effects\eng_interceptorTank_mid_lp.wav -resample xbox 11025 pc 22050
..\..\global\effects\eng_interceptorTank_hi_lp.wav -resample xbox 22050 pc 22050
#endifplatform xbox pc
#ifplatform ps2
..\..\cw\effects\wp2_gunship_laser_fire.wav wpn_gunship_laser_fire -resample ps2 16000
..\..\cw\effects\wp2_gunship_laser_lp.wav wpn_gunship_laser_lp -resample ps2 8000
..\..\global\effects\wp2_IFT_blaster_fire.wav wpn_IFT_blaster_fire -resample ps2 16000
..\..\global\effects\wp2_IFT_missile_fire.wav wpn_IFT_missile_fire -resample ps2 16000
//..\..\global\effects\wp2_IFT_trtBlaster_fire.wav wpn_IFT_trtBlaster_fire -resample ps2 16000
..\..\global\effects\eP2_interceptorTank_low_lp.wav eng_interceptorTank_low_lp -resample ps2 3000
..\..\global\effects\eP2_interceptorTank_mid_lp.wav eng_interceptorTank_mid_lp -resample ps2 6000
..\..\global\effects\eP2_interceptorTank_hi_lp.wav eng_interceptorTank_hi_lp -resample ps2 16000
#endifplatform ps2
// ---------------------------------------------------------------------------------------------------------------

// All Tri-bursts
..\..\global\effects\wpn_boba_burst.wav wpn_boba_burst -resample ps2 16000 xbox 22050 pc 22050


I have a folder called "streams" in my Sound>worlds>rvc folder, and it's a .WAV sound file. The soundstream region in ZE is calling to "rhenvarwind". When the sound lvl is munged, it is around 15,000 kb. I have the rvc.lvl file in my addon\RVC\data\_LVL_PC\Sound folder. If anyone could help me out with this problem I'm having, that would be greatly appreciated. Thank you and have a great day :)

Resistance Leader
User avatar
Posts: 5170
Joined: Tue Feb 09, 2010 8:43 pm
Location: Greater Seattle Area
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Cities Skylines
xbox live or psn: Marth8880

Re: Trouble with Custom Ambiance SoundStream

Postby Marth8880 » Sun Jun 10, 2018 1:16 am

Could you please post your relevant mission script?

rvcgcw.req wrote:
Code: Select all
REQN
{
"bnk"
"align=2048"
"rvc_S"
"rvcgcw"
}

What file is "rvc_S" supposed to be referencing?

Keep in mind that the "bnk" section references SFX and ASFX files, not STM or ST4 files:

Sound Engine Guide.txt wrote:Sound Req Segment Headers and The Contents:
lvl = req file names
bnk = sfx and asfx files
config = snd, mus and tsr files
str = stm and st4 files

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 1 guest