Difference between revisions of "Setting WWise Audio Modding"

From Killing Floor 2 Wiki
Jump to: navigation, search
(Adding Wwise Events to the KF2 Editor)
Line 54: Line 54:
### Content/Packages/Audio/Voice
### Content/Packages/Audio/Voice
## [[File:AudoPackageSaveLocation.png|center|thumb]]
## [[File:AudoPackageSaveLocation.png|center|thumb]]
## Drag events from Wwise into the newly created package.

Revision as of 15:25, 3 January 2019


Setting Up Wwise for KF2

Register an account with Audiokinetic here

Create a non-commercial project with over 200 sounds. Make sure to include the words KF2 Mod in the title and description.

You will need to go to the “older versions” area of downloads here.

They will give you a license key that will get you full access to everything needed for KF2 Modding.

  1. Download correct Wwise SDK - 2015.1.9 build 5624
  2. Download Wwise Project located here
  3. Place the contents of this folder here: “steamapps\common\killingfloor2\KFGame\Content\Packages\Audio\WWISE”
  4. Install Wwise SDK (Common) and (Windows), Authoring Data, and Authoring Binaries
  5. Set the correct bank output path in Wwise
    1. Navigate to Project-Project Settings
    2. Click the “SoundBanks” tab
    3. Set the Windows Platform “SoundBank Folder” path to the folder where your brewed game files live killingfloor2\KFGame\BrewedPC\WwiseAudio\Windows
  6. If you want to create brand new banks this will require manually moving them to the \BrewedPC\WwiseAudio\Windows folder.
  7. NEW STATES WILL NOT WORK WITHOUT COMPILING SOURCE. Modders must use existing States.

Creating New Content in Wwise

  1. Create a new Work Unit for Audio
    1. Right Click on “Actor-Mixer Hierarchy”
    2. Navigate to “New Child”
    3. Select “Work Unit” Name Work Unit
  2. Add Sound FX to Wwise
    1. Drag sound file you wish on top of the Work Unit
    2. Click “Import” button
  3. Set the properties of your sound.
    1. Set the output bus to the appropriate bus. If you are creating a 1st person weapon sound the appropriate bus would be “Weapons”
      Step 3.1
    2. Under the “Positioning”tab set the sound to 2D or 3D via the drop down
      Step 3.2
    3. If you are creating a 3D sound you will need to set it’s positioning information. There are many presets in the project that should suit your needs
  4. Create an Event for your sound
    1. Right click your new sound and select “New Event” and then “Play”
    2. Click the “Events” tab in the upper left corner
    3. Follow the same steps as above to create a new “Work Unit” here
    4. Your new Event will be located in the “Default Work Unit”. You can cut and paste or drag it to your new Work Unit (or an existing work unit)
    5. Save your project!

Adding Wwise Events to the KF2 Editor

  1. Open the KF2 Editor
    1. Create a new package as you would for any asset. Set the Factory as “AKBank”
    2. These UPK’s must have a “WW_” prefix to be seen for the SoundBankGeneration
    3. Rename the package to match the package name you want to use. Again these must have a “WW_” prefix.
    4. The name field will determine the name of an AkBank item in UE3. We will not use that one. It auto generates the correct bank item.
    5. Save the package in the appropriate folder (These have to be in one of the following folders or they won't be seen when generating)
      1. Content/Packages/Audio/SFX
      2. Content/Packages/Audio/Music
      3. Content/Packages/Audio/Ambient
      4. Content/Packages/Audio/Voice
    6. AudoPackageSaveLocation.png
    7. Drag events from Wwise into the newly created package.