Page 1 of 1

No sound works fighters

Posted: Sun Dec 09, 2012 12:33 pm
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 ?

Re: No sound works fighters

Posted: Sun Dec 09, 2012 2:19 pm
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.

Re: No sound works fighters

Posted: Wed Dec 19, 2012 9:34 am
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.