1
Add-Ons / Re: [Vehicle] Technical / Heavy Machine Gun - Blend Files
« on: March 18, 2018, 05:45:40 PM »The reason I prefer to use default sounds is because people don't have to download them, which not only reduces load time for the server, but ensures that people who don't download sounds hear something as well. I don't have anything against custom gun sounds though, I just wish there were more default ones. I may update this add-on soon with some new features, but for now you can try this:
1. Put the desired sound in the same folder as Vehicle_DSHK.cs
2. Open Vehicle_DSHK.cs
3. Add this to the top of the file:
datablock AudioProfile(DSHKShotSound)
{
filename = "./name of your sound here.wav";
description = AudioDefault3d;
preload = true;
};
4. Go to line 523, and look for %sound = gunShot1Sound;
5. Change it to %sound = DSHKShotSound;
That should probably work lol. Make sure your .wav is mono or it'll be weird
thanks! ill give it a whirl :)