BattleMaster Community

BattleMaster => Helpline => Topic started by: Velax on June 22, 2011, 07:37:49 PM

Title: Archer targeting weirdness
Post by: Velax on June 22, 2011, 07:37:49 PM
Seems like I've found yet another...oddity when it comes to archer targeting.

Recently (this turn) there was a battle in Nahad in the Far East. During the first turn, one of the Arcaean ranged special forces units that started in the front row "moved closer to get better shots". Not out of the ordinary. What was out of the ordinary, was that this apparently caused every enemy ranged unit (6 of them) to target that unit, despite the fact that 23 Arcaean infantry units that started in the front row also moved forward.

So I'm assuming that because ranged movement and attacking occurs before infantry movement, the special forces unit was considered to be in front of every other unit and so was targeted by every enemy ranged unit? Am I reading that correctly? Will that be fixed in the upcoming ranged unit changes I remember reading about? It wasn't my unit, but I imagine it sucks rather heavily to have 27 out of your expensive 30-man SF unit nailed in the first turn due to something like that.

Battle in Nahad: [Scribe:226427|c67e9d56586708cd]
Title: Re: Archer targeting weirdness
Post by: Fleugs on June 22, 2011, 07:40:16 PM
I lol'd.
Title: Re: Archer targeting weirdness
Post by: Foundation on June 22, 2011, 07:59:18 PM
Hmm, I agree that certainly doesn't make sense.  It depends on whether there are priorities such as ranged targeting ranged or something else.
Title: Re: Archer targeting weirdness
Post by: Anaris on June 23, 2011, 04:08:36 PM
Yes, that might well have to do with the order in which things happen in the combat script.

Not sure there's a lot to be done about it short of a wholesale overhaul of the script.  Which is probably needed, but not going to happen soon.
Title: Re: Archer targeting weirdness
Post by: Vaylon Kenadell on June 30, 2011, 11:48:26 AM
I'm going to test the new code a bit. Just to make sure I understand range right -- if there is an enemy on the front lines, and your archers have a range of 4 and deploy in the back, they -should- be able to hit the enemy, right? The wiki is characteristically unclear on what range means. Example:

(http://home.comcast.net/~vaylon/example.png)

Or does range of 4 mean they can only hit three squares away?
Title: Re: Archer targeting weirdness
Post by: Indirik on June 30, 2011, 02:16:26 PM
Range 4 means they can hit something 4 ranks away. The rank you are in does not count. Someone in the rank right next to you is Range 1, etc.
Title: Re: Archer targeting weirdness
Post by: Vaylon Kenadell on June 30, 2011, 06:39:30 PM
I tested it just now, and I'm rather dismayed at the results.

What determines whether or not a unit of archers retreat? My archers don't always retreat when they lack infantry cover.
Title: Re: Archer targeting weirdness
Post by: Anaris on June 30, 2011, 06:44:23 PM
I tested it just now, and I'm rather dismayed at the results.

What determines whether or not a unit of archers retreat? My archers don't always retreat when they lack infantry cover.

Could you please elaborate? I'd like to see what the behaviour of the new code looks like, and I don't currently have a character in a position to test it.
Title: Re: Archer targeting weirdness
Post by: fodder on June 30, 2011, 07:04:40 PM
http://www.mediafire.com/?xb24dmtsvee27mt 
<--- nothing particularly strange with this one... aside from monsters and infantry charging right through each other.... (poor infantry XD)
----
apparently same as the one below...
Title: Re: Archer targeting weirdness
Post by: Vaylon Kenadell on June 30, 2011, 07:10:13 PM
Could you please elaborate? I'd like to see what the behaviour of the new code looks like, and I don't currently have a character in a position to test it.

Here's the battle scribe note (http://battlemaster.org/ShowScribeNote.php?ID=162121&Hash=cace031b2b7291d9).

Two of our archer units (including mine) retreated because they didn't have infantry cover -- but in previous battles, my archers stayed on the field and continued to fight even though they were the sole unit on the field.
Title: Re: Archer targeting weirdness
Post by: Anaris on June 30, 2011, 07:15:57 PM
Here's the battle scribe note (http://battlemaster.org/ShowScribeNote.php?ID=162121&Hash=cace031b2b7291d9).

That's all very well, but I at least need to know what continent it was on ;)
Title: Re: Archer targeting weirdness
Post by: Vaylon Kenadell on June 30, 2011, 07:19:11 PM
Sorry -- it was on Dwilight.
Title: Re: Archer targeting weirdness
Post by: Anaris on June 30, 2011, 07:24:25 PM
Two of our archer units (including mine) retreated because they didn't have infantry cover -- but in previous battles, my archers stayed on the field and continued to fight even though they were the sole unit on the field.

There's a certain amount of randomness in this, as in many BM behaviours. 
Title: Re: Archer targeting weirdness
Post by: Vaylon Kenadell on June 30, 2011, 07:53:59 PM
There's a certain amount of randomness in this, as in many BM behaviours.

Is there anything I can do to lower the chance of my archers running from the field? (Besides infantry, of course.)
Title: Re: Archer targeting weirdness
Post by: Anaris on June 30, 2011, 07:55:34 PM
Is there anything I can do to lower the chance of my archers running from the field? (Besides infantry, of course.)

Keep their morale up.
Title: Re: Archer targeting weirdness
Post by: fodder on June 30, 2011, 08:45:12 PM
mine (the ones that didn't retreat) were dug in and had 100% morale