Jagged Alliance 2 Data Dictionary

A comprehensive glossary defining the strict file typings, arrays, and variables used to natively compile assets into the Jagged Alliance 2 1.13 executable.

File Typings

Extension Format Definition & Constraints
.STI Sir-Tech Image Proprietary ETRLE compressed format utilizing strict 8-bit, 255-color indexed P-mode headers. Used explicitly for BigFace rendering arrays, Tactical HUD sub-frames, and item geometry. All layers in an STI must use the identical color palette.
.EDT Encrypted Data Text Binary blob files housing string primitives (e.g., AIMBIOS.EDT). Values are obfuscated with a hard-mathematical ord(char) + 1 ASCII shift compression scheme. Padded strictly with null bytes up to exact index boundaries.
.XML Extensible Markup Exposed hardcoded executable constraints from standard 1.12 builds ported over in 1.13. Provides arrays replacing original executable behaviors. File naming and node schemas are strictly enforced.

Core Index Metrics

Variable Type Application & Engine Rules
uiIndex Integer The absolute variable identifying a character/asset globally. A mercenary at uiIndex 28 loads 28.sti and begins their EDT memory offset at byte 31360 (28 * 1120).
bLife Integer Maximum Hit Points. Values over 100 may invoke integer overflow logic.
bAgility Integer Governs Action Point (AP) density and combat maneuverability.
bDexterity Integer Controls fine motor accuracy: lockpicking rate, trap defusal speed, and raw repair efficiency.
bWisdom Integer The experience multiplier. The higher the wisdom, the faster the mercenary organically levels up.
bAttitude Integer ID Determines dialogue audio behavior. 1=Friendly, 2=Loner, 3=Optimist, etc.
usEyesX / Y Vector2 (Px) Physical absolute X/Y overlap coordinates where the engine pastes the 17x6 blinking ETRLE strip over the static 48x43 Base Render.
usMouthX / Y Vector2 (Px) Physical absolute X/Y overlap coordinates where the engine pastes the 14x6 talking ETRLE strip over the base render.