Changelog
Released version and their changes.
#Changes
- Added per-client occlusion ignoring, so scripts can let selected sounds pass through specific entities without being muffled.
- Tag a sound with an
occlusionIgnorekey and register one entity or a list of entities for that key with the client exportSetOcclusionIgnore. Each new registration replaces the previous one, and passing nil or an empty list clears it. - Other sounds are still muffled normally, and the closed-vehicle cabin muffling is unchanged.
- Registrations are removed when the resource that created them stops, so a reused entity handle is not left ignored.
- Tag a sound with an
- Added bundled machine sounds under
public/sounds/machines, including shredder, generator, and diesel pouring audio.- Shredder sounds cover start, stop, motor, jam, metal, plastic, and five bin sounds.
- Generator sounds cover start, stop, loop, and sputter.
- Diesel pouring has its own sound.
#Files Affected
Note: Due to the number of files changed, we recommend a full reinstall instead of swapping out individual files.
- client/eventhandler.lua
- client/functions.lua
- client/main.lua
- server/functions.lua
- shared/config.lua
- nui/*
- types.lua
- fxmanifest.lua
#Changes
- When spatial audio and vehicle muffling are enabled, sounds from outside a closed vehicle are now quieter and muffled for players inside it, while sounds from occupants of the same vehicle stay clear.
- Motorcycles, cycles, boats, and convertibles whose roof is not fully up are excluded, and sounds on the vehicle itself count as outside.
- Added bundled towing sounds for bed hydraulics, hook attach and detach, line snap, winch motor, and winch ratchet.
#Files Affected
Note: Due to the number of files changed, we recommend a full reinstall instead of swapping out individual files.
- client/functions.lua
- shared/config.lua
- nui/*
- fxmanifest.lua
#Config Changes
shared/config.lua- Added
Config.Settings.spatialAudio.vehicle.enabled=true - Added
Config.Settings.spatialAudio.vehicle.lowpass=800 - Added
Config.Settings.spatialAudio.vehicle.volume=0.5
- Added
#Changes
- Added directional spatial audio for world sounds.
- World sounds now play from their in-world direction relative to the camera and update as the camera and sources move.
- Sounds behind the camera sound duller.
- Sounds blocked by walls and buildings play quieter and more muffled, while your own vehicle or ped never muffles its sound.
- Added a windscreen clamp alarm beep vehicle sound.
- Added three new body fart sounds.
#Files Affected
Note: Due to the number of files changed, we recommend a full reinstall instead of swapping out individual files.
- client/functions.lua
- shared/config.lua
- nui/*
- README.md
- types.lua
- fxmanifest.lua
#Config Changes
shared/config.lua- Added the full
Config.Settings.spatialAudiotable. Copy the entire table from the new config.
- Added the full
#Changes
- The sound files now support sub-folders to better organize your sounds.
- To support legacy systems, you can still call the sounds without the sub-directories, but it is recommended to use the full sound path instead for new implementations.
#Files Affected
- server/functions.lua
- server/sound_scanner.js
- shared/config.lua
- nui/*
- README.md
- fxmanifest.lua
#Changes
-
Overhauled sound synchronization to improve reliability and consistency across all players.
- Server-side caching ensures sounds are reliable long-term, expanding the capabilities of this resource past simple one-offs that run for a few second.
- Utilizing statebags for entities, sounds are now scoped better and are more reliable.
-
Added Lithuanian language support.
#Files Affected
- Replace all.
Pre-release.