Exilian

Game Design and Project Resources: The Workshops Quarter => Total War Mods - The Engineer's Shed => Mods, Maps & Game Add-Ons - The Bazaar => The Siege Workshop - TW Modding Info and Discussion => Topic started by: Skull on September 17, 2012, 07:07:54 PM

Title: Descr_sounds_interface problem...
Post by: Skull on September 17, 2012, 07:07:54 PM
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.

Code: [Select]
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?
Title: Re: Descr_sounds_interface problem...
Post by: comrade_general on September 17, 2012, 10:18:26 PM
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?
Title: Re: Descr_sounds_interface problem...
Post by: Skull on September 19, 2012, 10:28:37 AM
Hmm...You are probably right...
I will try with just data/sounds...maybe it is kinda like in descr banners?

It's MP3
Title: Re: Descr_sounds_interface problem...
Post by: Skull on September 19, 2012, 06:49:17 PM
I tried it,still doesn't work... :-\
Title: Re: Descr_sounds_interface problem...
Post by: comrade_general on September 19, 2012, 10:52:30 PM
I was thinking of making the path even more specific.
Title: Re: Descr_sounds_interface problem...
Post by: Skull on September 20, 2012, 11:09:02 AM
What do you mean  ???
Title: Re: Descr_sounds_interface problem...
Post by: comrade_general on September 20, 2012, 11:59:28 AM
Oh I know - try putting .mp3 on the end of those file names.
Title: Re: Descr_sounds_interface problem...
Post by: debux on September 20, 2012, 05:46:26 PM
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.
Title: Re: Descr_sounds_interface problem...
Post by: Skull on September 20, 2012, 06:52:22 PM
Hmm...OK,I' try,but I think that the original files don't have the extension either... ::)
Title: Re: Descr_sounds_interface problem...
Post by: Skull on September 20, 2012, 09:39:31 PM
Spoiler (click to show/hide)

Still nothing... >:(

And yes,I tried without the Black_Knights prefix...
Title: Re: Descr_sounds_interface problem...
Post by: comrade_general on September 21, 2012, 12:35:58 AM
Then it must be something with the file path, but I still think the .mp3 should be there regardless.
Title: Re: Descr_sounds_interface problem...
Post by: debux on September 21, 2012, 01:47:33 AM
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.