버전

menu_open

Including/Excluding Project Elements Using Game Syncs

Another quick and easy way to include or exclude sounds from a SoundBank is to use game syncs. When you add Events or sound structures to a SoundBank, a list of related game syncs is automatically created on the Game Syncs tab of the SoundBank Editor. You can remove certain elements from your SoundBank by excluding specific game syncs. When a game sync is excluded from a SoundBank, all object structures and media files that reference that game sync will be excluded as well.

By including/excluding sounds based on their relationship with game syncs, you have more control over what sounds are loaded at specific points in the game. This means you can better manage the memory limitations of the game's platform.

[Note] Note

Game parameters can't be used to exclude project elements from a SoundBank and are therefore not listed on the Game Syncs tab of the SoundBank Editor.

Example - Including/Excluding Elements Using Game Syncs

Let's say you have a small game made up of three different zones. To complete the game, the main character must walk through zones 1, 2, and 3. In Wwise, you are using a Switch Container to handle the footstep sounds of your main character. You have created the following four Switches for the different ground materials on which the character can walk:

  • Carpet

  • Tile

  • Wood

  • Water

In your game, the water Switch is only used in Zone 2 and 3, whereas the other three Switches are used in all three zones. You decide to create three SoundBanks; one for each zone. Since the Switch Container must be included in each SoundBank, you will want to remove the “water-related” Events, sound structures, and media files from the SoundBank for Zone 1. To do so, you could load the SoundBank for Zone1, switch to the Game Syncs tab, and then deselect the “Water” Switch.

This will exclude “water” related sound structures and media files from the SoundBank “Zone1”. If you switch to the Edit tab, you will notice that the sound structures, Events, and media files that reference this Switch will no longer be included in the SoundBank.

Game syncs can also be excluded from a SoundBank automatically by importing a definition file that includes a game sync exclusion. For more information on using definition files, refer to Populating a SoundBank by Importing a Definition File.

[Note] Note

You may notice that some project elements and media files on the Edit tab are grayed out even before you've started to manually excluded them. This can occur when a Switch Container is added to the SoundBank, and includes objects that have not yet been assigned to a Switch. Since these objects will never be played in game, they are automatically excluded from the SoundBank.

To exclude project elements from a SoundBank using game syncs:

  1. Load a SoundBank into the SoundBank Editor.

  2. Switch to the Game Syncs tab.

    A complete list of game syncs related to the Events and/or objects on the Add tab is displayed.

  3. Locate the game sync you want to exclude from the SoundBank and deselect the corresponding check box.

    The game sync and all related objects and media files are now excluded from the SoundBank.

  4. Repeat step 3 until all game syncs that you want removed have been excluded from the SoundBank.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요