[?-1893] A_CustomRailgun doesn't play sound properly

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
unknownna
Posts: 215
Joined: Sat Oct 06, 2007 4:45 pm

[?-1893] A_CustomRailgun doesn't play sound properly

Post by unknownna »

A_CustomRailgun doesn't work properly when it comes to the sound aspect of it.
Sometimes the sound will play, other times not. You may also suddenly hear the rails as if they were fired near you when you're actually far away from the source.
Last edited by unknownna on Sun Oct 25, 2009 6:50 am, edited 1 time in total.
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Re: [?-1893] A_CustomRailgun doesn't play sound properly

Post by Mr. Tee »

We can appreciate the example wad, but I loaded your wad and it just brought me to the regular Doom2 map01. No railgun, nothing.

I don't quite remember how to add one by console (but if you're gonna include an example map you should really make a one-room level with a railgun in the middle so we can easily spot your problem :-) ).
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: [?-1893] A_CustomRailgun doesn't play sound properly

Post by CaptainToenail »

It says under the file
summon gmrg

:roll:

Anyway, I've noticed odd railgun sounds too when playing Skulltag, sometimes it seems as if the railgun is playing the firing sound at full world volume, and sometimes not, does the sound originate from the rail shaft itself rather than the shooter? If so that could be causing it.
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Re: [?-1893] A_CustomRailgun doesn't play sound properly

Post by Mr. Tee »

LOL, ok, could he make it even less noticeable? :wink:

All joking aside, yes, I see this behaviour too. :instagib:
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [?-1893] A_CustomRailgun doesn't play sound properly

Post by randi »

CaptainToenail wrote:does the sound originate from the rail shaft itself rather than the shooter?
It does. It calculates the point closest to the listener and plays the sound from there (because it's supposed to be the sound of the slug, not the weapon).

[I have not tried the attached wad, so I reserve judgment on whether it's working properly or not.]
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [?-1893] A_CustomRailgun doesn't play sound properly

Post by Graf Zahl »

randy wrote:
CaptainToenail wrote:does the sound originate from the rail shaft itself rather than the shooter?
It does. It calculates the point closest to the listener and plays the sound from there (because it's supposed to be the sound of the slug, not the weapon).
I believe that that was the intent. But the code sure did not do that. 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.
Post Reply

Return to “Closed Bugs [GZDoom]”