You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Christian Bronk edited this page Mar 7, 2018
·
2 revisions
this module plays a soundfile (in a loop). For ambient sounds use the invisible "soundcube" static, as its borders will fit exactly the default values and the distances are scaled accordingly.
MODULE
{
// Mandatory, always the same
namespace = KerbalKonstructs
name = AudioPlayer
// Mandatory
audioClip = <name> // the sound file you want to play
// Optional
minDistance = 1 // the distance where the full volume is hearable
maxDistance = 500 // maximum distance until the sound is cut off
loop = true // should the sample be played in a loop
volume= 1 // Volume adjustment of the File
}