Looking into leveraging/improving sound in 4.12 using existing samples and prs files as base. Main effort is redeploying custom sounds and prs into the new my_... folders and mapping the sounds accordingly. However beyond a given sound and its matching reference in a prs file, is there any documentation out there which explains the logic behind a prs? For example, I am attempting to set up a gun sound for an LA5. I have the correct prs and using 4.12's new sound debugging feature, it is quite easy to see how the sounds are loading in the log.lst file. However, I do not know what the entries mean in a given weapon sound prs. For example:
[common]
mode relobj pos
type mixer
numadj 1
[spl]
120
[samples]
MG_ShVAK_1x.wav
MG_ShVAK_1i.wav
[sample.MG_ShVAK_1x.wav]
env 0 2
infinite 1
period 0.1
[sample.MG_ShVAK_1i.wav]
env 8
infinite 1
period 0.1
I understand the samples section which points to the given wav files, however why two? What the is logic difference between ShAVk_1x and ShVAK_1i and the parameters set for each in the section below the samples list? Are those wavs which include "x" in the name refer to "external (heard from outside plane)" sound, while the files including "i" in the name are "internal (heard from inside cockpit)" sound?
Hopefully an experienced sound modder will soon release an updated sound pack for 4.12 given all the excellent wav files out there, but until then, I would like to explore sounds and hopefully understand how they are configured within the code.
~S~
wind