Targeting, Hit Detection & Target Info

The key words MUST, MUST NOT, SHOULD, and MAY are used as in RFC 2119.

Weapon targeting and melee hit resolution share one geometry: the per-weapon hit cone, reverse-engineered from PSO:BB (check_enemy_is_targetable + ItemPMT; values tabulated at wiki.pioneer2.net/w/Weapons) and tuned in the #/combat-room web tool. Reticles, the target-info HUD, and damage all read the same cone — targeting and hits MUST NOT use different shapes.

The hit cone

Per weapon type (data: CombatManager.WEAPON_TYPE_CONFIGS, keys hit_h_dist, hit_v_dist, hit_h_angle_deg, hit_v_angle_deg):

Targetable set, primary target, reticles

Hit resolution — the damaging frame

Target-info HUD (bottom-left)

Visual style

Both the target panel and the quick weapon menu draw the PSZ panel language: a chamfered-corner plate with horizontal pinstripes and a navy border (light-blue plate for target info, navy plate for the menu), via the shared PszPanel draw helper. Style is SHOULD-level — tune freely; the visibility/priority rules above are the MUSTs.

Implemented by

← Mechanics