Map Modding Features
Audio Setup
Music and ambiance is currently supported for custom maps with the caveat of only music and ambiance that is part of the base game can be used at the moment. Setting up music/ambiance zones within this limitation is quite simple.
- Create a new empty game object in the area you want to setup an audio zone.
- Attach an audiozone script component to the game object.
- Set the radius of the audiozone.
- Set the music and ambiance entries of the audiozone. Refer to the AudioReference.txt file that ships with the server distribution to find the available music and ambiance names. (You can use the lua server function PlayMusic to easily hear all of the available music and ambiance tracks.)