Descr_sounds_interface problem...

Started by Skull, September 17, 2012, 07:07:54 PM

Previous topic - Next topic

Skull

I have tryed changing the metal sound that plays when you order your unit to attack a enemy,however,in the game,it doesen't play,and I get no error message when I exit.
And yes,I checked,the files are there.

type battle

mode attack
event volume -40
folder Black_Knights/data/sounds
CossacksStart
CossacksSabla3
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end


mode attack_range
event volume -40
folder Black_Knights/data/sounds
CossacksStart
CossacksSabla3 
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end



mode attack_thrown
event volume -40
folder Black_Knights/data/sounds
CossacksStart
CossacksSabla3
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end



mode attack_siege
event
folder data/sounds/SFX/interface/battlefield
siege_attack_05
end


mode move, move_in_range, move_out_of_range
event volume -25 minpitch 1.0 maxpitch 1.0 dry_level .9 wet_level 1
folder data/sounds/SFX/interface/battlefield
move_02
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end


;;;;;;;   triggers when cursor right-clicks an invalid position
mode select
event
folder data/sounds/SFX/interface/battlefield

end

;;;;;;;;;;;;;;;;;;;;;;;;;;


mode attack_range_out_of_range
event volume -25 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
attack_out_of_range_01
end

mode attack_thrown_out_of_range
event volume -25 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
attack_out_of_range_01
end

mode attack_siege_out_of_range
event volume -25 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
attack_out_of_range_01
end

;;;;;;;;;;;;;;;;;;;;;;;;;;

mode pickup_equipment
event
folder data/sounds/SFX/interface/battlefield
grab_siege_06
end

mode enter
event
folder data/sounds/SFX/interface/battlefield
grab_siege_06
end

;;;;;;;;;;;;;;;;;;;;


type strat_v2
mode attack
event volume -40
folder Black_Knights/data/sounds
CossacksStart
CossacksSabla3
end

mode move
event  volume -40 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
Move_02
end

mode select
event  volume -40
folder data/sounds/SFX/interface/battlefield

end

mode exchange
event  volume -40 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
Move_02
end

mode enter_settlement
event  volume -40 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
Move_02
end

; we need this here to signal the end of the bank
DEFAULT: 1d volume -10



Anyone else ever encountered a similar problem?
Quote from: The Khan on October 02, 2013, 11:36:33 AM
Skull, the one of poor grammar, the enemy of all Grammar Nazi and destroyer of all linguistic reasoning!

comrade_general

It's probably something to do with the file path, but I'm not sure what to change it to.

Also, what file type are the sounds you're trying to use?

Skull

Hmm...You are probably right...
I will try with just data/sounds...maybe it is kinda like in descr banners?

It's MP3
Quote from: The Khan on October 02, 2013, 11:36:33 AM
Skull, the one of poor grammar, the enemy of all Grammar Nazi and destroyer of all linguistic reasoning!

Skull

Quote from: The Khan on October 02, 2013, 11:36:33 AM
Skull, the one of poor grammar, the enemy of all Grammar Nazi and destroyer of all linguistic reasoning!

comrade_general

I was thinking of making the path even more specific.

Skull

Quote from: The Khan on October 02, 2013, 11:36:33 AM
Skull, the one of poor grammar, the enemy of all Grammar Nazi and destroyer of all linguistic reasoning!

comrade_general

Oh I know - try putting .mp3 on the end of those file names.

debux

Yeah, as CG says, it should be that you forgot to add the extension. I made a music mod maybe a year ago and I think I had the same problem. It should work with that.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination


START ANSWERING PHOENIXGUARD! POST AS MUCH AS YE DID IN YE OLD DAYS :D

Skull

Hmm...OK,I' try,but I think that the original files don't have the extension either... ::)
Quote from: The Khan on October 02, 2013, 11:36:33 AM
Skull, the one of poor grammar, the enemy of all Grammar Nazi and destroyer of all linguistic reasoning!

Skull

Spoiler
mode attack
event volume -40
folder Black_Knights/data/sounds
CossacksStart.mp3
CossacksSabla3.mp3
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end


mode attack_range
event volume -40
folder Black_Knights/data/sounds
CossacksStart.mp3
CossacksSabla3.mp3 
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end



mode attack_thrown
event volume -40
folder Black_Knights/data/sounds
CossacksStart.mp3
CossacksSabla3.mp3
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end



mode attack_siege
event
folder data/sounds/SFX/interface/battlefield
siege_attack_05
end


mode move, move_in_range, move_out_of_range
event volume -25 minpitch 1.0 maxpitch 1.0 dry_level .9 wet_level 1
folder data/sounds/SFX/interface/battlefield
move_02
end

double
event
folder data/sounds/SFX/interface/battlefield
run_swoosh_07b volume -35
end


;;;;;;;   triggers when cursor right-clicks an invalid position
mode select
event
folder data/sounds/SFX/interface/battlefield

end

;;;;;;;;;;;;;;;;;;;;;;;;;;


mode attack_range_out_of_range
event volume -25 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
attack_out_of_range_01
end

mode attack_thrown_out_of_range
event volume -25 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
attack_out_of_range_01
end

mode attack_siege_out_of_range
event volume -25 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
attack_out_of_range_01
end

;;;;;;;;;;;;;;;;;;;;;;;;;;

mode pickup_equipment
event
folder data/sounds/SFX/interface/battlefield
grab_siege_06
end

mode enter
event
folder data/sounds/SFX/interface/battlefield
grab_siege_06
end

;;;;;;;;;;;;;;;;;;;;


type strat_v2
mode attack
event volume -40
folder Black_Knights/data/sounds
CossacksStart.mp3
CossacksSabla3.mp3
end

mode move
event  volume -40 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
Move_02
end

mode select
event  volume -40
folder data/sounds/SFX/interface/battlefield

end

mode exchange
event  volume -40 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
Move_02
end

mode enter_settlement
event  volume -40 dry_level 0.9 wet_level 1
folder data/sounds/SFX/interface/battlefield
Move_02
end

; we need this here to signal the end of the bank
DEFAULT: 1d volume -10


Still nothing... >:(

And yes,I tried without the Black_Knights prefix...
Quote from: The Khan on October 02, 2013, 11:36:33 AM
Skull, the one of poor grammar, the enemy of all Grammar Nazi and destroyer of all linguistic reasoning!

comrade_general

Then it must be something with the file path, but I still think the .mp3 should be there regardless.

debux

This might sound really silly, but try using a simple name, like "egg.mp3"... although I expect the same results, to be honest. Otherwise, I'm kinda stumped, I mean, if the target actually points to where the file is, it should work. Have you known of someone that has tried to do something similar?

Or in the other hand, rename your mp3 file with the original name of the sound that you want to replace, and then simply replace your file with the vanilla one. That should work for sure.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination


START ANSWERING PHOENIXGUARD! POST AS MUCH AS YE DID IN YE OLD DAYS :D