No sound works fighters

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
RebelMarksman
Private Third Class
Posts: 55
Joined: Sun Feb 12, 2012 4:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront 1
xbox live or psn: No gamertag set

No sound works fighters

Post by RebelMarksman »

Tell me, what's the matter. I added to my location fighters. But not work the sound of the engine, take-off and landing, and shots. In addition explosions proton torpedoes. Does anyone know how to fix this ?
sereja2
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Wed Aug 31, 2011 4:22 am
Projects :: Naboo Otoh Gunga
Games I'm Playing :: swbf 1
xbox live or psn: No gamertag set
Location: Ukraine

Re: No sound works fighters

Post by sereja2 »

That's may happens, if you forget to add some line, in basic sound files. Actualy sound is most illusive thing, of modding, and sometimes, it's just not work, without any explanation...

Let's call your map ModID: 018 for example.

1. Open and change your sound bat file to this:
Hidden/Spoiler:
@if %1x==x goto noplatform
@if /i %1==pc set BANKOPT=-template -stub c:\windows\media\chord.wav
@set PLATFORM=%1
@rem Munge world specific sound data

@call soundmungedir _BUILD_%PLATFORM%\sound\worlds\018 sound\worlds\018 _SOURCE_%PLATFORM%\sound\worlds\018 %PLATFORM% . _LVL_%PLATFORM%\sound _BUILD_%PLATFORM%\sound 018

@goto exit
:noplatform
@echo Platform must be specified as the first argument
:exit
2. Open your C:\BFBuilder\Data018\Sound\worlds\018 directory, and find 018gcw.req. Open it, and add such lines, for example:
Hidden/Spoiler:
ucft
{
REQN
{
"bnk"
"align=2048"
"018gcw"
"018"

}

REQN
{
"config"
"all_hover_combatspeeder"
"all_fly_xwing"
"imp_walk_atst"
"rep_fly_gunship"
"imp_hover_fightertank"
"all_hover_combatspeeder"
"tat1gcw"
"lightning"
"trandovos"
"tat"
"tat1"
3. Open your 018gcw.sfx file and add such lines for example:
Hidden/Spoiler:
// Xwing ----------------------------------------------------------------------------------------------
#ifplatform pc
..\..\gcw\effects\wpn_xwing_blaster_fire.wav -resample pc 44100
//..\..\gcw\effects\wpn_xwing_torpedo_fire.wav -resample pc 44100
..\..\gcw\effects\eng_xwing_hi_lp.wav -resample pc 22050
..\..\gcw\effects\eng_xwing_low_lp.wav -resample pc 22050
..\..\gcw\effects\eng_xwing_med_lp.wav -resample pc 22050
#endifplatform pc

// ---------------------------------------------------------------------------------------------------------------
You can find all fighter needed stock samples in such directory: C:\BFBuilder\Assets\Sound Config Files\worlds\bes or some other world folder.
4. Open your Mission.LUA, and add this lines in order:
ReadDataFile("sound\\tat.lvl;tat2gcw");
ReadDataFile("dc:sound\\018.lvl;018gcw");

Now, it should work's.
User avatar
RebelMarksman
Private Third Class
Posts: 55
Joined: Sun Feb 12, 2012 4:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront 1
xbox live or psn: No gamertag set

Re: No sound works fighters

Post by RebelMarksman »

So far, unfortunately, nothing happened. Tell me, can all settings of the "hide" in a Alliance.lvl a sound file that is in my folder sound ? I wanted to add the sounds of the flight the fighter to the location RhenWar.
Post Reply