Need a little help with my project I need to create both replacement sounds and custome sounds.
I have modified a sound file to be .WAV 16bit PCM No Compression.
So for example I want to replace 'podth2' (shotgun guy death sound) which uses sound lump file 'DSPODTH2'
I have renamed my .WAV file to 'DSPODTH2' and specified a DED file to use the external sound
ID = "podth2";
Flags = "sf_shift2";
Ext = "sound/DSPODTH2.wav";
Link pitch = -1;
Link volume = -1;
Priority = 70;
Max channels = -1;
The problem is im not 100% sure were to put the new sound file. I have tried various things, with no luck. For instance I have created a folder called 'sound' with the WAV file in, tried both as a folder in Addons folder and as a PK3 archive. Also specified in data\jDoom\Sfx etc - im obviously doing something wrong?
Also while I am on the topic of sounds, if I wanted to create a new sound to play during a certain 'State' whats the best way to do this? I presume I can use the same code above, but specifiy a new ID and then in the DED can I use Sound = "ID_NAME" (or is that just for use withn particle generators?)
Any help would be great. I have managed to create new models, animations, new effects etc.....but sounds baffle me! I guess im making a simple mistake somewere.