r719 and older Railgun ignores attack z offset

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
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

r719 and older Railgun ignores attack z offset

Post by Enjay »

I posted this over at DRD before I was using the Zdoom SVN versions so I wasn't sure if it applied to them as well as GZdoom. Now that I'm fully SVN'd up, I can confirm that it happens here too.

The title says it all really. Whilst most attacks get moved upward if you set a player class zoffset, the rail doesn't. This is particularly problematic if the rail is being used as a weapon intended for sniping purposes because the rail always hits lower than it appears it should when you have a player class with a raised viewheight.

To get a clear demonstration of the effect, I switched on freeze mode then shot a rail, changed weapons and shot a projectile (without moving at all) and then moved to the side and took a screenshot. I think the result speaks for itself:
offset.gif
The relevant player class values were:

Player.ViewHeight 52
Player.AttackZOffset 25
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

I'm not nagging (really I'm not) but is this something that is likely to be fixed soonish?

If it is, I'll just use a properly defined rail in my Burghead WAD release. If not, I'll do something like have a bunch of normal hitscan bullets fire at the same time as a lower damage rail. The main reason being that there are a few places in the mod where the player is quite likely to want to fire over low walls etc and it is very easy to have yourself standing by such a wall and it seems as if you should be able to fire over it but your rail just smacks into the wall instead, whereas the regular hitscans clear it. To actually shoot the rail over the wall, you have to aim upward at quite a steepish angle, thereby firing over the top of whatever you want to hit. :?
User avatar
Nash
 
 
Posts: 17485
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Nash »

It probably is an oversight.
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

Nash wrote:It probably is an oversight.
More like an undersight. :laff: ;)
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Project Shadowcat »

Enjay wrote:
Nash wrote:It probably is an oversight.
More like an undersight. :laff: ;)
And the crowd boos. :lol:
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

Enjay wrote:is this something that is likely to be fixed soonish?

If it is, I'll just use a properly defined rail in my Burghead WAD release. If not, I'll do something like have a bunch of normal hitscan bullets fire at the same time as a lower damage rail.
OK, I guess I am nagging now. ;) I just want to find out what is likely to happen with this because it is the only thing holding up the release of my project now. I just want to know how to set up the weapon in my mod in the light of how, or if, this problem is likely to be addressed.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r719 and older Railgun ignores attack z offset

Post by Graf Zahl »

If your project's release depends on it I'll take a look later this evening.
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

Graf Zahl wrote:If your project's release depends on it I'll take a look later this evening.
Thank you kindly. It's very much appreciated. :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r719 and older Railgun ignores attack z offset

Post by Graf Zahl »

Fixed.
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

Well that was quick. Even with the time difference, by my watch it's only about 3.20 pm with you. ;)

Thanks again. :)
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: r719 and older Railgun ignores attack z offset

Post by TheDarkArchon »

Enjay wrote:Well that was quick. Even with the time difference, by my watch it's only about 3.20 pm with you. ;)

Thanks again. :)
Shouldn't you be teaching obnoxious ones rather than looking here? :P
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

TheDarkArchon wrote:Shouldn't you be teaching obnoxious ones rather than looking here? :P
I should be but I'm "on the sick". Have been for the last week and a half. :(
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: r719 and older Railgun ignores attack z offset

Post by HotWax »

Enjay wrote:I should be but I'm "on the sick". Have been for the last week and a half. :(
Hmm, sounds like you're dying. You'd better send your Aspects stuff to somebody before that happens, because it'd be a shame if all that work was lost. I nominate myself. ;)
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r719 and older Railgun ignores attack z offset

Post by Enjay »

HotWax wrote:Hmm, sounds like you're dying. You'd better send your Aspects stuff to somebody before that happens, because it'd be a shame if all that work was lost. I nominate myself. ;)
Not you too. I expected better. ;)
Spoiler:
Anyway, the bug is definitely fixed. It works fine for me now :)
Post Reply

Return to “Closed Bugs [GZDoom]”