Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#3497 closed defect (fixed)

[PATCH] Chicken should not block units

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

Description (last modified by elexis)

Since the new pathfinder, units make a big leap around obstructions instead of breaking the formation apart. This is very useful, since units now avoid the forest instead of getting entangled there. But being blocked by chicken near the CC is very hindering, especially in the beginning of the match.

Berries have become passable in r8899, see http://trac.wildfiregames.com/changeset/8899/ps/trunk/binaries/data/mods/public/simulation/templates/template_gaia_flora_bush.xml

So I propose to make chicken ghosts too, would help a lot and not really look bad.

http://trac.wildfiregames.com/raw-attachment/ticket/3497/chicken.gif

Attachments (3)

#3497.patch (650 bytes ) - added by Stan 9 years ago.
Assess the need.
chicken.gif (1.0 MB ) - added by elexis 9 years ago.
t3497_ghost_chicken_and_rabbits.patch (1.4 KB ) - added by elexis 9 years ago.
Also makes rabbits passable. Swimming animals like sharks and whale might make sense too. All other land animals are bigger than that and should certainly block in my opinion.

Download all attachments as: .zip

Change History (9)

comment:1 by Stan, 9 years ago

Keywords: patch review added; pathfinding removed
Owner: set to Stan
Status: newassigned
Summary: Chicken should not block units[PATCH] Chicken should not block units

by Stan, 9 years ago

Attachment: #3497.patch added

Assess the need.

by elexis, 9 years ago

Attachment: chicken.gif added

comment:2 by elexis, 9 years ago

Description: modified (diff)

by elexis, 9 years ago

Also makes rabbits passable. Swimming animals like sharks and whale might make sense too. All other land animals are bigger than that and should certainly block in my opinion.

comment:3 by Stan, 9 years ago

Owner: changed from Stan to elexis
Status: assignednew

comment:4 by historic_bruno, 9 years ago

The pathfinder-formation interaction is really broken now, in some cases they are forced to go far out of their way when the formation only needs to adapt a little.

This seems like an OK workaround in this case, and it's not a huge problem with the animals being so small, but ideally they would quickly flee out of the way of approaching units and the units wouldn't stay in such a rigid formation but "flow" around the obstacles.

Last edited 9 years ago by historic_bruno (previous) (diff)

comment:5 by wraitii, 8 years ago

Resolution: fixed
Status: newclosed

In 17166:

Make "no formation" the default setting but keep formations activated to help pathfinding in A19. Use at your own risk. Refs #3505 and #3565.

Also make rabbit, chicken and shark no longer obstruct movement, to further help with pathfinding. These may or may not be udpated later. Refs #3562. Fixes #3497.

comment:6 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.