If I'm reading this right, there are actually two commands. The first, $pitchshiftrange X, defines the maximum shift of the sounds that follow it up until the next $pitchshiftrange or the end of the file. The second, $pitchshift <sound> X enables (x=1) or disables (x=0) pitch shifting for that particular sound, although x=1 might not even be needed at all.
For example:
Code: Select all
$pitchshiftrange 3
mymonster/grunt mygrnt
mymonster/die mydie
mymonster/see mysee
$pitchshift mymonster/die 0
$pitchshiftrange 7
mymonster/act myact
mymonster/grunt and mymonster/see will have a range of 3. mymonster/act will have a range of 7. mymonster/die will never be shifted.
That's my theory anyway.
On a slightly unrelated subject, isn't this line in SNDINFO a little outdated?
Code: Select all
// Strife. Good luck playing it. Heh.
