Displayed Birth and Death Dates

If you liked this item, please rate it up on Steam Workshop page.

Author: MacAwesome

Last revision: 7 Mar at 16:46 UTC (11)

File size: 234.19 KB

On Steam Workshop

Description:

This mod adds birth and death dates (and death reason) to the character window.

In vanilla, birthdates are viewable when hovering the age for living characters, the death date is viewable by hovering the age for dead characters, and likewise the death reason when hovering the skull. This mod makes the birth and death date viewable at a glance from the character window, and doesn’t hide the birthdate for deceased characters.

By design, this mod should be compatible with other mods which change the character window gui. As of patch 1.2, this is no longer a case due to the vanilla file "window_character.gui" changing.

Compatibility

This mod is compatible with:

Displayed Birth Dates should go before these mods in the load order.

Notes

Please read before commenting:

  • (not tested as of 1.2, or if you’re using the other compatible mods) If you’re playing with a large GUI size (>= 100% scaling) portraits will vertically overlap.
  • As of me writing this (September 16, 2020) this is not ironman compatible – apparently GUI mods were causing OOS in MP
  • The only thing in this mod is are edited gui files. There is no localization file – I’m only using vanilla keywords.

Debug/modding notes:

The log throws the error "Type ‘hbox_character_subheading’ already registered at ‘gui/a_window_character_dates.gui’" which is by design, as this mod overwrites that hbox in "window_character.gui" in its own file for maximum mod compatibility. No longer as of 1.2, however it may now through a different hbox error – this is intended.

The replacement file has the prefix "0_". if the debug command ‘reload gui’ is used, this mod appears to become disabled. The reload command seems to reload in the opposite order as when the game first loads. If it had the prefix "z_" then the mod would appear disabled on startup, but after reloading the gui it would become enabled.