• Welcome Guest, The new Modme forums are here! Please visit here for all recommended information.

Help Sounds not compiling.

djluvorng

Member
I have had this issue for a long time.
1. I have the sounds in "signed 16bit 48000hz" format.
2. I have dtzxporter's sound plugin.
3. I have the sound ailas setup correctly as far as I am aware.
4. sound ailas correctly called in zone and .sz files
I am at a loss as to why they don't compile. I have no errors in my map yet the compiler just skips the sounds.

Any guidance would be appreciated.
 

RaGe-74

Well-known member
I have had this issue for a long time.
1. I have the sounds in "signed 16bit 48000hz" format.
2. I have dtzxporter's sound plugin.
3. I have the sound ailas setup correctly as far as I am aware.
4. sound ailas correctly called in zone and .sz files
I am at a loss as to why they don't compile. I have no errors in my map yet the compiler just skips the sounds.

Any guidance would be appreciated.
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.
221

Move it to where you want the sound to come from, then click on it, and go to the “Entity Info” screen.
(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.
222
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:
223
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.
226
Property/Key: script_sound
Value: amb_small_fire

Again, Click Add.

Your Entity Info screen will now look like this:
227
targetname: fire
script_label: looper
script_sound: amb_small_fire


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.



Here is an example of what you will need to enter in the file:

219


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.

As can be seen in the example below, I’ve started making folders for different elements.
228



So in the fourth column, I type “fire\amb_fire_sml.wav” (without the quotes). This is just a file I downloaded, so knock yourself out. There’s tonnes of free and not-so-free examples on the internet.

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.


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.
 

Attachments

djluvorng

Member
If this tutorial helps, please mark it as answered. :)
I appreciate the time put into this post and I'm sure this is good for people that are new to importing sounds, but
Did you even read my post? I have been through this many times.
The issue isn't the sounds not playing. I have had sounds able to compile and play before.
The issue is that new sounds are literally not compiling and don't show up in game. In the console they are reported as missing.
I have tried about everything I can think of.
I would be grateful if you could help me troubleshoot.
 

RaGe-74

Well-known member
If you're going to ask for help on something, you need to specify and provide examples. You also remain polite and courteous. Yes, I read your post. I know you're frustrated..

I can help, but I need you to post up:
Sound alias file (and where in the directory structure it is)
Screenshot of how you've set up the script struct in radiant.
Zone file (and where in the directory structure it is)
SZ file (and where in the directory structure it is)

I will also need to examine one of the sound files you're having problems with. Without this information I can only make guesses, and since you didn't actually post anything up other than basically "help, i'm having problems", i tried to solve it with the information I didn't have.
 

djluvorng

Member
located in: \share\raw\sound\aliases is:

