Opened 9 years ago

Closed 8 years ago

#91 closed defect (fixed)

liche problems

Reported by: anonymous Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:


If liche is given an attack order and there are other potential targets on the way then it will fire at whatever is nearest (and not wait for its proper target to get in range). I think this was caused by something in [803] ;)

Change History (5)

comment:1 by beherith, 9 years ago

I may have missed the commandfire option. Maybe could be worked around by setting it to hold/return fire?

comment:2 by Bluestone, 9 years ago

I tried setting commandfire=true and it didn't solve it. I haven't tried hold fire yet although I imagine that would do it, but imho it shouldn't do this when set to fire at will either.

I tried quite a few combinations of things when I was working on this, and eventually gave up and resorted to changing weapontype.

Last edited 9 years ago by Bluestone (previous) (diff)

comment:3 by Bluestone, 8 years ago

Tried setting to hold fire and it didn't seem to change anything (liche has no firestate toggle in game so i set it manually in unitdefs).

Last edited 8 years ago by Bluestone (previous) (diff)

comment:4 by Bluestone, 8 years ago

Something wierd: If you (set commandfire=true) then it won't attack automatically and it behaves proprely when attacking units (of any team); but then it also won't attack the ground when asked too. BUT, in a wierd way: (1) if you give a ground attack order to a point a long way away then it fliew over but doesn't fire (2) if you tell it fly over with a move vommand and then tell it to attack a piece of ground directly below it, it fires instantly.

Makes me wonder if the engine treats commandfire correctly - I did remember to canattackground=true.

Last edited 8 years ago by Bluestone (previous) (diff)

comment:5 by Bluestone, 8 years ago

Resolution: fixed
Status: newclosed

Fixed, with any luck, in [859].

Note: See TracTickets for help on using tickets.