LAGonauta / MetaAudio

GoldSrc engine plugin for 3D sound
GNU General Public License v2.0
98 stars 14 forks source link

Add method to load reverb parameters from a json config file. #20

Closed LAGonauta closed 4 years ago

LAGonauta commented 4 years ago

A sample json file with the default parameters is included. To use just create a efx-reverbs.json file in the same folder as your MetaHook.exe. Not all reverb types must be in that file, only those that you want to override.

Supported names for reverb presets:

off
generic
metal_small
metal_medium
metal_large
tunnel_small
tunnel_medium
tunnel_large
chamber_small
chamber_medium
chamber_large
bright_small
bright_medium
bright_large
water_1
water_2
water_3
concrete_small
concrete_medium
concrete_large
big_1
big_2
big_3
cavern_small
cavern_medium
cavern_large
weirdo_1
weirdo_2
weirdo_3

One can use the OpenAL SDK to generate new presets, through EFX10ShowWin32 (or EFX10ShowWin64): image