Code:
Name,Behavior,Storage,FileSpec,FileSpecSustain,FileSpecRelease,Template,Loadspec,Secondary,SustainAlias,ReleaseAlias,Bus,VolumeGroup,DuckGroup,Duck,ReverbSend,CenterSend,VolMin,VolMax,DistMin,DistMaxDry,DistMaxWet,DryMinCurve,DryMaxCurve,WetMinCurve,WetMaxCurve,LimitCount,LimitType,EntityLimitCount,EntityLimitType,PitchMin,PitchMax,PriorityMin,PriorityMax,PriorityThresholdMin,PriorityThresholdMax,AmplitudePriority,PanType,Pan,Futz,Looping,RandomizeType,Probability,StartDelay,EnvelopMin,EnvelopMax,EnvelopPercent,OcclusionLevel,IsBig,DistanceLpf,FluxType,FluxTime,Subtitle,Doppler,ContextType,ContextValue,ContextType1,ContextValue1,ContextType2,ContextValue2,ContextType3,ContextValue3,Timescale,IsMusic,IsCinematic,FadeIn,FadeOut,Pauseable,StopOnEntDeath,Compression,StopOnPlay,DopplerScale,FutzPatch,VoiceLimit,IgnoreMaxDist,NeverPlayTwice,ContinuousPan,FileSource,FileSourceSustain,FileSourceRelease,FileTarget,FileTargetSustain,FileTargetRelease,Platform,Language,OutputDevices,PlatformMask,WiiUMono,StopAlias,DistanceLpfMin,DistanceLpfMax,FacialAnimationName,RestartContextLoops,SilentInCPZ,ContextFailsafe,GPAD,GPADOnly,MuteVoice,MuteMusic,RowSourceFileName,RowSourceShortName,RowSourceLineNumber
#test_sound,,,tst\test_sound.wav,,,UIN_MOD,,,,,,,,,,,80,80,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
thunder,,,amb\weather\thunder\clap_close\amb_lightning_close_00.wav,,,UIN_MOD,,,,,,,,,,,100,100,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# ====== NSZ Common Sounds =====,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    nsz_deny,,,_NSZ\common\deny.wav,,,UIN_MOD,,,,,,,,,0,0,100,100,0,200,200,,,,,,,,,,,,,,,,3d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# ====== Kino Teleporter =======,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_teleport_2d,,,_NSZ\Kino_Tele\teleport_2d_fnt_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,2d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_top_spark,,,_NSZ\Kino_Tele\top_spark_00_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,3d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_activate_start,,,_NSZ\Kino_Tele\activate_start_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,3d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_arc_loop,,,_NSZ\Kino_Tele\arc_loop_00_l_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,3d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_beam_fx,,,_NSZ\Kino_Tele\beam_fx_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,3d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_cooldown,,,_NSZ\Kino_Tele\cooldown_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,75,75,0,1000,1000,,,,,,,,,,,,,,,,2d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
kino_activate_finish,,,_NSZ\Kino_Tele\activate_finish_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,3d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#thunder,,,amb\weather\thunder\clap_close\amb_lightning_close_00.wav,,,UIN_MOD,,,,,,,,,,,100,100,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#plane_down,,,custom_stuff\plane\plane_down.wav,,,UIN_MOD,,,,,,,,,0,0,100,100,0,1000,1000,,,,,,,,,,,,,,,,2d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#a7x_nightmare,,,custom_stuff\bo1_sound_effects\a7x_nightmare.wav,,,UIN_MOD,,,,,BUS_MUSIC,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,2d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
funny,,,custom_stuff\feedback_kill_bowie_04_PCM_fix.wav,,,UIN_MOD,,,,,BUS_VOICE,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,2d,front,,NONLOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
spray,,,custom_stuff\spray_00_l_PCM.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,1000,1000,,,,,,,,,,,,,,,,3d,front,,LOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
metal,,,custom_stuff\metal_sound.wav,,,UIN_MOD,,,,,,,,,0,0,80,80,0,100,100,,,,,,,,,,,,,,,,3d,front,,LOOPING,,,0,0,0,0,,,,,,,,,,,,,,,,,,,,,YES,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,



located in: \usermaps\zm_lot_3\zone_source is:

Code:
>class,zm_mod_level
>group,modtools

xmodel,skybox_default_day
material,luts_t7_default
    
// BSP
col_map,maps/zm/zm_lot_3.d3dbsp
gfx_map,maps/zm/zm_lot_3.d3dbsp

// Audio
sound,zm_lot_3

// Kino Teleporter
fx,_NSZ/Kino_Tele/kino_swirl
scriptparsetree,scripts/_NSZ/nsz_kino_teleporter.gsc
scriptparsetree,scripts/zm/zm_lot_3.gsc
scriptparsetree,scripts/zm/s_to_r_tut.gsc
scriptparsetree,scripts/zm/zm_lot_3.csc
scriptparsetree,scripts/zm/sliding_door.gsc
scriptparsetree,scripts/zm/trump_fx.gsc
scriptparsetree,scripts/zm/rs_o_jump_pad.gsc
scriptparsetree,scripts/zm/zm_usermap.gsc
include,t4_weapons
include,t6_weapons
include,t7_weapons
include,harrybo21_soul_chests
localize,zombie
weapon,nes_zap_zm
weapon,super_scope_zm
stringtable,gamedata/weapons/zm/zm_levelcommon_weapons.csv
stringtable,gamedata/weapons/zm/zm_t4_weapons.csv
stringtable,gamedata/weapons/zm/zm_t6_weapons.csv
stringtable,gamedata/weapons/zm/zm_t7_weapons.csv
    
