1. Alternatives to death: https://drive.google.com/file/d/1QbyAZV ... sp=sharing
Alternatives to death: clone, descendant, teleport, ransom, assimilation. Other gameplay effects: ship destruction countdown, Cloning Lab, Trust Executor Office, acquire Cr to inherit property, acquire your assimilator's faction relationships.
https://www.nexusmods.com/x4foundations/mods/551
by kuertee
Mod effects:
============
Alternatives to death: clone, descendant, teleport, ransom, assimilation. Other gameplay effects: ship destruction countdown, Cloning Lab, Trust Executor Office, acquire Cr to inherit property, acquire your assimilator's faction relationships.
Requirements:
=============
SirNukes Mod Support APIs mod (https://www.nexusmods.com/x4foundations/mods/503) - to load the custom Lua files
Kuertee's UI Extensions mod (https://www.nexusmods.com/x4foundations/mods/552) - Modded Lua files with callbacks to allow more than one mod to change the same UI element.
Alternatives to death:
======================
When a ship receives constant damage that would destroy it within the next 15 seconds, a 30-second countdown will appear in your HUD.
If you get caught in the ship's destruction, one of these alternatives to death will occur:
Alternative 1: Clone: If you have a clone in reserve, it will be activated. Clones can be bought from Cloning Labs.
Alternative 2: Descendant: Your play will resume from the agency of a distant relation.
Alternative 3: Teleport: An employee will pull you to safety via their ship's or station's teleporter - provided you are in possession of that technology.
Alternative 4: Ransom: You are captured and are released for a ransom.
Alternative 5: Assimilation: You are brainwashed (by one of the major factions), assimilated (by the Xenon) or cordycepified (by the Kha'ak).
Note that these alternatives will prevent the Game Over screen. However, if you've disabled some alternatives and none of them can be executed, you will get the Game Over screen. For example: you're only playing with the Clone option, but have no clones available.
Clones and descendants:
=======================
Your clones and descendants will not automatically acquire your ships and stations. These will be held in a trust, which your clones and descendants can inherit after acquiring 1,000,000 Cr. Your Trust Executor will notify them of this will.
Ransom payment:
===============
You will lose 25% of your property as payment for you ransom.
Assimilation:
=============
You will acquire your assimilator's faction relationships.
When captured by one of the major factions, your mind will be wiped and incepted with their philosophy. When captured by the Xenon, you will be turned into a cyborg and programmed to hate all organic beings. When captured by the Kha'ak, you will be infected by their cordyceps and zombified into one of their drones.
Cloning Lab:
============
Buy reserve clones from cloning labs. Not all stations has a lab.
Trust Executor's Office:
========================
You can claim your inheritance from the Trust Executor. Their offices will be in one of the major faction's headquarters. They will only be available when you have an inheritance to claim.
Configure the mod:
==================
Most of these features can be modified in the Extensions Options screen.
Install:
========
-Unzip to 'X4 Foundations/extensions/kuertee_alternatives_to_death/'.
-Make sure the sub-folders and files are in 'X4 Foundations/extensions/kuertee_alternatives_to_death/' and not in 'X4 Foundations/extensions/kuertee_alternatives_to_death/kuertee_alternatives_to_death/'.
-If 'X4 Foundations/extensions/' is inaccessible, try 'Documents/Egosoft/X4/XXXXXXXX/extensions/kuertee_alternatives_to_death/' - where XXXXXXXX is a number that is specific to your computer.
Uninstall:
==========
-Delete the mod folder.
Adds a Teleport button in your transporters. By default, removes the "Teleport to" command from the Map Menu. By default, disallows teleportation to and from allied properties.
https://www.nexusmods.com/x4foundations/mods/553
by kuertee
Mod effects:
============
Adds a Teleport button in your transporters. By default, removes the "Teleport to" command from the Map Menu. By default, disallows teleportation to and from allied properties.
Requirements:
=============
SirNukes Mod Support APIs mod (https://www.nexusmods.com/x4foundations/mods/503) - to load the custom Lua files
Kuertee's UI Extensions mod (https://www.nexusmods.com/x4foundations/mods/552) - Modded Lua files with callbacks to allow more than one mod to change the same UI element.
Configure the mod:
==================
From the Extensions Options screen:
1. Enable the "Teleport to" command in the Map Menu,
2. Allow teleportation to and froom allied properties.
Install:
========
-Unzip to 'X4 Foundations/extensions/kuertee_teleport_from_transporter/'.
-Make sure the sub-folders and files are in 'X4 Foundations/extensions/kuertee_teleport_from_transporter/' and not in 'X4 Foundations/extensions/kuertee_teleport_from_transporter/kuertee_teleport_from_transporter/'.
-If 'X4 Foundations/extensions/' is inaccessible, try 'Documents/Egosoft/X4/XXXXXXXX/extensions/kuertee_teleport_from_transporter/' - where XXXXXXXX is a number that is specific to your computer.
Uninstall:
==========
-Delete the mod folder.
Modded Lua files with callbacks to allow more than one mod to change the same UI element. Functionality to add new HUD elements to the Top Level Menu.
https://www.nexusmods.com/x4foundations/mods/552
by kuertee
Mod effects:
============
Modded Lua files with callbacks to allow more than one mod to change the same UI element. Functionality to add new HUD elements to the Top Level Menu.
Documentation:
==============
Soon.
But the callbacks, along with their function parameters and their expected returns, are listed in each of the new Lua files. Learning at which point in the code they execute is as easy as searching for them in the code. Examples on how they are used can be seen in my mods that use them. My mods "High security rooms are locked" and "Teleport from transporter" both have changes to the "TransporterMenu". With "UI Extensions and HUD", the changes from both mods can be applied. Without "UI Extensions and HUD", only one could.
Requirement:
============
SirNukes Mod Support APIs mod (https://www.nexusmods.com/x4foundations/mods/503) - to load the custom Lua files
Install:
========
-Unzip to 'X4 Foundations/extensions/kuertee_ui_extensions/'.
-Make sure the sub-folders and files are in 'X4 Foundations/extensions/kuertee_ui_extensions/' and not in 'X4 Foundations/extensions/kuertee_ui_extensions/kuertee_ui_extensions/'.
-If 'X4 Foundations/extensions/' is inaccessible, try 'Documents/Egosoft/X4/XXXXXXXX/extensions/kuertee_ui_extensions/' - where XXXXXXXX is a number that is specific to your computer.
Uninstall:
==========
-Delete the mod folder.
All mods work. The only functionality I've not tested is the "assimilation" feature of "Alternatives to death". I don't know what happens when you are killed by the khaak or xenon - apart from that you will acquire their faction relations.
Both 1 and 2 require "UI Extensions" - modding resource that I'm developing that allows more than one mod to change the same UI menu. Also, functionality, albeit an early version, that allows modders to add new HUD elements. I use it for the destruction countdown in the "Alternatives to death" mod.
A good test for "Alternatives to death" is to simply get yourself killed.
Any feedback, comment or actual game experience, is appreciated. Thank you.
EDIT: if you have the game logging debugs, you can set mods 1 and 2 to output their own debug lines in their Extensions Options screen.