Skip to content
#189
Auto-translated
Ergon
No screenshot is needed here. In the second game, there is a clear algorithm: if monsters can reach the ranged units, they attack them; then, flying units attack; and if there is nothing like that, then the ground units attack. Moreover, the strongest unit is attacked; if there is a choice, then, for example, Titans and Dragons are targeted first. There must be some attack algorithm in the first game as well. Regarding ranged units, it seems clear. But it seems that there is no such thing for flying units. For example, I placed a Pikeman and a Unicorn, and it attacked the Horseman. If the Pikeman moves forward and can reach the Sprite or Unicorn, will it definitely go the shortest way, or will it just go wherever it looks? And similarly, which units will flying units attack first? I will, of course, figure this out myself, but it is not always possible to implement the full diversity of situations.

Indeed, there is such an algorithm in the first game (and it is not mentioned in the manual), and it is different from the second game and the other parts! To create some excitement, I will say that there are situations when the computer will never attack ranged units controlled by the player!:smile13:
I am also working on this issue..., but the material is not ready yet, and frankly, there is not enough time to describe all the moments. :o

P.S. 5 points for the question! Thank you!

Sincerely, VDV_forever

Statistics

Welcome our newest member: dodoD0D0

Users Online 0 users 1442 guests

The tavern is quiet... be the first to arrive!