Disable Verticle autoaim for mod?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 532
- Joined: Tue Jun 17, 2014 11:22 pm
- Graphics Processor: nVidia (Legacy GZDoom)
Disable Verticle autoaim for mod?
So in Zdoom. I've always disliked the Autoaim with the mouse and keyboard controls. It's just goofy imo. And I've disabled the normal autoaim feature in my Shadow Elite mod to make aiming somewhat realistic within the GZDoom engine. I guess there are two kinds of auto aim. Horizontal and vertical. When you aim completely down and fire it still hits an enemy that is higher up. I want to disable this feature.
-
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Re: Disable Verticle autoaim for mod?
What I normally do is to ignore all the player attack functions and just spawn the projectile and give it velocity based only on the player's pitch and angle (and velocity if one wants to get all frame-of-reference-y).
I haven't thought about autoaim in years.
I haven't thought about autoaim in years.
-
- Posts: 532
- Joined: Tue Jun 17, 2014 11:22 pm
- Graphics Processor: nVidia (Legacy GZDoom)
Re: Disable Verticle autoaim for mod?
well its a hitscan weapon. but i might make all my weapons fire a tracer type projectile in the future.
-
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Re: Disable Verticle autoaim for mod?
I think LineAttack works for that as well.
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Re: Disable Verticle autoaim for mod?
I would advise against it; users like myself occasionally like to play with gamepads or non-mouse devices (especially keep in mind people who use Delta Touch or devices like the GPD Win 2) may have autoaim enabled, even slightly, for its original purpose: to assist in aiming.Graaicko wrote:So in Zdoom. I've always disliked the Autoaim with the mouse and keyboard controls. It's just goofy imo. And I've disabled the normal autoaim feature in my Shadow Elite mod to make aiming somewhat realistic within the GZDoom engine. I guess there are two kinds of auto aim. Horizontal and vertical. When you aim completely down and fire it still hits an enemy that is higher up. I want to disable this feature.
The only legit use I can think of for disabling autoaim entirely is on weapons like grenade launchers, where autoaim can have unintentionally lethal side-effects.