Map Modding Features

From Legends of Aria Admin and Modding Wiki
Revision as of 05:31, 14 September 2018 by Zenroth (talk | contribs) (Audio Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

  1. Create a new empty game object in the area you want to setup an audio zone.
  2. Attach an audiozone script component to the game object.
  3. Set the radius of the audiozone.
  4. 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.)