Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1796 closed defect (fixed)

Doors stay open when garrisoned troops too close

Reported by: frapell Owned by: leper
Priority: Must Have Milestone: Alpha 14
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Doors automatically open when troops approach at a certain distance. If "inside" this distance, there's a tower, and you have troops garrisoned, then door will stay open.

Try Acropolis 7 map, and garrison troops inside the towers next to the door.

Attachments (1)

quicksave-0531.0adsave (343.9 KB ) - added by zoot 11 years ago.
Saved on this revision: https://github.com/0ad/0ad/commit/f1504333fd879ae2297bdd6847d71f72b7b0ae83

Download all attachments as: .zip

Change History (8)

comment:1 by zoot, 11 years ago

I cannot reproduce this. I don't even have gates on Acropolis 7?

comment:2 by Erik Johansson, 11 years ago

Update SVN if you don't have gates on Acropolis 7 zoot.

I could reproduce this once, but not in subsequent tries, so it seems like it's something very specific.

comment:3 by frapell, 11 years ago

I noticed the problem when playing at that specific map and having some units garrisoned on the towers next to the door... after both comments, i tried to reproduce it again on another map, "Acropolis 1", and i couldn't, so maybe is something specific on how the towers and the doors were created from the map editor ?

comment:4 by zoot, 11 years ago

Component: Core engineUI & Simulation

comment:5 by zoot, 11 years ago

I can reproduce this consistently now:

  1. Select a GROUP (i.e. formation) of soldiers.
  2. Position them inside a gate's opening radius, such that the gate opens.
  3. Order them to garrison in one of the towers immediately adjacent to the gate, such that their path towards the tower entrance at no time departs from the gate's opening radius; that is, the gate must remain open at all times while they are garrisoning.

What happens: The gate remains open even after all the selected soldiers has garrisoned in the tower.

What should happen: The gate should close, just as it does if you garrison the units one by one or from an angle that doesn't cause the gate to open.

(See the savegame below for this error happening on Acropolis 7.)

Last edited 11 years ago by zoot (previous) (diff)

comment:6 by leper, 11 years ago

Owner: set to leper
Resolution: fixed
Status: newclosed

In 13484:

Prevent formation controllers from showing up in range queries. Fixes #1796.

comment:7 by fabio, 11 years ago

Milestone: BacklogAlpha 14
Note: See TracTickets for help on using tickets.