File information

Last updated

Original upload

Created by

icecold2897

Uploaded by

icecold2897

Virus scan

Safe to use

About this mod

This mod aims to make the outliner easier to read, sorting councilors, habs and armies, and adding known enemy councilors to the councilors list. It also highlights traitor councilors, to distinguish them from the others.

Requirements
Permissions and credits
Mirrors
This mod aims to make the outliner easier to read, sorting councilors, habs and armies, and adding known enemy councilors to the councilors list. It also highlights traitor councilors, to distinguish them from the others.

Features
  • known enemy councilors are now shown in the outliner
  • pending mission icons are added to all councilors, including turned and known enemy councilors
  • turned councilors are highlighted in orange in the outliner
  • bases and stations have separate toggle buttons
  • hovering over any item in the outliner shows a tooltip with a short description
  • settings to turn on and off any of the above features separately

Councilors are sorted by:
  • faction they belong to
  • family name, alphabetically

Councilors belonging to the player faction come first, immediately followed by turned councilors in other factions, colored in orange.

Armies are sorted by:
  • miltech, hence nation they belong to
  • health
  • name, alphabetically

Fleets are sorted by:
  • name, alphabetically OR homeport location
  • combat power

Habs are sorted by:
  • distance of the parent body from the sun
  • hab tier
  • name, alphabetically

Habs on the main body in a planetary system (i.e., Mars) are shown before habs on moons of the main body (i.e. Phobos and Deimos). Surface habs come before orbital habs.

Future plans
  • create separate buttons for own and turned councilors, and enemy councilors
  • add something to distinguish armies with a navy
  • add settings to make the user decide what sorting logic to use
  • add collapsible categories

Any feedback is very much welcome.

Requires Unity Mod Manager.

Built and tested on Terra Invicta 0.4.29. Verified on 0.4.41. Will not work with version 0.4.28 or below, as the TIFactionState.CurrentKnownCouncilors method changed it signature from version 0.4.28 to version 0.4.29 (it got a new parameter).

Compatibility
This mod applies Prefix patches that rewrite entirely or skip the following methods:
  • GeneralControlsController.FinderItemComparer
  • GeneralControlsController.UpdateFinderList
  • FinderListItemController.UpdateCouncilorListItem

This mod applies Postfix patches to the following methods:
  • GeneralControlsController.Initialize
  • GeneralControlsController.FinderItems
  • GeneralControlsController.InitializeFinderList
  • FinderListItemController.UpdateListItem

Language
This mod works with all languages. However, any text added by this mod is in English. If you want to help with translation, feel free to reach out.