LuaEntityPrototype.hearable_distance
Posted: Fri Jun 14, 2019 7:12 pm
What?
I'd like to override the distance at which a machine can be heared (mostly mining drills) (in data stage).
Why?
Some machines are loud, really loud. But the engine cuts off all sound for things more than ~16 tiles away. It would be nice if it was possible to override the distance over which the sound fades, so that it starts i.e. 200 tiles away and slowly gains volume as the player approaches.
(Weapon mods that add big explosives could also benefit from this.)
I'd like to override the distance at which a machine can be heared (mostly mining drills) (in data stage).
Why?
Some machines are loud, really loud. But the engine cuts off all sound for things more than ~16 tiles away. It would be nice if it was possible to override the distance over which the sound fades, so that it starts i.e. 200 tiles away and slowly gains volume as the player approaches.
(Weapon mods that add big explosives could also benefit from this.)