Longer battles (increased victory percentage required)

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
RBC831
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Mon Jun 06, 2022 11:35 pm

Longer battles (increased victory percentage required)

Post by RBC831 »

Hi all,

Is there a way to mod for longer battles, in MP Skirmish PBEM mode? We would like to increase from 60%/40% to say 80%/60%, to allow for those might and glorious comeback wins!

Cheers, Blair
Athos1660
Major-General - Elite Tiger I
Major-General - Elite Tiger I
Posts: 2670
Joined: Wed May 29, 2019 3:23 pm

Re: Longer battles (increased victory percentage required)

Post by Athos1660 »

As is, I guess you can continue the skirmish after achieving VC and see if the loser comes back.

I doubt such comebacks are possible as the VC are already very severe but I must admit I have never tried it and 99.99% of the time I have stopped at VC and 0.01% of the time a couple of turns later.
Cronos09
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 326
Joined: Thu Feb 22, 2018 4:28 pm

Re: Longer battles (increased victory percentage required)

Post by Cronos09 »

RBC831 wrote: Mon Nov 11, 2024 11:43 pm Hi all,

Is there a way to mod for longer battles, in MP Skirmish PBEM mode? We would like to increase from 60%/40% to say 80%/60%, to allow for those might and glorious comeback wins!

Cheers, Blair
These figures can be changed for skirmishes in each MP module in CAMPAIGN.BSF file. These changes should be done in your module and in your opponent's module and in ...\Documents\My Games\PSCAMP\MULTIPLAYER\ folder.
We have now:

// Initialise campaign variables

FUNCTION INIT_CAMPAIGN()
{
SetCampaignVar("BreakPoint1", 60);
SetCampaignVar("BreakPoint2", 40);

// uses uninitialised memory at this point, and also doesn't work
// universals are reset at the start of every battle.
// SetUniversalVar("RoutedSide", -1);
}


Change like this:

// Initialise campaign variables

FUNCTION INIT_CAMPAIGN()
{
SetCampaignVar("BreakPoint1", 40);
SetCampaignVar("BreakPoint2", 20);

// uses uninitialised memory at this point, and also doesn't work
// universals are reset at the start of every battle.
// SetUniversalVar("RoutedSide", -1);
}
RBC831
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Mon Jun 06, 2022 11:35 pm

Re: Longer battles (increased victory percentage required)

Post by RBC831 »

Many thanks, super helpful!!
Post Reply

Return to “Pike & Shot”