XML:SNDD: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 58: Line 58:
When you're done you can use [http://mods.oni2.net/node/72 Onisplit GUI] to convert yourfile.aif/.wav, OSBDyourfile.grp.xml and OSBDyourfile.amb.xml to the .oni-file formate. Use the "manual command input":
When you're done you can use [http://mods.oni2.net/node/72 Onisplit GUI] to convert yourfile.aif/.wav, OSBDyourfile.grp.xml and OSBDyourfile.amb.xml to the .oni-file formate. Use the "manual command input":


: -create output_directory input_directory/*.aif
: -create output_directory_'''MAC''' input_directory/*.aif
: -create output_directory input_directory/*.wav <font color=#777777>(don't overwrite the first created SNDD, save it somewhere)</font>
: -create output_directory_'''PC''' input_directory/*.wav <font color=#777777>(don't overwrite the first created SNDD, save it somewhere)</font>
: -create output_directory input_directory/*.xml
: -create output_directory input_directory/*.xml
Make it that way they all have the same name:
Make it that way they all have the same name:
Line 202: Line 202:
Explanation:
Explanation:
* The character performs a move / attack whereby the TRAM file holds a sound ID (<Vocalization>).
* The character performs a move / attack whereby the TRAM file holds a sound ID (<Vocalization>).
* A link (OSBD.amb name) in ONCC file becomes looked up based on the sound ID.<br>Note that the ONCC file has also a probability value that randomly decides whether a sound becomes played or not.
* A link (OSBD.amb name) in ONCC file becomes looked up based on the sound ID.<br>Note that the ONCC file has also a probability value that decides whether a sound becomes played or not.
* The game engine looks into OSBD.amb and follows the link into OSBD.grp.
* The game engine looks into OSBD.amb and follows the link into OSBD.grp.
* '''OSBD.grp can hold multiple links to SNDD files.''' That's why Konoko can have multiple taunt sounds.
* '''OSBD.grp can hold multiple links to SNDD files.''' That's why Konoko can have multiple taunt sounds.
Line 335: Line 335:


===step 4: preparing the OSBD.grp===
===step 4: preparing the OSBD.grp===
Since <NumberOfChannels> is only once presented all the SNDD file must have the same number of channels (moro/stereo).
Since <NumberOfChannels> is only once presented all the SNDD file must have the same number of channels.
: 1 (22.05 kHz, mono)
: 2 (22.05 kHz, stereo)
: 2 (44.1 kHz, mono) [PC-only]


(It's possible to speed up sounds with <Pitch>. E.g. Fury's taunt is speeded up by 1.14 to ''brighten'' the voice. But in most cases you probably want to keep it as "1".)
(It's possible to speed up sounds with <Pitch>. E.g. Fury's taunt is speeded up by 1.14 to ''brighten'' the voice. But in most cases you probably want to keep it as "1".)
8,245

edits