A_RailAttack that supports autoaim?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- 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
A_RailAttack that supports autoaim?
Admittedly, I don't play ZDoom with autoaim enabled, which is why it surprised me when /newstuff reviewer Csonicgo complained that the Tri-laser in ww-mixed3 didn't work well for him. Upon looking at [wiki]A_RailAttack[/wiki], I find there's no flag that enables it to autoaim at all...am I missing something? Or should I consider a different approach than rail attacks?
-
- Lead GZDoom+Raze Developer
- Posts: 49182
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_RailAttack that supports autoaim?
No, it never was added, and now with scripting you can do it yourself.
-
- Posts: 598
- Joined: Sun Feb 24, 2013 4:07 pm
- Location: United Kingdom
Re: A_RailAttack that supports autoaim?
I support this. I sometimes play some mods on a Windows Tablet, which only has keyboard, and I find the lack of autoaim on Railgun weapons jarring.
-
- Posts: 2383
- Joined: Thu Feb 11, 2016 9:59 am
Re: A_RailAttack that supports autoaim?
How?Graf Zahl wrote:No, it never was added, and now with scripting you can do it yourself.
-
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
Re: A_RailAttack that supports autoaim?
I spent years waiting for this in an official capacity.
This was my stopgap.
When ZScript came out, I began steadily converting this over to all-ZScript, but I haven't 100% moved it out of ACS. If anyone can teach us the best way to do it, please tell us.
This was my stopgap.
When ZScript came out, I began steadily converting this over to all-ZScript, but I haven't 100% moved it out of ACS. If anyone can teach us the best way to do it, please tell us.
-
- Lead GZDoom+Raze Developer
- Posts: 49182
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_RailAttack that supports autoaim?
The important thing is to call AimLineAttack to calculate the shooting angle.
-
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US