Problem with munged sounds [Solved]

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
ZoomV
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 308
Joined: Thu Aug 15, 2013 11:27 am
Projects :: Old Republic Map pack
Games I'm Playing :: BF2 SWTOR and GW2
xbox live or psn: No gamertag set
Location: Belsavis, Maximum Security Ward

Problem with munged sounds [Solved]

Post by ZoomV »

So I was trying to use Anakin's munged RC sounds however despite following the readme, the sounds are not appearing.

The ODF has this line

Code: Select all

FireSound           = "dc17_sniper"
The Lua looks like this

Code: Select all

blah blah blah

   

    ReadDataFile("dc:SOUND\\rcw.lvl;dc17")    
    ReadDataFile("sound\\fel.lvl;fel1cw")
    ReadDataFile("..\\..\\addon\\BVS\\data\\_LVL_PC\\SIDE\\clonewar.lvl",
			     "tur_bldg_laser",
blah blah blah
The readme says this
Hidden/Spoiler:
[quote="Anakin"]

Introduction:
Just include the rcw.lvl file in your lua and use the following
sound names in your weapon's odf.

Lua:
ReadDataFile("dc:path\\to\\sound\\file\\rcw.lvl;dc17")

Odf:
===FIRE=SOUNDS===
dc_15s_side_arm_fire
dc17_rifle
dc17_sniper
dc17_antiarmor

===CHANGE=SOUNDS===
dc17_sniper_choose
dc17_aa_choose

===RELOAD=SOUNDS===
dc17_rifle_reload
dc17_sniper_reload
dc17_aa_reload

===EMPTY=SOUND===
dc17_out_of_ammo[/quote]
And before you ask I did double check to make sure I copied the correct file into the map directory.

Help?
Last edited by ZoomV on Fri Jan 16, 2015 6:18 pm, edited 1 time in total.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: problem with munged sounds

Post by Marth8880 »

Try swapping these two lines:

Code: Select all

ReadDataFile("dc:SOUND\\rcw.lvl;dc17")    
ReadDataFile("sound\\fel.lvl;fel1cw")
(Pro-tip: If you use Notepad++, you can do this easily by pressing Ctrl+T with the bottom line selected.)
ZoomV
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 308
Joined: Thu Aug 15, 2013 11:27 am
Projects :: Old Republic Map pack
Games I'm Playing :: BF2 SWTOR and GW2
xbox live or psn: No gamertag set
Location: Belsavis, Maximum Security Ward

Re: problem with munged sounds

Post by ZoomV »

That was the order I had them in originally, but I tried it again anyways and no dice.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: problem with munged sounds

Post by Marth8880 »

Try commenting out the Felucia line. :o
ZoomV
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 308
Joined: Thu Aug 15, 2013 11:27 am
Projects :: Old Republic Map pack
Games I'm Playing :: BF2 SWTOR and GW2
xbox live or psn: No gamertag set
Location: Belsavis, Maximum Security Ward

Re: problem with munged sounds

Post by ZoomV »

Tried it, nope no RC sounds, and now all the other sounds are gone too. :cpu:
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: problem with munged sounds

Post by Anakin »

Looks like i put an old version of the readme in the download. The right firesound name is dc17_sniper_fire. Please try this
ZoomV
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 308
Joined: Thu Aug 15, 2013 11:27 am
Projects :: Old Republic Map pack
Games I'm Playing :: BF2 SWTOR and GW2
xbox live or psn: No gamertag set
Location: Belsavis, Maximum Security Ward

Re: problem with munged sounds

Post by ZoomV »

Anakin wrote:Looks like i put an old version of the readme in the download. The right firesound name is dc17_sniper_fire. Please try this
do all of the fire sounds have "_fire" at the end?
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: problem with munged sounds

Post by Anakin »

I wrote the sample names in the readme instead of the sound names ;) Here is the complete new list. I added it to the release thread, too.

===FIRE=SOUNDS===
dc15s_pistol_fire
dc17_rifle_fire
dc17_sniper_fire
dc17_antiarmor_explosion

===CHANGE=SOUNDS===
dc17s_change
dc17_antiarmor_change

===RELOAD=SOUNDS===
dc17_rifle_reload
dc17_sniper_reload
dc17_antiarmor_reload

===EMPTY=SOUND===
dc17_empty
Post Reply