61
The X-Com Files / Re: Early gun balance
« on: January 28, 2021, 05:28:52 pm »
Armor and body parts are separate things.
The armor side that is hit is determined by where a projectile hits on the unit's hitbox. Under armor is used when an explosion is centered directly below a unit or in one of the 8 tiles surrounding the unit in the same plane.
The body part that is hit is determined after the armor side is determined. Roughly, hits to the sides go to the arms or legs, hits from the front, back, or explosions go to the torso, and hits from above go to the head. But importantly, these body parts are not part of the unit's "model" or hitbox, they're just markers for fatal wounds and how those fatal wounds penalize the unit.
The armor side that is hit is determined by where a projectile hits on the unit's hitbox. Under armor is used when an explosion is centered directly below a unit or in one of the 8 tiles surrounding the unit in the same plane.
The body part that is hit is determined after the armor side is determined. Roughly, hits to the sides go to the arms or legs, hits from the front, back, or explosions go to the torso, and hits from above go to the head. But importantly, these body parts are not part of the unit's "model" or hitbox, they're just markers for fatal wounds and how those fatal wounds penalize the unit.