Page 1 of 1

Where do you want to stand in the enemy line?

Posted: Tue May 26, 2020 1:59 pm
by Surt
At the flanks? at the back? no in the middle and you will never get hit (unless your alone)

Re: Where do you want to stand in the enemy line?

Posted: Wed May 27, 2020 8:56 am
by Pocus
Not sure I would not prefer to die rapidly from a rain of arrows instead of being trampled by a gazillion of horses ...

Re: Where do you want to stand in the enemy line?

Posted: Wed May 27, 2020 10:49 am
by Surt
Pocus wrote: Wed May 27, 2020 8:56 am Not sure I would not prefer to die rapidly from a rain of arrows instead of being trampled by a gazillion of horses ...
The idea is that the middle unit (shown only with yellow on the ground) never(?) gets hit (unless alone) in the shown case the unit left of the gets hit by 6-7 missiles. The units shown orange are targets.

Ps. I guess there is a problem with the first unit placed on the battlefield, unit zero, and it therefore does not get hit by missiles.
To reproduce, take any battle with multiple missile units and at least 3 units on each side.

Re: Where do you want to stand in the enemy line?

Posted: Wed May 27, 2020 11:17 am
by defekt
Well observed!

I'm going to be watching out for this now.

Re: Where do you want to stand in the enemy line?

Posted: Wed May 27, 2020 12:27 pm
by Pocus
That's the same line of code determining who to hit if alone and who to hit if more than one ... So that would be surprising!

Skirmishers are more often hits than others, so perhaps the central square having the less chance of receiving a skirmisher, it might explains the skewed stats.

Re: Where do you want to stand in the enemy line?

Posted: Wed May 27, 2020 8:34 pm
by Surt
We all hit the same guy
What are the odds.JPG
What are the odds.JPG (76.24 KiB) Viewed 1935 times

Re: Where do you want to stand in the enemy line?

Posted: Wed May 27, 2020 8:34 pm
by Surt
double post, where is the delete bottom?

Re: Where do you want to stand in the enemy line?

Posted: Thu May 28, 2020 1:40 am
by Gray Fox
The commander should stand where he can see the whole battle. Then move to the point of decision when the hammer falls. Join the fight as needed. Lead by example.

Hoka hey! (Hurry, hurry!)

Today is a good day to die!
;)

Re: Where do you want to stand in the enemy line?

Posted: Mon Jun 01, 2020 1:23 pm
by Pocus
I'll check if there is nothing wrong here ... just in case

Re: Where do you want to stand in the enemy line?

Posted: Mon Jun 01, 2020 5:33 pm
by Surt
Pocus wrote: Mon Jun 01, 2020 1:23 pm I'll check if there is nothing wrong here ... just in case
I've tested it all weekend not once in 100s combat was the middle one hit.
Aim for the middle one!
Aim for the middle one!
AimForMiddle.JPG (106.19 KiB) Viewed 1832 times
The odds are (2/3)^17 for this one.

Re: Where do you want to stand in the enemy line?

Posted: Tue Jun 02, 2020 8:25 am
by Pocus
Fixed!

Image

Re: Where do you want to stand in the enemy line?

Posted: Tue Jun 02, 2020 9:18 am
by Surt
Nice!

Re: Where do you want to stand in the enemy line?

Posted: Tue Jun 02, 2020 1:08 pm
by primevalangel
Pocus wrote: Tue Jun 02, 2020 8:25 am Fixed!
Finally! I can confirm it was a general issue, present in all my battles, and thought it was another stupid balance "feature". Glad it was actually a (not-intended) bug, and it is now gone/fixed, and the game is even more realistic now. Thanks to Surt and Pocus.

Re: Where do you want to stand in the enemy line?

Posted: Fri Jun 05, 2020 1:36 pm
by Surt
Of pure professional interest what was the error? from my last picture I would get something like this

hit = rng(units)-1; // for 3 units 0,1,2
hit = clamp(hits, 1, units); // 1,1,2

as the right units got hit with what looks like all the middles hits.

Re: Where do you want to stand in the enemy line?

Posted: Sun Jun 07, 2020 9:21 am
by Pocus
It was Dice(Count-1) and not Dice(Count)-1
So index 0 would never be targeted