0:03 This is a re-recording of my audio
0:05 replacement tutorial because I figured I
0:08 did a bad job the first time around.
0:10 First of all, I recommend you visit the
0:13 deadlock modding website, uh, deadlock modding.pages.dev.
0:15 modding.pages.dev.
0:17 Look through this. It has a replacing
0:20 sounds page.
0:21 This will basically be what I'm doing onetoone.
0:24 onetoone.
0:26 Uh, but I guess I'm just here as a
0:29 visual guide. So
0:32 So
0:34 go into your dropown and find Billy
0:37 audio template. Duplicate that add-on.
0:39 Name it whatever you want. I'm going to
0:44 be replacing seven's alt. So seven
0:54 Find that in the dropdown
0:56 and then hit explore content folder.
0:58 You'll see two folders pop up. a sound
1:02 events folder and a sounds folder.
1:04 In this sounds folder will already be
1:08 the file path for Billy's Blasted.
1:10 If you're changing Blasted, keep this as
1:13 it is. If you're not, you can go ahead
1:17 and delete the file path from Punk Goat.
1:20 If you're changing hero abilities,
1:21 you'll want to keep this folder. If
1:25 you're not, you can delete that, too.
1:27 Sound events. the sound events folder as
1:30 the um
1:34 uh sound events file. Uh these are if
1:36 you want to make modifications.
1:41 The Steam Developer community wiki has
1:45 um stuff on it
1:48 if you want to look through those. These
1:50 files allow you to change pitch, delay,
1:52 fall off,
1:55 uh randomization of the sound and
1:58 whatnot. So, if you want to jump into
1:59 that or if you want to amplify your
2:01 volume, you can use the sound effects
2:04 file. Uh to open these, you'll need to
2:08 right click on them and use a notepad
2:10 editor, and that'll bring up everything
2:13 you can change.
2:16 So for Billy for example, his um
2:19 gunfiring sound, you can see like
2:23 volume, volume fade out, offsets.
2:25 This will allow you to change most of
2:27 these things. And this can be these
2:30 these files can be found.
2:32 Well, let's look. Let's go to Source 2
2:36 viewer. Let's find Deadlock Game Citadel
2:38 Pack 01.
2:41 And you can see a sound events and a
2:43 sounds folder. If you want to change
2:45 sound events, you can click on this
2:47 folder and go to Hero and you can see
2:51 all the Hero sound events files
2:53 and you can decompile and export that
2:55 that to your desktop and edit it that way.
3:01 But if we're just changing sounds, go
3:04 down to the sounds folder
3:06 and find whatever sound you want to
3:07 change. I'll be changing an ability
3:10 sound, which is seven, who is known as
3:12 Gigawatt in the files. and I'll be
3:15 changing his Gigawatt Storm Cloud LP.
3:17 This is the persistent lightning sound
3:25 So, how do I get this sound? Well, right
3:27 click on the V sound, decompile and
3:30 export, and it'll do that as an MP3. I'm
3:40 And now I have the StormCloud MP3. But
3:43 we're not done with source 2 viewer.
3:45 Go back to the content file path we
3:48 created for our add-on.
3:50 Click on sounds
3:53 uh and then copy the file path that you
3:56 see in source 2 viewer to your sound. So
3:58 for example, I would be copying sounds
4:02 abilities gigawatt and then I would put
4:05 my MP3 in here to be compiled into a V sound.
4:08 sound.
4:11 So, let's create that file path here.
4:12 We already have sounds. We already have abilities,
4:15 abilities,
4:19 the name of my hero, Giga Watt,
4:21 and then in here is where I'd put my
4:24 custom sound. Let's minimize both that
4:28 and source 2 viewer for now.
4:32 Find the sound you want to be replacing
4:33 and find the sound you want to be
4:36 replacing it with. Open an audio editor
4:39 of your choice.
4:42 Drag. Firstly, drag the audio you'll be
4:50 Sounds about right. Drag the sound you
4:58 Now, if your sound loops, you will want
5:01 to export as a WAV and then use an app
5:03 to make it loop. There's several methods
5:06 to doing that. You can find them in the Discord.
5:07 Discord.
5:12 However, if your sound is one short like
5:14 maybe it's a it's um Paradox's pulse
5:17 bomb going off that that plays once and
5:19 it plays it plays the same sound over
5:21 and over. So, you won't need it to be
5:23 you'd want to match the length of the
5:25 pulse bomb. For something like
5:30 Stormcloud, I'm pretty sure it
5:33 it plays as long as his alt can be
5:35 played. So, if you had superior
5:36 duration, it would play the entirety of
5:39 this sound.
5:42 But my sound is quite a bit shorter. Or
5:44 your sound might be quite a bit longer.
5:46 Uh the V sound, uh what is it called?
5:48 The f the sound event file dictates how
5:51 long it will play. So, if it's longer,
5:53 it'd be fine. But you could also just
5:54 cut it down to the same length if you
6:02 My sound sounds a bit quiet, so I'd go
6:03 to effect, volume, and compression amplify.
6:11 That's a bit louder. There we go. So, I
6:14 have my sound.
6:16 Uh, the file name is the same as the one
6:18 I'll be replacing. I can go to file
6:21 export audio and I want to export as a
6:25 wave because um I don't know remember
6:27 exactly why but waves uh you can loop
6:30 the audio using the application I'm
6:34 going to use. So I can X out of Audacity
6:36 and I'll have a WAV with the same file
6:40 name as the sound I'll be replacing
6:42 and it will have my the audio I want to
6:45 replace. Now, if your sound does not
6:47 loop or if you're not looping audio, you
6:48 can skip this part. I'll have a
6:51 timestamp. However, if you are looping
6:53 your audio, like if it's shorter than it
6:56 then uh if the if the audio is designed
6:58 to loop that you're replacing there that
7:02 you're you know, if you're you know, if
7:05 your sound loops, if you want it to loop
7:06 because it's shorter than the sound
7:08 you're replacing, you can do something
7:10 like this. I'm using an application
7:13 called Loop Auditineer. The website's a
7:23 So, I'll open this application up.
7:25 Uh, you need a working folder for this
7:28 application. I've already set it up.
7:32 And I can see the sound we just created.
7:34 I'll go up here to these arrows. I'll
7:37 click create a new loop. And as you can
7:39 see here, it won't always be perfect.
7:41 You can see that it cuts off the
7:43 beginning and a bit of the end. You can
7:46 rightclick over here and hit edit loop.
7:48 And then when you change these values,
7:50 it will reflect
7:54 the length. I don't exactly know what
7:57 these values are in samples. I don't
7:59 know how to read samples. So, what I do
8:02 is I just crank the the numbers up. So,
8:05 let's see. That's one, two, three, four,
8:07 five. That's five numbers. I'll just
8:12 make it a bit higher. Let's go 99999.
8:15 And then it covers the end too. So now I
8:17 have a loop created for the entirety of
8:20 my soundfall file.
8:22 I can go up here and I can hit save. And
8:25 then if I close this application, go in here.
8:27 here.
8:30 I should now have my WAV
8:33 that will loop. It should loop itself now.
8:45 Go come to our add-on, hit explore
8:47 content folder, or if you minimized it,
8:50 open it back up. Go to sounds,
8:53 abilities, whatever sound, whatever file
8:56 path you're using, and drag your MP3 or
8:58 WAV in there.
9:14 Type in the name of the sound you will
9:20 be changing. Uh, Giga Watt.
9:21 I don't remember exactly what it's
9:24 called. We can see it here. [Music]
9:45 So, it's closed, but that we we'll
9:52 find your sound, right click on it. Uh,
9:54 you can recompile it or you can play it
9:58 to compile it. If you see this here,
9:59 you'll know you're on the right path.
10:01 So, click on the compiled file path,
10:04 which is right here.
10:07 and you'll see that you'll have a VSON C file.
10:09 file.
10:11 Go back in your directory
10:14 and locate sounds.
10:17 You'll want to copy
10:19 the sounds folder. This contains the
10:21 file path.
10:23 And if you duplicated the add-on, you'll
10:26 want to delete the punk goat part of
10:37 So, copy that from sounds. [Music]
10:46 So, we've copied our sound path, created
10:48 a new folder. This will be the folder
10:51 we're using to compile our mod. So, name
10:53 it whatever you want. I'll be naming it
10:58 seven alternate alt.
11:00 and then paste the file structure in
11:02 there and you'll see sounds abilities
11:07 gigawatt and then your compiled sound.
11:09 Now we're ready to compile our mod. Open
11:11 source 2 viewer. Right, click on file,
11:13 create VPK from folder, right click on
11:16 new VPK, add existing folder, navigate
11:18 to this folder we just created with the
11:21 compiled sound, rightclick new VPK
11:25 again. In fact, before we do that, open
11:27 the sounds folder and see if your sound
11:28 is there. Double click on it. You can
11:35 And then you can right click on new VPK,
11:40 save VPK to disk, hit um
11:41 you don't have to hit anything. I just
11:43 have it here. And you'll want to name it
11:47 pack two numbers up to 99 and then
11:50 underscoredir directory. I already have
11:52 it here, so I'm just going to save over
11:57 it. And then if we open Deadlock,
12:00 we should have our sound reflected in game.
12:30 [Music]