Source SDK

Source SDK

25 ratings
Making Sound Mods for Source Engine
By мяFunreal
Want to learn how to properly make sound mods for any Source Engine game?
Learn here.
   
Award
Favorite
Favorited
Unfavorite
Tutorial
This video explains how to make soundmods the old fashined way by replacing a sound with matching Length, Sample Rate and its Mono/Stereo settings, And how to make one that uses a localized soundcache.
It also explains what errors you could run in to and how to avoid them.


Get audacity for free here: https://www.audacityteam.org/
Dead 4 Mods Discord: https://discord.gg/4qtmzBP
My Discord: https://discord.gg/6AKUNth
Paypal, for don't-ations: http://paypal.me/MrFunrealModding

Timestamps (these work on youtube, so maybe watch it there)
0:47 Creating "Custom Content" folder 2:16 Getting sounds to replace 3:10 Explaining possible Sound Bugs 4:24 Traditional Approach (No Soundcache) 5:00 Convert Stereo to Mono 5:38 Convert Mono to Stereo 5:57 Adjusting Length 6:47 Change Sample Rate 7:18 Saving & Testing 8:11 Possible persisting audio length glitch. 8:53 Using Different length sounds (With Soundcache) 9:51 Barely Editing Sound 10:03 Creating Soundcache 10:46 Testing sound 11:07 Closing words 11:35 Outro
Loop cues.
Some sounds have loop cues, which tell the game when to loop a sound.
For example, the generator sound has both the startup and the idle inside of it.
When played, it starts the generator but then loops the idle part. This is done with cues.

Sometimes music, like L4D2's "Witchencroacher.wav" have loop points at the ends of the sound.
This shouldn't be the case, but Valve bein Valve...

I did not think about loop cues in the main video
I had to make another quick 90 second video just to explain how to add loop points to those sounds.

Also, loop cues are part of the soundcache. If you replace a sound with loop cues you must add the cues at the exact same millisecond, or make anew soundcache.
If you do use loop cues, the sound will bug out ingame after using the "play" console command.


Anyhow, here's this quick and dirty video i recorded about sound cues.
Sound quality is bad because i just opened obs and recorded.