I have most of the new door feature implemented. You can see how the feature works in the game in the linked video below.
- Soldiers can open and close doors from either side using the open/close door button in the HUD.
- Opening/closing a door costs 3 AP
- The player can drag a path though doorways and when executed it will open doors automatically. A open door icon is shown at closed doors.
- The path takes into account the open door position (i.e. door behaves like a wall after opened)
- If a soldier is behind an inward-opening door then you will not be able to open it
- If an unknown enemy is behind a door, the player will be allowed to try to open the door. The enemy becomes visible after trying to open
- If AI sees a soldier and then he hides and there is a door nearby, the the AI will assume that the soldier is behind the door
- AI may try to open door, or try to enter building from a different entrance, or wait at door exit on overwatch
- If a soldier opens door and there is AI on overwatch, the interrupt will trigger sooner than a normal interrupt