FPF_NOAUTOAIM for A_FireCustomMissile

Moderator: GZDoom Developers

Post Reply
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

FPF_NOAUTOAIM for A_FireCustomMissile

Post by Xaser »

Suggestion's simple: an FPF_NOAUTOAIM flag for A_FireCustomMissile that would disable auto-aim for just this attack.

I'm running into the classic case of adding a grenade alt-fire to a standard projectile weapon. Autoaim completely breaks the 'nades, but I don't want to add the NOAUTOAIM flag because that would stop autoaim from working for the primary fire too. Per-function flexibility would be most useful here.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Ed the Bat »

User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Xaser »

Heh, thought this sounded familiar. My brain may have mangled the previous discussion about this feature into "ZDoom has this feature", since I was legitimately surprised earlier today when I searched for it on the wiki and came up empty-handed.

I'll probably break open Visual Studio again, 'cause it's been a while and this should probably be not-too-hard.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Ed the Bat »

Oh man that would make my day! I've been gaggin' to see this one for... what's the date there? Close to three years?
User avatar
Major Cooke
Posts: 8209
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Major Cooke »

If you dont do it, Xaser, I can. This sounds extremely simple as is so it shouldn't be hard.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Xaser »

Thanks for the offer, though I decided to take the opportunity to set up a dev environment again. It's been too long.

Thinking on it, I haven't done any dev work since the switch to Git. I'm already loving it, as pull requests are awesome.
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: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Graf Zahl »

Looks ok to me, but to satisfy the new rules for pull requests I have to wait for a second developer to approve the submission.
User avatar
edward850
Posts: 5889
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by edward850 »

Compiled/tested it on my end and no issues here.
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Tormentor667 »

Where can I get the latest compiled version with this feature in? The DRDTeam SVN is pretty outdated with a version from August 12th :(
User avatar
Major Cooke
Posts: 8209
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: FPF_NOAUTOAIM for A_FireCustomMissile

Post by Major Cooke »

You'll have to either compile it or wait.
I'm way too impatient to wait for some updates to become available so I just compile it myself. (Lately, however I've been waiting...)

Overall, it's really not difficult to do. Just a matter of downloading a bunch of stuff first.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”