Opened 9 years ago

Last modified 4 years ago

#3394 closed defect

Violent units follow enemies through the fog of war — at Version 3

Reported by: elexis Owned by:
Priority: Must Have Milestone: Alpha 24
Component: Simulation Keywords:
Cc: Patch: Phab:D2698

Description (last modified by Freagarach)

According to UnitAI.js:

respondChaseBeyondVision: start chasing, and don't stop even if it's out of this unit's vision range (though still visible to the player)

However the enemy units are also followed if they have reached the fog of war and are invisible to the player. The violent units seem to just follow the path of the enemy (instead of walking the shortest / direct path to the current enemy location).

Reproduce: (1) make men violent (2) Alt+D, enable the change-perspective tool (3) move an enemy cavalry in range of the violent men and run away

Since the cavalry can run faster than the soldiers can walk, the enemy cavalry is soon invisible to the player. You can then move whereever you want to, the violent men will always find you (kinda creepy).


A second thing which I'm not sure about:

Aren't violent men supposed to attack all enemies if any of the players units sees that enemy? Currently the violent guys only attack units in vision range.

Change History (3)

comment:1 by elexis, 9 years ago

Sounds similar to #1832

comment:2 by Imarok, 5 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

comment:3 by Freagarach, 4 years ago

Description: modified (diff)
Milestone: BacklogWork In Progress
Patch: Phab:D2698
Priority: Should HaveMust Have
Note: See TracTickets for help on using tickets.