//Custom Zombies
aitype,archetype_zm_custom_zombie
customizationtable,zm_character_customization

located in: \usermaps\zm_lot_3\sound\zoneconfig is:

Code:
{
 "Name" : "zm_lot_3",
 "GameMode" : "mpl",
 "IsCommon" : false,
 "Parent" : "",
 "Overlay" : "",
 "IsStandalone" : true,
 "IsProduction" : false,
 "IsShipped" : false,
 "DontDeploy" : false,
 "NoStreamBank" : false,
 "MapFile" : "",
 "Standalone" : true,
 "Builds" : [ "T7" ],
 "Sources" : [
 {
 "Type" : "ALIAS",
 "Name" : "user_aliases",
 "Filename" : "user_aliases.csv",
 "Specs" : [ ]
},
{
    "Type" : "ALIAS",
    "Name" : "t4_weapon_sounds"
    "Filename" : "t4_weapon_sounds.csv",
    "Specs" : [ ]
},
{
    "Type" : "ALIAS",
    "Name" : "t6_weapon_sounds"
    "Filename" : "t6_weapon_sounds.csv",
    "Specs" : [ ]
},
{
    "Type" : "ALIAS",
    "Name" : "t7_weapon_sounds"
    "Filename" : "t7_weapon_sounds.csv",
    "Specs" : [ ]
},
{
    "Type" : "ALIAS",
    "Name" : "soul_chests_sounds"
    "Filename" : "soul_chests_sounds.csv",
    "Specs" : [ ]
},
{
    "Type" : "ALIAS",
    "Name" : "craftable_sounds"
    "Filename" : "craftable_sounds.csv",
    "Specs" : [ ]
},
{
 "Type" : "AMBIENT",
 "Name" : "ambient_mod",
 "Filename" : "ambient_mod.csv",
 "Specs" : [
  "mpl_mod"
  ]
},
]
}

Sound file example
 

Attachments

RaGe-74

Well-known member
I'll be honest here, I don't see any problems. As far as I can see, you've done everything correctly. The only thing that could possibly make it fail would be a flaw in radiant itself. It does have some quirkiness..
Is it possible you have the script structs in a prefab instead of the main map ?
 

djluvorng

Member
I'll be honest here, I don't see any problems. As far as I can see, you've done everything correctly. The only thing that could possibly make it fail would be a flaw in radiant itself. It does have some quirkiness..
Is it possible you have the script structs in a prefab instead of the main map ?
nah I just drug it in from the entity browser.
I do believe this is a compiler bug or a problem in audacity and the audio files themselves.
I need a zeroy or someone good at troubleshooting quirks in software.
 

RaGe-74

Well-known member
nah I just drug it in from the entity browser.
I do believe this is a compiler bug or a problem in audacity and the audio files themselves.
I need a zeroy or someone good at troubleshooting quirks in software.
Oh, i talk with Zeroy often. He taught me stuff, i helped him with modelling shit :D
I don't suppose there's an error in the log when you compile ?

What you can do (if you want), is pack it all up and make a quick sample .map (instead of what you're working on) with what you've done and paste a link here to it. Several people looking at it will find the problem quicker. :)
 

djluvorng

Member
no the only thing that shows an error is about a "physpreset asset", but I know why that is and I removed the model that was causing it and the error was gone and still no sounds. so in essence, no.
sorry for the runon sentence, im in a hurry.
 
no the only thing that shows an error is about a "physpreset asset", but I know why that is and I removed the model that was causing it and the error was gone and still no sounds. so in essence, no.
sorry for the runon sentence, im in a hurry.
i posted all the physics presets on the wiki

literally just a drag drop GDT in to your mod tools and all those errors will be gone - and the dynamic models will actually be dynamic
 

vertdex

New member
i posted all the physics presets on the wiki

literally just a drag drop GDT in to your mod tools and all those errors will be gone - and the dynamic models will actually be dynamic
what?.... where is the location of that section at? looking over the wiki but i cant find any "not a valid physpreset asset" fix list thingy.....:cry:
 
Top