X4: Foundations
0 of 0

File information

Last updated

Original upload

Created by

Unclejack and mjr121

Uploaded by

Unclejack

Virus scan

Safe to use

Tags for this mod

About this mod

A lua-based map enhancement mod that changes the colour of ships listed in the Holomap Object window according to faction. It also alters the colour of some Holomap faction specific sector borders for increased clarity and assigns Teladi with a beige-orange colour to prevent conflicts with the Player's green.

Colour suggestions welcome!

Requirements
Permissions and credits
Changelogs
INSTALLATION:

To install this mod, unpack the provided rar file and place the EHM3_factionObj_and_Sect_Colours folder into the extensions folder of the root X4 Foundations game installation folder. If the extensions folder does not exist, create it in the main root folder of X4 foundations (the folder containing X4.exe).

If you have already downloaded the G_Work_Around UI API v0.31, it is not required to install this API again. If you did not download this API, please go to the official forum topic describing this _G_Work_Around UI api by morbideth (link) and download v0.31

In addition to the EHM3_factionObj_and_Sect_Colours folder, you should now also have unpacked the G_Work_Around folder. Place this additional
folder into the extensions folder of the X4 foundations root. Both the UI API mod and the faction specific colour mods should be listed in the in-game menu under extensions and can be turned on or off in this menu.

IMPORTANT:
Both G_Work_Around v0.31 and EHM3_factionObj_and_Sect_Colours folders are required for this mod to work and both should be activated in-game!

_________________________________________________________________________________________________________________________
DESCRIPTION:

This mod for X4 foundations changes the object colours of the ship and station entries in the holomap's object window at the left and selected objects window at the bottom of the map. It also changes the colour of the sector borders of sectors controlled by the Antigone Republic, Ministry of Finance, Teladi and the ownerless faction for increased clarity on the holomap and to prevent interference with the player's green colour.

The changes to the faction sector borders are applied by simple XML patching of a color variable specified for each faction in the libraries/factions.xml file.
Changes to the object window and selected window colours are applied by patching into the existing menu_map.lua file using a lua script supported by the current _G_Work_Around UI api by morbideth (link). This API is currently required to allow independent lua scripts not within the egosoft (core)addon environment to use global lua functions. As a result, this mod requires the G_Work_Around UI API by morbideth.

The custom lua script is loaded during game loading from the G_Work_Around API lua script. Using this lua script, it becomes possible to alter the icon colour of the entries as well, something that is currently not yet possible with the XML-based Nexus mod Holomap Info Colors by mjr121 (link). This original mod by mjr121, however, is a simple XML patch, which makes it very light-weight, works wonders and should be compatible with many, if not all, other mods.

This lua-based mod on the other hand might not be entirely compatible with other lua-based UI mods that alter the menu_map.lua script. In addition, as it currently utilizes the G_Work_Around UI API, which is still in beta and might become redundant in later patches, it is possible this mod will become obsolete or dysfunctional. Regardless, the script has been tested by multiple people and should work fine with X4 foundations version 1.60. If you are using any additional lua-based extensions, please double check whether the mod is compatible with other menu_map.lua altering extensions.