Modme Forums
Menu:

User Alias Sounds Not Working

Game Modding | Call of Duty: Black Ops 3 | Radiant


Jake3050:

My SZC matches my alias name so I don't know why there is no sound for custom weapons and perks in my map? Help would mean so much :)
491
492


RaGe-74:

This is a total tutorial I did a couple of years ago.

First thing you will need to do is insert a “script_struct”.
This can be located in the entity browser under the heading “Script”. Click on it, and drag “struct” into either the 2D or 3D viewport.
(right click near the menus at the top if the Entity Browser screen isn’t displayed and click it).

If you did it right, you will have a small red box on your screen.

Move it to where you want the sound to come from, then click on it, and go to the “Entity Info” screen. (N)
(right click near the menus at the top if the Entity Info screen isn’t displayed and click it).

In Entity Info, there will be a box called “targetname”
In the box to the right of it, titled “Value” (click it), type whatever it is that is will be categorised as. In this example, I will use fire.

On the bottom right of the screen, click the ADD KVP button.

On the screen, a window appeared with Key and Value fields.
Enter the following:
Property/Key: script_label
Value: looper

…then click “Add”.

It’s very important to note here, that NO spaces can be used. If you want a space, use an UNDERSCORE “ _ “ instead, and if you used CAPITALS anywhere, it must be the same throughout the script files you modify.

Click ADD KVP again, and enter the following: (you can put anything in value..fire, water, fog, rain etc., but you must keep it consistent throughout the “adding the sound” process.

Property/Key: script_sound
Value: (name of sound in alias file) eg. amb_small_fire
Again, Click Add.

Now open the file located in your Call of Duty Black Ops III\share\raw\sound\aliases directory called “user_aliases.csv” using either Wordpad, or preferably Microsoft Excel.

In the first column under “Name”, you type what you typed in the script_struct second KVP value..In this example, “amb_small_fire”.
In the fourth column is the file path and filename. This is relative to the sound_assets directory located in your BO3 folder.

So in the fourth column, I type “fire\amb_fire_sml.wav” (without the quotes).

If you don’t get the paths to the file correct in this “user_aliases.csv” file, then the map won’t compile.
If you are downloading a sample file, it must be stereo, and 48 Khz. If you don’t follow this, your map won’t compile, and you’ll get an error:

ERROR: F:\Steam\SteamApps\common\Call of Duty Black Ops III\sound_assets\wind\amb_fire_sml.wav
ERROR: wav is not 48k sample rate

You can re-sample audio with something like “Audacity”, a free audio editing program and re-sample it up to or down to 48000.

Other important values:
Volmin and Volmax columns relate to at what volume should the sound start, and what is the maximum volume it should be allowed to reach.

DistMaxDry and DistmaxWet relates to how close you have to be to hear it, and the overall radius of the sound.
If you make the value too low, you will have gaps between hearing it, so you’ll have to play around with the values to get it right for your situation. If you are after an ambient sound, leave these values blank.

Pantype: is 2D or 3D. In this case, we’re using 3D.

Pan: value is “front”, as we want the panning between the speakers to go left to right or right to left when you’re facing it. Obviously, if you want to make some weird surround sound creations, you play around with front or back values.

Looping: It makes the sound Loop over and over. If you don’t want it to loop, leave it blank, otherwise, type “LOOPING” in the field (case specific).

Priority: Sets priority level of sounds in the map.

There is a lot of other elements\headings to address, but that is covered in the documentation in your \Call of Duty Black Ops III\docs_modtools folder: Sound_Mod_Docs.pdf

Finally, compile your map. If you did everything right and managed to compile it without errors, you’ll have sound when you test it.


Jake3050:

This is a total tutorial I did a couple of years ago.

First thing you will need to do is insert a “script_struct”.
This can be located in the entity browser under the heading “Script”. Click on it, and drag “struct” into either the 2D or 3D viewport.
(right click near the menus at the top if the Entity Browser screen isn’t displayed and click it).

If you did it right, you will have a small red box on your screen.

Move it to where you want the sound to come from, then click on it, and go to the “Entity Info” screen. (N)
(right click near the menus at the top if the Entity Info screen isn’t displayed and click it).

In Entity Info, there will be a box called “targetname”
In the box to the right of it, titled “Value” (click it), type whatever it is that is will be categorised as. In this example, I will use fire.

On the bottom right of the screen, click the ADD KVP button.

On the screen, a window appeared with Key and Value fields.
Enter the following:
Property/Key: script_label
Value: looper

…then click “Add”.

It’s very important to note here, that NO spaces can be used. If you want a space, use an UNDERSCORE “ _ “ instead, and if you used CAPITALS anywhere, it must be the same throughout the script files you modify.

Click ADD KVP again, and enter the following: (you can put anything in value..fire, water, fog, rain etc., but you must keep it consistent throughout the “adding the sound” process.

Property/Key: script_sound
Value: (name of sound in alias file) eg. amb_small_fire
Again, Click Add.

Now open the file located in your Call of Duty Black Ops III\share\raw\sound\aliases directory called “user_aliases.csv” using either Wordpad, or preferably Microsoft Excel.

In the first column under “Name”, you type what you typed in the script_struct second KVP value..In this example, “amb_small_fire”.
In the fourth column is the file path and filename. This is relative to the sound_assets directory located in your BO3 folder.

So in the fourth column, I type “fire\amb_fire_sml.wav” (without the quotes).

If you don’t get the paths to the file correct in this “user_aliases.csv” file, then the map won’t compile.
If you are downloading a sample file, it must be stereo, and 48 Khz. If you don’t follow this, your map won’t compile, and you’ll get an error:


ERROR: F:\Steam\SteamApps\common\Call of Duty Black Ops III\sound_assets\wind\amb_fire_sml.wav
ERROR: wav is not 48k sample rate

You can re-sample audio with something like “Audacity”, a free audio editing program and re-sample it up to or down to 48000.

Other important values:
Volmin and Volmax columns relate to at what volume should the sound start, and what is the maximum volume it should be allowed to reach.

DistMaxDry and DistmaxWet relates to how close you have to be to hear it, and the overall radius of the sound.
If you make the value too low, you will have gaps between hearing it, so you’ll have to play around with the values to get it right for your situation. If you are after an ambient sound, leave these values blank.

Pantype: is 2D or 3D. In this case, we’re using 3D.

Pan: value is “front”, as we want the panning between the speakers to go left to right or right to left when you’re facing it. Obviously, if you want to make some weird surround sound creations, you play around with front or back values.

Looping: It makes the sound Loop over and over. If you don’t want it to loop, leave it blank, otherwise, type “LOOPING” in the field (case specific).

Priority: Sets priority level of sounds in the map.

There is a lot of other elements\headings to address, but that is covered in the documentation in your \Call of Duty Black Ops III\docs_modtools folder: Sound_Mod_Docs.pdf

Finally, compile your map. If you did everything right and managed to compile it without errors, you’ll have sound when you test it.



Thank you for replying! I am using Skye's Bo4 weapons and I'm 99% sure I set it up correctly. The weapons work, just no custom sounds play. Same with perk drinking. I know this probably isn't a radius issue but I'm confused why this isn't working. My other maps work fine.


RaGe-74:

Thank you for replying! I am using Skye's Bo4 weapons and I'm 99% sure I set it up correctly. The weapons work, just no custom sounds play. Same with perk drinking. I know this probably isn't a radius issue but I'm confused why this isn't working. My other maps work fine.


Read through that tutorial carefully. One step missed and it just won't work. Could be anything.. a space in a name instead of a _ underscore, a captilisation where there shouldn't be. That shit always caught me.