Skip to main content

Module portrait_settings

Module portrait_settings 

Source
Expand description

Portrait settings for unit and character portraits.

This module handles binary portrait settings files that define camera positions and rendering parameters for unit portraits in Total War games. These portraits appear in various places:

  • Unit cards at the bottom of the battle/campaign UI
  • Character details windows in campaign
  • Diplomacy screens

§Supported Versions

  • Version 1: Used in Warhammer 2, Warhammer 1, Thrones of Britannia, and Attila
  • Version 4: Used in Warhammer 3

§File Location

Portrait settings files are typically found at ui/portraits/ within game packs.

Structs§

CameraSetting
Camera positioning and field-of-view settings for a portrait.
Entry
A portrait entry defining camera settings for a specific art set.
PortraitSettings
Portrait settings file containing camera configurations for unit portraits.
Variant
A texture variant for a portrait entry.

Constants§

EXTENSION
Extension used by portrait settings files.