Bridge Commander Central
BC Forums => BC Scripting => Topic started by: JimmyB76 on June 16, 2019, 12:39:18 AM
-
i completely forge right now, but i know there is a script somewhere that determines whether or not an almost-destroyed MVAM ship will separate or not, like a % chance or value or whatever that it will or might...
does this sound familiar to anyone also?
-
Apparently that is controlled solely by the ship's mvam plugin in Custom\Autoload\Mvam.
There are two values:
- AiSepAbility set to 1 allows the ai ships to seperate at all. If this is 0 they should not seperate at all
- def CheckSeperate (pShip) contains the logic for whether or not the ai ship should seperate at the current situation
The Prometheus mvam CheckSeperate function e.g., checks for the number or enemy ships, and hull condition. And also applies a random value to that.