Page 1 of 1

Forming square in the woods

Posted: Mon Apr 05, 2021 6:06 am
by ulysisgrunt
I'm fighting a game against an opponent who has a Scottish army. He was able to form square in the woods with spearmen...
Is this possible, or are we dealing with a bug in the program?

Re: Forming square in the woods

Posted: Tue Apr 06, 2021 6:24 am
by rbodleyscott
There is no code to prevent it.

I don't really see an issue with a unit forming a Severely Disordered square in a wood. (Or, I suppose, Disordered, if Medium Foot Picts/Scots)

Re: Forming square in the woods

Posted: Wed Apr 07, 2021 2:18 pm
by Cronos09
rbodleyscott wrote: Tue Apr 06, 2021 6:24 am There is no code to prevent it.

I don't really see an issue with a unit forming a Severely Disordered square in a wood. (Or, I suppose, Disordered, if Medium Foot Picts/Scots)
Why don't you use this script condition
if(IsOpen(meX,meY) == 1) && (IsTileEdgeDefendibleObstacle(meX, meY, x2, y2) == -1) in FUNCTION CHECK_ALL_FORMSQUARE(me, tilex, tiley)?
I think it would look more realistic in this case (impossible to form a square on rough ground, in the woods, marshes, behind fortifications, etc.)

Re: Forming square in the woods

Posted: Thu Apr 08, 2021 6:11 am
by rbodleyscott
Cronos09 wrote: Wed Apr 07, 2021 2:18 pm
rbodleyscott wrote: Tue Apr 06, 2021 6:24 am There is no code to prevent it.

I don't really see an issue with a unit forming a Severely Disordered square in a wood. (Or, I suppose, Disordered, if Medium Foot Picts/Scots)
Why don't you use this script condition
if(IsOpen(meX,meY) == 1) && (IsTileEdgeDefendibleObstacle(meX, meY, x2, y2) == -1) in FUNCTION CHECK_ALL_FORMSQUARE(me, tilex, tiley)?
I think it would look more realistic in this case (impossible to form a square on rough ground, in the woods, marshes, behind fortifications, etc.)
Obviously it is not a coding issue, it would indeed be simple to code if I thought it was necessary.

Re: Forming square in the woods

Posted: Thu Apr 08, 2021 2:24 pm
by Ray552
If the soldiers have received enough training to be able to form square in open terrain, why wouldn't they be able to do so in rough terrain, woods, or anywhere else?

Unless it was so dark they couldn't see what they were doing :-)

As already mentioned, the square would still be moderately or severely disordered.

Just my opinion.

Re: Forming square in the woods

Posted: Tue Apr 20, 2021 10:36 am
by Cunningcairn
ray552 wrote: Thu Apr 08, 2021 2:24 pm If the soldiers have received enough training to be able to form square in open terrain, why wouldn't they be able to do so in rough terrain, woods, or anywhere else?

Unless it was so dark they couldn't see what they were doing :-)

As already mentioned, the square would still be moderately or severely disordered.

Just my opinion.
A square is a defensive close formation meant to protect troops that have no physical structures to assist them. Troops would not form or be trained to form any close formation in terrain such as woods. If they were trained to fight in woods it would not ne necessary to form square anyway. It makes no sense to allow them to form square in difficult going.