View Issue Details

IDProjectCategoryView StatusLast Update
0003375Spring engineGeneralpublic2013-02-20 01:36
Reportersmoth Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version91.0.1+git 
Summary0003375: Units trying to aim through each other will push allies into the target location.
DescriptionThis bug was introduced no telling when, I only noticed it because I was forced to turn pushing on. So here is the skinny:

If several units are bunched up, the units in the rear will bump the units in the front while shooting their allies in the head. If the group is large enough they will all push until they reach the target point and slowly kill one another.

http://www.youtube.com/watch?v=BMaicG9_cUM

In this video I give 10 units which push until they can all fire at the targets. The damage taken is from allies unit shots hitting ally units.

@ 0:25 I give 30 and this mass proceeds to push move to the target location damaging one another until they have pushed completely on to to the target.
Steps To ReproduceTake a mobile unit spawn several, give them an attack command they will push each other until they all can fire or they are standing on top of their target.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2013-01-09 20:18

administrator   ~0009579

ais suffer from this problem, too

Kloot

2013-01-09 21:40

developer   ~0009581

avoidfriendly=false + collidefriendly=false?

fixing it in the engine requires treating mobile units as blocking (like structures) when they have attack orders which would be a colossal mess.

smoth

2013-02-19 21:04

reporter   ~0009856

so your solution is to have them shoot through allied structures and units? There has to be another way.

Kloot

2013-02-19 23:23

developer   ~0009857

It was a SUGGESTION. When you have any concrete code ideas for a SOLUTION, do let us know.

abma

2013-02-20 00:36

administrator   ~0009858

Last edited: 2013-02-20 00:36

hmm, my idea for a solution would be:

if trajectory is blocked by friendly unit, don't move towards the point where it shots: move to the left or the right. or maybe just stand still if point is in range?

but not sure if thats better as it current is.

smoth

2013-02-20 01:36

reporter   ~0009861

Well it seems to be part of a greater issue. Units largely believe they can move through one another. Maybe it is an issue with unit's improperly neglecting to avoid others? Kloot you know the pathing system better than anyone. Is it the fault of maybe the unit avoidance code?

Issue History

Date Modified Username Field Change
2012-12-23 00:21 smoth New Issue
2013-01-09 20:18 abma Note Added: 0009579
2013-01-09 20:56 abma Product Version 91.0 => 91.0.1+git
2013-01-09 21:40 Kloot Note Added: 0009581
2013-02-19 21:04 smoth Note Added: 0009856
2013-02-19 23:23 Kloot Note Added: 0009857
2013-02-20 00:36 abma Note Added: 0009858
2013-02-20 00:36 abma Note Edited: 0009858
2013-02-20 01:36 smoth Note Added: 0009861