Modding:AudioTracks (JSONObject)

From Starbounder - Starbound Wiki
Jump to: navigation, search

Quick Navigation


Audio Tracks define audio files that play at different times of day. They are declared as part of Surface Biome Object Surface Parameters.

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
day Object Time of Day Track Audio tracks played during the day
night Object Time of Day Track Audio tracks played during the night

Example

 "ambientNoises" : {
   "day" : {
     "tracks" : [ "/sfx/environmental/foo_day.ogg" ]
   },
   "night" : {
     "tracks" : [ "/sfx/environmental/foo_night.ogg" ]
   }
 },

timeOfDayTrack

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
tracks Array String Paths to audio files