No sound works fighters

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

Moderator: Moderators

Private Third Class
User avatar
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

Postby RebelMarksman » Sun Dec 09, 2012 12:33 pm

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 ?

Command Sergeant Major
User avatar
Posts: 253
Joined: Wed Aug 31, 2011 4:22 am
Location: Ukraine
Projects :: Naboo Otoh Gunga
Games I'm Playing :: swbf 1
xbox live or psn: No gamertag set

Re: No sound works fighters

Postby sereja2 » Sun Dec 09, 2012 2:19 pm

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.

Private Third Class
User avatar
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

Postby RebelMarksman » Wed Dec 19, 2012 9:34 am

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.

Return to All things SWBF1

Who is online

Users browsing this forum: No registered users and 2 guests