Tested with fist and chainsaw, which both have “ATTACKRANGE=96;” in attacks.ddf.
Problem: It seems to be no any vertical length checking of attack range. Video will show situation better than I can explain :) https://youtu.be/STMnxBhItWw
Added slope to calculation of attack coords. The line of attack was only using the turn angle to restrict coords for checking if your attack hit something. Now uses slope as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try setting a SLOPE_OFFSET value for the two attacks in Attacks and let me know if that changes anything. Also try ANGLE_OFFSET.
Optionally (this is undocumented) - try setting a TRACE_ANGLE to the attack.
Last edit: Corbin 2016-07-14
I just realized that melee weapons like that might not have the same checks as projectiles, so I will add this as a long term TODO.
Added slope to calculation of attack coords. The line of attack was only using the turn angle to restrict coords for checking if your attack hit something. Now uses slope as well.