Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2783 closed defect (fixed)

Some units refuse to gather food from animals

Reported by: serveurix Owned by: mimo
Priority: Must Have Milestone: Alpha 17
Component: UI & Simulation Keywords: camel, meat, gather, idle
Cc: Patch:

Description (last modified by serveurix)

When I play egyptians, sometimes camels refuse to gather food from sheep. They go to the sheep, kill it, and then stay idle next to it, incapable of grabbing the food.

This is not automatic, at the beginning of the game camels have no problem gathering food from the chicken and the first sheep. After a few minutes of gaming I see the first camels staying idle next to dead sheep, while other camels can gather without problem.

I first thought it was an obstruction problem, because when a camel gathers meat, he usually goes next to the sheep to kill it, and then move forward and gathers the meat while he's slightly over the corpse, and idle camels seem not to be able to go over the corpse to gather from it (because of uneven terrain or some obscure reason). But this happens for some units and not for others, it can happen on even or uneven ground, so I don't know.

I see this happening quite often with camels, I've seen it happening with cavalry settlers too, but this was a long time ago and I haven't reproduced it. (update: it happens with every animal, not just sheep, see : http://pix.toile-libre.org/upload/original/1410167890.png )

Attachments (1)

0adlogs.tar.xz (31.1 KB ) - added by serveurix 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by serveurix, 10 years ago

Description: modified (diff)

comment:2 by Itms, 10 years ago

Component: Core engineUI & Simulation
Priority: Release BlockerMust Have

Could you provide a commands.txt for a game where you experienced that? Thanks is advance :)

comment:3 by serveurix, 10 years ago

Description: modified (diff)

by serveurix, 10 years ago

Attachment: 0adlogs.tar.xz added

in reply to:  2 comment:4 by serveurix, 10 years ago

Replying to Itms:

I've found the commands.txt based on the file creation time, I hope it's the good one.

comment:5 by mimo, 10 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 15720:

fix #2783

comment:6 by mimo, 10 years ago

Milestone: BacklogAlpha 17

The problem arised when the unit was promoted. The obstruction was increased from 1 to 2.5 (why so much ?) while the gathering range was 2. In the fix, I've changed the obstruction of the promoted unit to 1.6 and increased its range gathering to 3 (quite arbitrarily).

Note: See TracTickets for help on using tickets.