Opened 13 years ago

Closed 10 years ago

#797 closed enhancement (fixed)

Allow archers to move on top of the walls

Reported by: frapell Owned by:
Priority: Nice to Have Milestone: Alpha 17
Component: UI & Simulation Keywords:
Cc: Patch:

Description

When building defenses with walls and towers, you place archers on these towers and they stay there. What i propose here, is, you build walls and towers, and for each tower, the amount of possible archers increase by say, 5, in the whole set of walls and towers (provided they are all built together as a whole). Archers do not need to stay inside the towers, they can move over the walls, so they can fire from any place in the wall, or get to another tower and fire from there.

With this, it will not happen that you will get a lot of towers built on parts where the enemy never gets, and you have a lot of archers there, doing nothing.

Perhaps it is something you can allow archers to do or not, if they stay inside a specific tower, they get the extra protection the tower gives, but they are stuck there and cannot move. On the other hand, if they can move, they can be killed if they stay over the wall, but they are able to move.

Attachments (1)

units_on_walls.diff (6.7 KB ) - added by sanderd17 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Erik Johansson, 13 years ago

We'll definitely have archers on walls, units moving on walls seems harder though so we can't guarantee that it will happen.

comment:2 by sanderd17, 11 years ago

WIP

It implements the ability to ungarison from a tower to a wall by setting the rallypoint on the wall. Currently, only the Iberian long wall has this possibility (which is enough for testing). There are still a lot of problems with it:

  • Units can go "flying" when they accidentally ungarrison next to the wall instead of on it. They keep flying until they garrison again
  • Units that promote while being on the wall also go flying reported in #2004
  • This method will never work for gates (converting the wall to a gate currently drops the units on it to the ground)
  • The pathfinder sometimes causes problems (walls are tight), sometimes units are able to pass, other times they aren't. The new pathfinder seems to do a better job.
  • It only works when the wall is damaged (I need to figure out how to get the target when you can't do anything with it). But this should be an easy fix when I find the right method.
  • When the wall is destroyed, they're also dropped to the ground
  • Having melee units on the walls makes no sense. So there should be extra checks about what units are allowed on the walls.
  • Melee units with a long range can do damage to ranged units on the walls see #2001

Currently, the units are physically on the wall, so they're still selectable, and vulnerable. Extra armour could be given to simulate the protection from the wall (but no 100% armour, as they're more vulnerable than in a tower).

Serialization of data also isn't implemented.

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

by sanderd17, 11 years ago

Attachment: units_on_walls.diff added

comment:3 by sanderd17, 10 years ago

Component: Core engineUI & Simulation
Milestone: BacklogAlpha 17
Resolution: fixed
Status: newclosed

Fixed in r15246 (sortof).

Note: See TracTickets for help on using tickets.