Need help with attenuation!

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
DamTheGreat
Posts: 77
Joined: Mon Oct 26, 2020 6:40 pm
Graphics Processor: nVidia with Vulkan support
Location: Luxembourg

Need help with attenuation!

Post by DamTheGreat »

I've got a rotating PolyObject that plays a custom sound sequence, but the sound plays throughout the entire level. I want it to play only in the room the PolyObject is in. I tried multiple things:
- added the "attenuation static" parameter to SNDSEQ, did nothing
- gave the sound an "$aliasname" and "$attenuation" parameter in SNDINFO, cause the game to freeze as soon as the sound plays
- gave the lines around the room the "block sound" flag, did nothing

I would appreciate any help! Thank you in advance!
User avatar
DamTheGreat
Posts: 77
Joined: Mon Oct 26, 2020 6:40 pm
Graphics Processor: nVidia with Vulkan support
Location: Luxembourg

Re: Need help with attenuation!

Post by DamTheGreat »

Nevermind, I figured it out: I had to convert the sound to Doom format.
Post Reply

Return to “Assets (and other stuff)”