Hi, so I love those extra Duke one-liners in DukePlus, was looking to customize that a bit. For example wanted to replace a line or two with him saying "Always bet on Duke" from e3 98, got a nice wav of that in
this topic. The sample rate is 11025 Hz and bitrate is 352 kbps.
For testing it out I replaced lookgood.wav, newhole.wav, and leavescar.wav each with AlwaysBetOnDuke.wav renamed to those respective file names, in the dukeplus_resources/sounds folder. Doesn't seem to have worked though, I think it just doesn't say any of those lines anymore, but doesn't say the new line either. A side question for testing, is there a list somewhere of what triggers those lines? I heard those ones a lot before in general. I know usually he says one liners more when exploding enemies.
So looking in defsplus.con I see for example this line:
"definesound ILOOKGOOD DUKEPLUS_RESOURCES/SOUNDS/lookgood.wav 0 0 255 4 0"
I'm guessing something like that is why it's not working? The original lookgood.wav is 22050 Hz and 352 kbps. The old newhole.wav is 48000 Hz but also says "255 4 0" at the end of the line.
So if anybody doesn't mind these random questions, would be fun to mess around with this stuff a bit. Thanks.
(edit: Was looking at
definesound on the wiki, and looks like 255 is the max priority of the line being said. So I'm not sure why it's not working at the moment.)