UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: NaviLlusShore on January 16, 2014, 11:18:28 am

Title: Converted Weapon Sounds Don't Work?
Post by: NaviLlusShore on January 16, 2014, 11:18:28 am
For two weapons now the sounds I convert don't work for them Is there an extra step for weapon sounds? I have the correct custom sound names setup In the weapons.csv for the STG and I made a new .csv for my custom weapons that has the fire sound, fire sound plr, reload, and reload plr lines all having the correct names for the sound and In the weapon file I changed the sounds to match the custom sound names and these sounds do convert and I copied the sounds from the raw/sounds folder and pasted them Into my mapname sounds folder and they are checked In launcher, I have built the mod and compiled the map with the new sounds selected but when I go In game and grab the weapons and shoot them to see how they sound there Is no sound at all

Post Merge: January 17, 2014, 03:17:39 am
Any ideas? Still can't get the sounds to work on the weapons
Title: Re: Converted Weapon Sounds Don't Work?
Post by: DeletedUser on January 22, 2014, 11:54:00 pm
Hey, did you look up ZK's vid because that may help you :D
Title: Re: Converted Weapon Sounds Don't Work?
Post by: haxman123 on January 23, 2014, 02:25:03 am
Im prettysure you have to put a line of code in your .csv and then build mod
Title: Re: Converted Weapon Sounds Don't Work?
Post by: SajeOne on January 23, 2014, 03:58:06 pm
For one you don't need to copy weapon sounds to your mod unless you specified they are streamed in the sound alias. If you copied any alias line from weapons.csv then they aren't streamed. Instead of them being in your IWD they are then compiled into your .ff

Delete the sounds from raw/sound and re-convert them through asset manager. Beyond that then the implementation in script or weaponfile must be wrong. Otherwise they wouldn't convert correctly to raw/sound.

EDIT: If you really want a new CSV file then you have to add a line for it in your mod.csv. Example:
Code Snippet
Plaintext
sound,*ALIAS_FILE_NAME*,,all_sp

This is unnecessary in my opinion as weapons.csv is already defined and it's purpose is to contain weapon sounds. If I were you I would move the alias lines from your custom CSV file to weapons.csv.