Describe the location in the code your question is aboutBattleTech.UI.HUDMechArmorReadout, method UpdateMechStructureAndArmor(AttackDirection)
What is the question you have about this code?
The method calculates colour flash, then loop through each location to update their outline, armour, and structure colours.
The last part of the loop intend to show rear structure colour, but seems to be copy and pasted incorrectly from front structure code. It checks the incorrect armor breach flag, and use the front structure colour array instead of rear. Since the rear is flipped, it is also showing the reverse side.
Because HUDMechArmorReadout is reused in Mech Bay and Called Shot panel, the bug also manifest there, in addition to Selcetion and Target panels.
Leave any additional comments here
Workaround: Bug is patched in AIM mod v2.0.
Describe the location in the code your question is about
BattleTech.UI.HUDMechArmorReadout
, methodUpdateMechStructureAndArmor(AttackDirection)
What is the question you have about this code? The method calculates colour flash, then loop through each location to update their outline, armour, and structure colours. The last part of the loop intend to show rear structure colour, but seems to be copy and pasted incorrectly from front structure code. It checks the incorrect armor breach flag, and use the front structure colour array instead of rear. Since the rear is flipped, it is also showing the reverse side.
Because HUDMechArmorReadout is reused in Mech Bay and Called Shot panel, the bug also manifest there, in addition to Selcetion and Target panels.
Leave any additional comments here Workaround: Bug is patched in AIM mod v2.0.