MantisBT - Zandronum
View Issue Details
0000349Zandronum[All Projects] Bugpublic2011-03-26 04:142018-09-30 22:56
unknownna 
Torr Samaho 
normalminoralways
closedfixed 
98d 
2.0 
0000349: RailGun sounds played at full volume from a long distance
Other clients can always hear the rail sound played at full volume if they're aligned with the rail. An example would be when client A faces south and fires while client B is located far away in the north. I made an example WAD to illustrate this better.
1) Start a standard coop server with the example WAD loaded.
2) Connect two clients to the server.
3) "join; wait 1; give all; wait 1; use railgun; snd_sfxvolume 0" in the console for client A.
4) Fire. Client B will hear the sound played at full volume.
sound
? railgun_sound_test.wad (1,240) 2011-03-26 04:14
/tracker/file_download.php?file_id=220&type=bug
Issue History
2011-03-26 04:14unknownnaNew Issue
2011-03-26 04:14unknownnaFile Added: railgun_sound_test.wad
2011-03-26 09:30Edward-sanNote Added: 0001184
2011-03-26 10:36unknownnaNote Added: 0001185
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug
2014-06-10 15:42WatermelonStatusnew => closed
2014-06-10 15:42WatermelonResolutionopen => waiting for zdoom
2015-06-06 21:44unknownnaAssigned To => Torr Samaho
2015-06-06 21:44unknownnaStatusclosed => resolved
2015-06-06 21:44unknownnaResolutionwaiting for zdoom => fixed
2015-06-06 21:44unknownnaNote Added: 0012565
2015-06-06 21:44unknownnaFixed in Version => 2.0
2018-09-30 22:56Blzut3Statusresolved => closed

Notes
(0001184)
Edward-san   
2011-03-26 09:30   
Can you reproduce this in zdoom 1551? And in latest zdoom svn?
(0001185)
unknownna   
2011-03-26 10:36   
I haven't tested it there, but I reported something similar over at the ZDoom forum a few years ago.

It was probably even fixed there from the looks of it:

> It did calculate the distance to the trail's line properly but completely ignored the end points so the sound was played at a position where the trail never got.

'http://www.zdoom.org/Changelog/1926/files [^]'

* Fixed: The rail sound used the shooter's position for calculating the sound origin but should use the camera position instead to get the correct position for the closest point along the trail.
(0012565)
unknownna   
2015-06-06 21:44   
This issue is fixed in 2.0.