Cohesion Test and Big Units

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
StuccoFresco
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 590
Joined: Sun Feb 10, 2019 11:10 am

Cohesion Test and Big Units

Post by StuccoFresco »

Hello all, I'm interested on giving a re-roll bonus to Cohesion Tests to really big units. How can I do it?

I tried adding the *bold* lines to a dopied MoraleTools.BSF I dropped in my custom campaign folder:

Code: Select all

	
	[b]if (strength > 2999)
		{
			modifiers += 1;
			Log("Extremely Deep Ranks +1", me);
		}
	
	if (strength > 1999)
		{
			modifiers += 1;
			Log("Deep Ranks +1", me);
		}
[/b]
	if (strength < 3 * quarter)
		{
			modifiers -= 1;
			Log("Below 75% strength -1", me);
		}

	if (strength < 2 * quarter)
		{
			modifiers -= 1;
			Log("Below 50% strength -1", me);
		}
Will this work? Will it give units with more than 2999 men +2 to the cohesion test or just +1?

Also, is it true that Above Average gets no bonus/reroll during Cohesion Tests? In the manual there is nothing about it, only for Untrained, Superior and Elite.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28015
Joined: Sun Dec 04, 2005 6:25 pm

Re: Cohesion Test and Big Units

Post by rbodleyscott »

StuccoFresco wrote: Sat Mar 28, 2020 2:51 pm Hello all, I'm interested on giving a re-roll bonus to Cohesion Tests to really big units. How can I do it?

I tried adding the *bold* lines to a dopied MoraleTools.BSF I dropped in my custom campaign folder:

Code: Select all

	
	[b]if (strength > 2999)
		{
			modifiers += 1;
			Log("Extremely Deep Ranks +1", me);
		}
	
	if (strength > 1999)
		{
			modifiers += 1;
			Log("Deep Ranks +1", me);
		}
[/b]
	if (strength < 3 * quarter)
		{
			modifiers -= 1;
			Log("Below 75% strength -1", me);
		}

	if (strength < 2 * quarter)
		{
			modifiers -= 1;
			Log("Below 50% strength -1", me);
		}
Will this work? Will it give units with more than 2999 men +2 to the cohesion test or just +1?
It looks like it will give them +2
Also, is it true that Above Average gets no bonus/reroll during Cohesion Tests?
No they get a chance of a reroll proportional to how close to Superior they are.
Richard Bodley Scott

Image
StuccoFresco
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 590
Joined: Sun Feb 10, 2019 11:10 am

Re: Cohesion Test and Big Units

Post by StuccoFresco »

Thank you very much. During my tests it indeed seemed the big units were harder to rout as intended, but it's nice to have a confirmation.
Post Reply

Return to “Modders Corner”