Page 1 of 1

Problem with munged sounds [Solved]

Posted: Wed Jan 14, 2015 9:38 pm
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?

Re: problem with munged sounds

Posted: Wed Jan 14, 2015 10:29 pm
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.)

Re: problem with munged sounds

Posted: Wed Jan 14, 2015 11:12 pm
by ZoomV
That was the order I had them in originally, but I tried it again anyways and no dice.

Re: problem with munged sounds

Posted: Wed Jan 14, 2015 11:12 pm
by Marth8880
Try commenting out the Felucia line. :o

Re: problem with munged sounds

Posted: Wed Jan 14, 2015 11:16 pm
by ZoomV
Tried it, nope no RC sounds, and now all the other sounds are gone too. :cpu:

Re: problem with munged sounds

Posted: Thu Jan 15, 2015 1:34 pm
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

Re: problem with munged sounds

Posted: Thu Jan 15, 2015 10:29 pm
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?

Re: problem with munged sounds

Posted: Fri Jan 16, 2015 5:33 am
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