Page 1 of 1

r719 and older Railgun ignores attack z offset

Posted: Sun Jan 27, 2008 2:41 pm
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

Re: r719 and older Railgun ignores attack z offset

Posted: Mon Jan 28, 2008 10:43 am
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. :?

Re: r719 and older Railgun ignores attack z offset

Posted: Mon Jan 28, 2008 10:55 am
by Nash
It probably is an oversight.

Re: r719 and older Railgun ignores attack z offset

Posted: Mon Jan 28, 2008 11:10 am
by Enjay
Nash wrote:It probably is an oversight.
More like an undersight. :laff: ;)

Re: r719 and older Railgun ignores attack z offset

Posted: Mon Jan 28, 2008 11:16 am
by Project Shadowcat
Enjay wrote:
Nash wrote:It probably is an oversight.
More like an undersight. :laff: ;)
And the crowd boos. :lol:

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 6:24 am
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.

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 8:13 am
by Graf Zahl
If your project's release depends on it I'll take a look later this evening.

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 8:15 am
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. :)

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 8:22 am
by Graf Zahl
Fixed.

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 8:24 am
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. :)

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 9:02 am
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

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 9:59 am
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. :(

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 10:45 am
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. ;)

Re: r719 and older Railgun ignores attack z offset

Posted: Wed Jan 30, 2008 5:08 pm
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 :)