XML:SNDD: Difference between revisions

211 bytes added ,  24 April 2013
m
consequences of wrong imports
mNo edit summary
m (consequences of wrong imports)
Line 189: Line 189:
* <Flags>
* <Flags>
: PreventRepeat - forces to play different sounds if more than one permutations are present
: PreventRepeat - forces to play different sounds if more than one permutations are present
* <NumberOfChannels> - here you tell Oni if your sound file is "1" (22.05 kHz, mono) or "2" (22.05 kHz, stereo; (PC-only:) 44.1 kHz, mono), if you set the wrong value the music will sound distorted
* <NumberOfChannels> - here you tell Oni if your sound file is mono or stereo
** 1 - 22.05 kHz, mono
** 2 - 22.05 kHz, stereo
** 2 - 44.1 kHz, mono '''(PC-only)'''
** consequences of wrong imports:
*** if grp's <NumberOfChannels> is 1 and sound file is 22.05 kHz, stereo then the sound don't get played
*** if grp's <NumberOfChannels> is 1 and sound file is 44.1 kHz, mono then the music will sound distorted
* <Sound> - this is the sound file (for example: <font color=#AAAAAA>SNDD</font>nyan<font color=#AAAAAA>.oni</font>), file prefix and suffix aren't used
* <Sound> - this is the sound file (for example: <font color=#AAAAAA>SNDD</font>nyan<font color=#AAAAAA>.oni</font>), file prefix and suffix aren't used


8,018

edits