Railgun Vertical Spawn Offset
Moderator: GZDoom Developers
[request] set the height of a railgun attack
any particular reason? and why hasnt it been implemented yet?
Last edited by Virtue on Tue Feb 26, 2013 3:21 pm, edited 1 time in total.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
Re: why cant you set the height of a railgun?
I don't fully know, but my suspicion is that it just hasn't really been considered. There are a couple of things about them that I also wanted to see, such as the option for auto-aim, and I was lead to believe that it just wasn't considered. Having said that, I suppose it would be perfectly reasonable to push it ahead as a feature suggestion. I second this motion.
Re: why cant you set the height of a railgun?
Yep, same here! I also wondered why weapons such as the minigun and the railgun didn't have autoaim. It would be lovely to see these implemented.Ed the Bat wrote:I don't fully know, but my suspicion is that it just hasn't really been considered. There are a couple of things about them that I also wanted to see, such as the option for auto-aim, and I was lead to believe that it just wasn't considered. Having said that, I suppose it would be perfectly reasonable to push it ahead as a feature suggestion. I second this motion.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
Re: why cant you set the height of a railgun?
The minigun can be given autoaim so long as the weapon doesn't have the NOAUTOAIM flag. Railguns have, so far, been unaffected, and I'd like there to be more control for that. But, I digress. Here, the focus is on the Z-offset of the shot.
Re: why cant you set the height of a railgun?
its baffling it has horizontal offsetting but not vertical! so annoying....
- Xtyfe
- Posts: 1490
- Joined: Fri Dec 14, 2007 6:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
Re: why cant you set the height of a railgun?
The same could be said for many things in ZDoom, but what it comes down is that these things just were not considered. its frustrating for me as well, all we can do is post in the suggestion forum and hope some day it gets added.
Re: why cant you set the height of a railgun?
well its such a basic attack, it shouldve been in a long time ago!Xtyfe wrote:The same could be said for many things in ZDoom, but what it comes down is that these things just were not considered. its frustrating for me as well, all we can do is post in the suggestion forum and hope some day it gets added.
Re: why cant you set the height of a railgun?
Whether it should have or not is irrelevant: it wasn't.
How about we just move on from that point eh?
"It doesn't matter it's in the past" - Rafiki
How about we just move on from that point eh?
"It doesn't matter it's in the past" - Rafiki
Re: why cant you set the height of a railgun?
well this is a feature request 
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
Re: [request] set the height of a railgun attack
Looks like this isn't the first time, either.
Amazing what kind of loose ends you find when you poke around in threads from over four years ago. Lots of them are for things that are already in the engine.
Amazing what kind of loose ends you find when you poke around in threads from over four years ago. Lots of them are for things that are already in the engine.
Re: [request] set the height of a railgun attack
Hmm, to quote a post from the linked thread:

I'm often surprised by odd "feature-holes" in the engine, but the simple fact of the matter is that things only get added when people feel like doing them. Though the "it's a hobby project so the devs don't owe anyone anything" excuse is rather cold, it's unreasonable IMO to get all up in a huff about something non-game-breaking like this. As the resident "guy who works on Railgun code", it's not particularly motivating; I don't have a time machine, dammit.
As for the oldness of the other thread, sometimes things do drop off to the bottom of the suggestion barrel so a re-request like this is fine IMO given the timespan. But be a bit more tactful about it next time -- "Why hasn't this been done yet?" is a rather accusational inquiry.
That's an easy question: it hasn't been implemented because nobody has implemented it.Virtue wrote:i think this has been requested dozens of times but there has been no explination why it isnt implemented...
I'm often surprised by odd "feature-holes" in the engine, but the simple fact of the matter is that things only get added when people feel like doing them. Though the "it's a hobby project so the devs don't owe anyone anything" excuse is rather cold, it's unreasonable IMO to get all up in a huff about something non-game-breaking like this. As the resident "guy who works on Railgun code", it's not particularly motivating; I don't have a time machine, dammit.
As for the oldness of the other thread, sometimes things do drop off to the bottom of the suggestion barrel so a re-request like this is fine IMO given the timespan. But be a bit more tactful about it next time -- "Why hasn't this been done yet?" is a rather accusational inquiry.
Re: [request] set the height of a railgun attack
well to be fair, you implemented loads of features to the railgun since this has originally been requested, I guess its such an obvious (and probably) simple thing to add that it would take no time at all, surely, its just copying the horizontal code but transposing it to vertical?
- Xtyfe
- Posts: 1490
- Joined: Fri Dec 14, 2007 6:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
Re: [request] set the height of a railgun attack
Given how popular ZDoom is and the fact that there are many capable people within the community, it can be frustrating when no one is willing to take charge of these types of things when Randi and/or Graf are not able to. I know I have voiced this before, but damn what I would give for someone actively developing aside from bug fixes.Xaser wrote:Hmm, to quote a post from the linked thread:That's an easy question: it hasn't been implemented because nobody has implemented it.Virtue wrote:i think this has been requested dozens of times but there has been no explination why it isnt implemented...
I'm often surprised by odd "feature-holes" in the engine, but the simple fact of the matter is that things only get added when people feel like doing them. Though the "it's a hobby project so the devs don't owe anyone anything" excuse is rather cold, it's unreasonable IMO to get all up in a huff about something non-game-breaking like this. As the resident "guy who works on Railgun code", it's not particularly motivating; I don't have a time machine, dammit.
As for the oldness of the other thread, sometimes things do drop off to the bottom of the suggestion barrel so a re-request like this is fine IMO given the timespan. But be a bit more tactful about it next time -- "Why hasn't this been done yet?" is a rather accusational inquiry.
I recently was looking at various emulator projects, some that had stopped development for a short time. But each time one did there was always someone jumping in and taking over. I would love to see that here.
Railgun Vertical Spawn Offset
This patch adds an additional parameter to A_RailAttack and A_CustomRailgun that controls the vertical spawn offset.
Original Feature Request: http://forum.zdoom.org/viewtopic.php?f=15&t=35577
Original Feature Request: http://forum.zdoom.org/viewtopic.php?f=15&t=35577
Re: [request] set the height of a railgun attack
I have submitted a patch that adds this feature.
Code Submission: http://forum.zdoom.org/viewtopic.php?f=34&t=35659
Code Submission: http://forum.zdoom.org/viewtopic.php?f=34&t=35659


