BattleTech
0 of 0

File information

Last updated

Original upload

Created by

RealityMachina aka me

Uploaded by

Lad09

Virus scan

Safe to use

About this mod

Introduces a basic panic system for MechWarriors, both yours and the enemy's.

Requirements
Permissions and credits
Changelogs
Basic Panic System
ModTek mod that adds a basic panic system for MechWarriors, both playable and non-playable into the game. Forked from mpstark's PunchinOut mod (https://github.com/Mpstark/PunchinOut).

Installation
The latest version is designed for the official mod loader of Battletech introduced in Patch 1.8.
Place the mod folder inside the game's mod folder:

WIN: C:\Users\user_name\MyDocuments\MyGames\BattleTech\mods
LIN: /home/user_name/MyGames/BattleTech/mods
OSX: /Users/user_name/MyGames/BattleTech/mods

If the above folder doesn't exist, you need to start Battletech to have it create the folder.

If you get a message about needing to overwrite the folder, click yes: either you're updating the mod (in which case you should be replacing it),
or you're installing another mod from me, in which case your OS should be smart enough to merge the conflicting folders.

General Details
There are four states for a pilot to be in: Normal, Fatigued, Stressed, and Panicked.

Every time a pilot has their mech take an attack, they roll for panic. This roll is increased in strength by how powerful the attack was, where it hit, how damaged the pilot's mech is in terms of armour and structure, is the rest of their lance dead or gone, etc. It is decreased by a pilot's tactics and guts scores, and their team's morale.

If this roll succeeds, they are then knocked down to the next lower state. Once they hit Panicked, they then start rolling for ejection chances. This is affected by the same things as mentioned above.

By default, pilots can only get worse in panic states once per turn, to prevent runaway panic attacks from multiple mech attacks.

For panic recovery, as long as a pilot avoids failing another roll while they're under a panic state, they recover one state up (ie Panicked -> Stressed, or Fatigued -> Normal)

A typical chain of events under this system is thus something like Normal at start -> Turn 1 during enemy action: takes hit, downgrades to Fatigued -> Turn 2: manages to avoid failing a panic roll -> Turn 3 on pilot's movement: hits Normal again

Advanced Details
By default:

The player character always gets to resist automatically ejecting.
There's always a chance to drop down a panic state.
Panic state changes are gated to once per round.
The maximum panic resist is 15. (The roll for this is a D20)

The highest the chance to auto eject from an attack can be is 50%.

Everybody gets 10 points of ejection resistance. Every point of guts adds 2 points, every point of tactics adds 1 point.

Unsteady adds +5 to ejection chance from an attack.

Injuries affect ejection chance, to the point that maximum injuries add +10 to ejection chance from an attack.

Taking damage to a mech's head can increase chance of ejecting from that attack, up to +10.

Taking damage to a mech's center torso can increase chance of ejecting from that attack, up to +10.

Taking damage to a mech's side torsos, if their internals have been hit, can increase chance of ejecting from that attack, up to +10.

If a mech has lost a leg, it adds +10 to ejection chance from an attack.

If a mech takes enough damage that it could potentially die from another attack like that, it adds +15 to ejection chance from an attack.

If a mech lacks any usable weapons, it adds +15 to ejection chance from an attack.

If a mech is the last survivor, it adds +20 to ejection chance from an attack.

Panic Effects
Fatigued pilots by default, experience -5 to their hit chances.

Stressed Pilots by default, experience -10 to their hit chances, and are 5% more likelier to be hit due to improper piloting.

Panicked Pilots by default, experience -15 to their hit chances, and are 5% more likelier to be hit due to improper piloting. They roll for ejection every time they're hit while in this state.

Special Cases
Pilots with one point of HP left, have no weapons remaining, or are the last survivor in their lance will always roll for ejection when they receive an attack, no matter what.

Certain classes of mechs may have their pilots roll for a lower capped chance to eject at an earlier panic state. By default, this applies to enemy light mechs only, when they hit the Fatigued panic state.

Configuration
`mod.json` has some settings on how the chances work -- for a simple change to the max ejection roll, just change the `MaxEjectChance`. Rolls for the general panic system should be relatively self-explanatory.

Other settings:

AlwaysGatedChanges control whether only one panic state transition can happen for a mech per round. This prevents multiple alpha strikes from taking one of your mechs straight to the panicked state.

The Early Panic Thresholds use ints to represent the panic states:

0 = normal
1 = fatigued
2 = stressed
3 = panicked