[b:tlknzxry]Detailed description:[/b:tlknzxry]
EventSystem::setLanguage was introduced in version 4.33.00, and is designed to be used in conjunction with certain options in Designer 2010’s Banks View.

[b:tlknzxry]Solution 1:[/b:tlknzxry]
1. In Designer 2010, navigate to the Banks View.
2. In the Banks Browser, select the bank you wish to localize.
3. In the ‘Language’ drop-down menu, select a language you wish to localize that bank to.
4. In the Property Inspector (located at the right side of the screen), set the ‘filename prefix’ property to a value that represents a prefix that is attached to the filenames of all source audio in the selected language. This string of characters will be appended to the filenames of all source audio files in that bank, e.g.: "ABC_" will cause Designer 2010 to look for files named "ABC_<filename>" where <filename> is the name of the non-localized file. The filename prefix can also include a slash character, in which case it will be treated as a folder, e.g.: "ABC\" will cause Designer 2010 to look for an "ABC" directory in the same location as the project’s audio source directory. These options can also be combined, e.g.: "ABC\DEF_" will cause Designer 2010 to look for files named "DEF_<filename>" in the "ABC" directory. Obviously such files must be recorded, and appropriately named and placed in the correct directories before they can be used.
5. Repeat steps 2-4 for each bank and language that must be localized. Note that it is usually only necessary to localize banks that contain language-specific content.
6. In Designer 2010’s ‘Build Project’ window, observe that each bank that was localized to more than one language is listed multiple times. Building any one of these will cause Designer 2010 to output a uniquely-named language-specific soundbank.
7. In game code, the EventSystem::setLanguage call can be used to set which language (and thus which of the associated sound banks) will be used in-game.
EventSystem::setLanguage can also be called while the game is running.

More information on this topic can be found on pages 181-184 of the Designer 2010 manual.
Stephan Schutze’s video tutorial about this topic can be seen here: [url:tlknzxry]http://www.youtube.com/FMODTV#p/c/853E2ED1550864C5/7/PKXB2zEvBO8[/url:tlknzxry].

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.