Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#4241 closed defect (fixed)

Ballistics / projectiles cause damage even if they miss

Reported by: elexis Owned by:
Priority: Should Have Milestone: Alpha 21
Component: UI & Simulation Keywords:
Cc: Patch:

Description (last modified by elexis)

Sometimes the displayed trajectory differs vastly from the position of the unit. The arrow is far away from the target. Still the target is taking damage.

This is most noticeable with catapults when attacking a moving target. The parabola will be very wide and the cavalry can be more than 100m away from the target when it "collides": http://trac.wildfiregames.com/raw-attachment/ticket/4241/catapultwtf.gif

This issue was noticed by defenderbenny. He also noted that in age of empires 2 there is a ballistics technology which if researched, allows this kind of behavior.

Attachments (2)

catapultwtf.gif (1.3 MB ) - added by elexis 8 years ago.
commands.txt (23.8 KB ) - added by elexis 8 years ago.
replay from unix timestamp 1474676761 (september 24th 2016)

Download all attachments as: .zip

Change History (6)

by elexis, 8 years ago

Attachment: catapultwtf.gif added

comment:1 by elexis, 8 years ago

Description: modified (diff)

by elexis, 8 years ago

Attachment: commands.txt added

replay from unix timestamp 1474676761 (september 24th 2016)

comment:3 by fatherbushido, 8 years ago

When we don't hit the target at the expected location, if we hit a nearby unit (in a radius equal to 2 times the distance between the expected target position and the real target position).

  • So, here we get many entities to check. (perhaps we can modify that).
  • Then the bug comes from that we have inverted the check for doing the damage so we give damage to the first checked unit we didn't hit. See #4276
Last edited 8 years ago by fatherbushido (previous) (diff)

comment:4 by fatherbushido, 8 years ago

Milestone: BacklogAlpha 21
Resolution: fixed
Status: newclosed

Fixed in r18828 and r18829.

comment:5 by elexis, 7 years ago

This had a measurable impact on the balancing of units who miss often, mostly skirmishers and we should reevaluate their spread value.

Note: See TracTickets for help on using tickets.