A_Playsound and Attenuation

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 813
Joined: Fri Jun 01, 2012 9:04 pm

A_Playsound and Attenuation

#1

Post by Ru5tK1ng » Sun Jan 04, 2015 8:26 pm

A while ago I had been messing with the chainsaw and came across an issue with attenuation and A_Playsound. I attempted to decrease the range of the chainsaw idle sound so you wouldn't be able to hear it across a room. I managed to get a working variant but it seems to not work online for some reason. I'm not certain if this is a bug or a coding error so here is the example wad below. Just add a bot in local mode and move in until you hear the sound.

Chainsaw Example
Projects

EonDM - With Hatred as my sidekick.
RageCTF - Made 1 map and did much more.
DBAB LMS - Pack made for Last Man Standing.
EonWeapons - Improve vanilla weapons and add stuff for kicks.
Progressive Duel - Leaving the old behind.
IDL201X CTF - Maintaining since 2013.
Strife AA - Helped tested + 1 map

Edward-san
Developer
Posts: 382
Joined: Fri May 25, 2012 8:14 pm

RE: A_Playsound and Attenuation

#2

Post by Edward-san » Sun Jan 04, 2015 11:17 pm

Sadly, it's a zandronum bug (attenuation code does not handle well attenuation values different from named ones). Please report it into the tracker.
Last edited by Edward-san on Sun Jan 04, 2015 11:24 pm, edited 1 time in total.

Post Reply