Difference between revisions of "Map Modding Features"
(Created page with "*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. Se...") |
(→Audio Setup) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == 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. | 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. | 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. | # 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. | # Attach an audiozone script component to the game object. | ||
− | # Set the radius of the audiozone | + | # Set the radius of the audiozone. |
− | # Set the music and ambiance entries of the | + | # 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.) |
Latest revision as of 05:31, 14 September 2018
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.)