Project Zomboid

Project Zomboid

Random Sound Events
Burkanx 29 Dec, 2022 @ 6:23pm
Random Sound Events LUA Question
Hey KONIJIMA,

Is it possible to set a minimum distance sounds can play at?

I've made my own library for Random Sound Events though I see there is only a setting for Maximum distance..

I have made multiple sound samples designed to play at a far distance and for the most part they play at and near the max distance set though occasionally samples that are meant to be heard afar are triggered right next to the player.

It's frustrating.
I am trying to find a solution to this for my library supporting mod.


Thanks for reading.