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.

Need help with attenuation!

Postby DamTheGreat » Thu Aug 19, 2021 9:06 am

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
 
Joined: 26 Oct 2020
Location: Luxembourg
Discord: ☠DamTheGreat☠#7201
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Need help with attenuation!

Postby DamTheGreat » Thu Aug 19, 2021 11:13 pm

Nevermind, I figured it out: I had to convert the sound to Doom format.
User avatar
DamTheGreat
 
Joined: 26 Oct 2020
Location: Luxembourg
Discord: ☠DamTheGreat☠#7201
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 0 guests