• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Sigil

Captain
11 Badges
Feb 28, 2018
329
31
  • Stellaris
  • BATTLETECH
  • Age of Wonders III
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
Generally, the AI only fires a single weapon at targets with 4+ pips of evasion regardless of how many weapons it has or what its heat level is at. This can effectively reduce a 100-ton Atlas to the equivalent firepower of 20-ton Locust.

Where is this behavior controlled and is there, or could there be, a mod which changes this behavior?
 
I found the following two settings in the global.json file. Not sure what exactly the second one controls and I'm not sure if it will result in the change I'm looking for, but you gotta start somewhere...


/* Evasive "to hit" floor - if the to-hit is below this
percentage (0.0 - 100.0), only shoot a single
"conservative" shot. Note: ignored for attackers that
are not mechs. */
"k" : "Float_EvasiveToHitFloor",
"v" : {
"type": "Float",
"floatVal" : 15.0 [Default value: 40]

/* When predicting whether an attack will strip a pip,
compare the attack hit probability to this
threshold. Attacks with a lower probability than this
will not be considered to strip an evasive pip. */
"k" : "Float_PipStripAttackProbabilityThreshold",
"v" : {
"type" : "Float",
"floatVal" : 0.60 [Default value: 75]
 
  • 1Like
Reactions:
Yep, you're on the right track there. If you set the first one to just 0 it will likely ignore that entire branch and just fire whatever it feels acceptable. I can see this going a little off if something like a STK or anything that runs hot blowing a first round alpha at some 7pip braced scout unit. But it's worth testing with. My Better AI mod pushed this down to around 30.

The second one I think is a bit of a vestige from when they might have had a mechanic that only stripped a pip if you hit the enemy, where now 100% of the fire does. I edited this one to 0.1 in my Better AI mod.

Here's the link to my old Better AI thread: https://forum.paradoxplaza.com/forum/threads/mod-release-better-ai-tweaks-for-deadlier-ai.1075322/ A lot of useful links and stuff there. The google sheet is super useful and the stock parts of the sheet I've updated to 1.9.1.

I'm currently getting back in to modding and actively working on bringing cFixes and Better AI up to 1.9.1.
 
  • 2Like
Reactions: