Releases: BattletechModders/InternalHeaters
1.0! Multiple components allowed to enable DHS.
New DHS Features
doubleHeatSinksDoubleEngineHeatDissipationComponentId
- The component id for the item that makes double heat sinking happen. Default is the vanilla DHS (Gear_HeatSink_Generic_Double
)
doNotCountFirstDoubleHeatSinksComponentDissipation
- Enable this to remove the Heatsinking properties of the first heatsink item used to create double heatsinking of the engine. e.g. if one DHS is installed, then the mech dissipates 60 heat instead of 66
Heat Efficiency Bar Experiment
Copied from https://github.com/CptMoore/StatsFixMod
Fix zero heaters = double heaters bug
also disable chassis heatsinks by default since I'm the only one who will ever use it and love it
push internal engine DHS calculations into own class
For the purposes of making them more usable elsewhere (like Extended Info mod!).
Enabled Settings, Exlusive DHS Doubling
- add some settings to allow chassis heatsinks or double heatsink features to be disabled
- make double heat sinks only double engine output when all heatsinks installed on a mech are doubles
Engine dissipation doubled by presence of DHS on mech
what it says on the tin
More or Less Heat Dissipation in Combat for a given chassis
Can change heat dissipation for any chassis by changing the Heatsinks
setting in the chassis definition JSON. This mod treats that number as additional, so you can remove default dissipation by using negative numbers.
By default every chassis in the game has 10 standard heatsinks (-3 heat per turn). Below are two examples of things you could do.
For example, this would cause a mech to generate an additional 60 heat per turn:
{
//... chassis stuff
"Heatsinks": -20,
//... more stuff
}
And this would cause a (SLDF yeah!) mech to dissipate an additional 15.
//... chassis stuff
"Heatsinks": 5,
//... more stuff
}
Pro-tip: don't run this with debug mode unless you want to fill up your hard drive with logs. The heat check seems to run every time a screen frame is updated. 🗡 I got to 200k of logs in about 10s.
When you make the locust run real, real hot…
TODO:
- make this used in the UI
CalculateHeatEfficiencyStat
- make PR for https://github.com/ACCount12/ExtendedInformation/blob/master/ExtendedInformation.cs to also use this thing in calculations