Menu

#16 [2.1.0 Test-1] Vertical length checking of attack range

Non-Fatal
closed
None
5
2016-08-20
2016-07-14
No

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

Discussion

  • Corbin

    Corbin - 2016-07-14

    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
  • Corbin

    Corbin - 2016-07-16

    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.

     
  • Chilly Willy

    Chilly Willy - 2016-08-19
    • status: open --> closed
    • assigned_to: Chilly Willy
     
  • Chilly Willy

    Chilly Willy - 2016-08-19

    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.

     
  • Corbin

    Corbin - 2016-08-20
    • Group: Non-Fatal --> Fixed Bugs
     
  • Corbin

    Corbin - 2016-08-20
    • Group: Fixed Bugs --> Non-Fatal
     

Log in to post a comment.

MongoDB Logo MongoDB