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.
- wildweasel
- 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
- Contact:
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?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- 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.
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.
Re: A_RailAttack that supports autoaim?
How?Graf Zahl wrote:No, it never was added, and now with scripting you can do it yourself.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- 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.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact: