Adjudication of melees

Byzantine Productions Pike and Shot is a deep strategy game set during the bloody conflict of the Thirty Years War.

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
CharlesdeBatz
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Sun Jul 11, 2021 5:41 pm

Adjudication of melees

Post by CharlesdeBatz »

Is there a defined order in which melees are adjudicated? There are frequently cases where multiple units are involved in adjacent melees; in these instances, the order in which adjudication occurs can substantially affect the outcome.
SnuggleBunnies
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2891
Joined: Tue Apr 07, 2015 2:09 am

Re: Adjudication of melees

Post by SnuggleBunnies »

CharlesdeBatz wrote: Wed Aug 18, 2021 7:33 pm Is there a defined order in which melees are adjudicated? There are frequently cases where multiple units are involved in adjacent melees; in these instances, the order in which adjudication occurs can substantially affect the outcome.
I believe it is ongoing melees in the order that they were originally started, with all pursuit charges after that.
MP Replays:
https://www.youtube.com/channel/UCjUQy6dEqR53NwoGgjxixLg

Pike and Shot-Sengoku Jidai Crossover Mod:
https://www.slitherine.com/forum/viewtopic.php?t=116259

Middle Earth mod:
https://www.slitherine.com/forum/viewtopic.php?p=1029243#p1029243
CharlesdeBatz
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Sun Jul 11, 2021 5:41 pm

Re: Adjudication of melees

Post by CharlesdeBatz »

So even within a single turn, if unit A charges before unit B, unit A will always have its melee adjudicated before B in the subsequent melee phases?
SnuggleBunnies
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2891
Joined: Tue Apr 07, 2015 2:09 am

Re: Adjudication of melees

Post by SnuggleBunnies »

CharlesdeBatz wrote: Thu Aug 19, 2021 5:04 pm So even within a single turn, if unit A charges before unit B, unit A will always have its melee adjudicated before B in the subsequent melee phases?
I believe that is the case, yes. But I have not actually looked into the code to confirm, that is just my impression from large amounts of play. I suppose if you really wanted to, you could *very* carefully watch one of my recorded matches to check.
MP Replays:
https://www.youtube.com/channel/UCjUQy6dEqR53NwoGgjxixLg

Pike and Shot-Sengoku Jidai Crossover Mod:
https://www.slitherine.com/forum/viewtopic.php?t=116259

Middle Earth mod:
https://www.slitherine.com/forum/viewtopic.php?p=1029243#p1029243
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28309
Joined: Sun Dec 04, 2005 6:25 pm

Re: Adjudication of melees

Post by rbodleyscott »

It isn't as simple as that, it depends on whose turn it is. When a unit is fighting multiple opponents, in the melee phase of its turn (before it moves) then indeed its melees will be adjudicated in the order they were initiated. However, in the melee phase of the enemy turn (before the enemy move) it will be determined by the same applying to each enemy unit.

The actual order in which units are activated in the melee phases is indeterminate - the order is chosen by the engine according to an arcane black box algorithm. I do not have access to the engine source code, so I cannot tell you how it works.
Richard Bodley Scott

Image
Post Reply

Return to “Pike & Shot”