Hytale Modding
Hytale Modding

SoundStyle

SoundStyle

Specifies sound properties for a single sound

Properties

NameTypeDescription
SoundPathUI Path (String)The sound file to play. Must be an .ogg file
VolumeFloatThe volume in decibels
MinPitchFloatIf specified, a random number between MinPitch and MaxPitch will be picked for the pitch. This value must be in semitones
MaxPitchFloatIf specified, a random number between MinPitch and MaxPitch will be picked for the pitch. This value must be in semitones
StopExistingPlaybackBooleanIf enabled, any existing UI sound playback with the same file path will be stopped before this sound will be played