Giter Site home page Giter Site logo

Comments (8)

CptMoore avatar CptMoore commented on June 28, 2024

I'll try it to reproduce it on my end, is the engine fully installed on the tutorial mech? core, engine, gyro, engine heat block..

from mechengineer.

SteelShrike avatar SteelShrike commented on June 28, 2024

The mech used during the tutorial is just a standard BJ-1 Blackjack before they take away your jumpjets, so it shouldn't behave any differently. I had made some modifications to the items in MechEngineer so I thought maybe that was it, but I tested it with the latest version, no changes and no other mods active, and it still occurred. All engine items were present.

I suspect it's something to do with how heavily scripted that first mission is and how it disables certain abilities until you're required to use them, but it's just a hunch.

from mechengineer.

CptMoore avatar CptMoore commented on June 28, 2024

ok just started the tutorial, moved, shot 4 MBL

init

sourceID = EngineCoreEffect_HeatSinkCapacity_ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0, statName = HeatSinkCapacity, op = Int_Add, variant = 21
sourceID = PassiveEffect_ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0_36, statName = HeatSinkCapacity, op = Int_Add, variant = 3
sourceID = PassiveEffect_ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0_37, statName = HeatSinkCapacity, op = Int_Add, variant = 3
sourceID = PassiveEffect_ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0_38, statName = HeatSinkCapacity, op = Int_Add, variant = 3

21+3+3+3 => 30
looks alright

2021-07-07T18:47:58 CombatLog.Heat [LOG] Mech Blackjack (ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0) gains 12 heat from firing M Laser
2021-07-07T18:47:58 CombatLog.Heat [LOG] Mech Blackjack (ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0) gains 12 heat from firing M Laser
2021-07-07T18:47:58 CombatLog.Heat [LOG] Mech Blackjack (ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0) gains 12 heat from firing M Laser
2021-07-07T18:47:58 CombatLog.Heat [LOG] Mech Blackjack (ec9d2280-ca9a-4d90-8a20-963d8a4c0a39.0) gains 12 heat from firing M Laser

4x12 -> 48
makes sense to me

2021-07-07T18:48:02 CombatLog.Heat [LOG] Mech Blackjack sinks 11 points of heat; result heat = 37

37 left??
-11??
what?
48-30 = 18 left

2021-07-07T18:48:02 CombatLog.Heat [LOG] Mech Blackjack final heat = 37 out of 100

lies!

from mechengineer.

CptMoore avatar CptMoore commented on June 28, 2024

2021-07-07T20:08:02 Changed stat to 21
2021-07-07T20:08:02 Changed stat to 24
2021-07-07T20:08:02 Changed stat to 27
2021-07-07T20:08:02 Changed stat to 30
2021-07-07T20:08:10 Changed stat to 11

yea someone hardcodes this to 11

from mechengineer.

CptMoore avatar CptMoore commented on June 28, 2024

BattleTech.UI.CombatHUD.GrantBonusHeatSinksAndUnhittable

from mechengineer.

SteelShrike avatar SteelShrike commented on June 28, 2024

That's VERY bizarre. The only way that makes sense from an unmodded perspective is if that number is meant to be multiplied by 3. 10 internal heatsinks by default and then the one external heatsink the BJ-1 has in the vanilla game.

If I turn off the HeatSinkCapacityStat setting in the MechEngineer Settings.json, it actually sinks the appropriate amount of heat. Obviously the rest of the game breaks then at that point.

from mechengineer.

CptMoore avatar CptMoore commented on June 28, 2024

int num = (int)mech.TotalHeatProducedByWeapons - 45;
num = Mathf.Max(num, 0);
mech.StatCollection.Set("HeatSinkCapacity", forced ? num : 0);

from mechengineer.

CptMoore avatar CptMoore commented on June 28, 2024

I fixed it by just disabling the offending code that does the StatCollection.Set .
See upcoming automated latest build.

from mechengineer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.