Closed jakubg1 closed 1 month ago
Possible sound event fields:
sound
- The path to the sound file.volume
- The sound's volume, defaults to 1.pitch
- The sound's pitch, defaults to 1.instances
- The amount of copies of the sound that can be playing at once, defaults to 8.condition
- A list of conditions which must be satisfied in order for the sound to be played.
Split sound effects into actual sound effect files and sound definitions (number of samples, stream/load etc.).
The sound effects should be able to have a few different sounds defined and play an appropriate one depending on variables (for example, changing the pitch or actual sample using Expressions).
Example (collapse.json):