Effectiveness/accuracy stats for 120mm mortars

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Effectiveness/accuracy stats for 120mm mortars

Post by GottaLove88s »

Are effectiveness/accuracy for mortar and artillery bombardment entirely controlled by squads.csv?

I've noticed that the German 120mm mortar is a killer, pretty much regardless of cover, forest, trenches, sandbags, highly accurate and deadly, taking out 3-4 fully healthy infantry troops in a single shot.

In comparison, bombardment from a Russian ZiS3 76mm is a much more random affair, frequently entirely missing the targeted square but splatting around it a few times... and even when a ZiS3 shot actually lands on target, it never kills and has very little morale impact on the enemy.

Am wondering whether the bombard code is executed the same way for a mortar vs a ZiS3 artillery gun? Are effectiveness/accuracy controlled by squads.csv? Or is there more to this?

I plan to rebalance the Seelow Heights scenario -> viewtopic.php?f=313&t=55132

Thanks!
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
pipfromslitherine
Site Admin
Site Admin
Posts: 9923
Joined: Wed Mar 23, 2005 10:35 pm

Re: Effectiveness/accuracy stats for 120mm mortars

Post by pipfromslitherine »

If the ZiS3 is a bonus (off map) then the code is indeed different to the mortar code. Each bonus has its own code (although e.g. all the artillery feeds values into the same bombard function), while the mortar is (IIRC) a normal indirect fire weapon. The bonuses are scripted in CORE/BONUS while the indirect fire code is in DATA/BATTLE/SCRIPTS/INDIRECT*.BSF

Cheers

Pip
follow me on Twitter here
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Effectiveness/accuracy stats for 120mm mortars

Post by GottaLove88s »

pipfromslitherine wrote:If the ZiS3 is a bonus (off map) then the code is indeed different to the mortar code. Each bonus has its own code (although e.g. all the artillery feeds values into the same bombard function), while the mortar is (IIRC) a normal indirect fire weapon. The bonuses are scripted in CORE/BONUS while the indirect fire code is in DATA/BATTLE/SCRIPTS/INDIRECT*.BSF

Cheers

Pip
Thanks Pip, Both the Zis3 and the 120mm mortar are actual on-board units... Does that mean that they both bombard using the identical INDIRECT.BSF code? So the key difference is somewhere in SQUADS.CSV?

(Fab game btw... Tried so hard not to be enticed out of retirement... )
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Post Reply

Return to “Battle Academy 2: Modders Corner”