[Mod/MD] Remote Access to Safe Deposit Storage and Pilot's Inventories

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
ChemODun
Posts: 426
Joined: Mon, 12. Feb 07, 21:58
x4

[Mod/MD] Remote Access to Safe Deposit Storage and Pilot's Inventories

Post by ChemODun »

Remote Access to Safe Deposit Storage and Pilot's Inventories

In game, the player can access the Safe Deposit Storage only when he is in appropriate room of the Headquarters. But in parallel, the Player can research the individual Teleportation technology, which allows to teleport to HQ from any place in the game universe, at the end of the research tree.

Image

This mod implements the remote access functionality, allowing players to manage their Safe Deposit Storage and, as side effect - the Pilot's Inventories, from anywhere in the game world, as long as they have completed the necessary research.
It is mean - the distance, from which the player can access the Safe Deposit Storage and Pilot's Inventories, is limited only by the range of the Teleportation technology.

Compatibility

This mod is compatible with the game version 7.10 and higher.

Features
  • Access to Safe Deposit Storage and Pilot's Inventories from anywhere in the game world, depending on the Teleportation technology range.
  • Ability to transfer items between Safe Deposit Storage and Pilot's Inventories and Player's inventory.
  • Support for the context menu, if any kind of the X4 Mod Support APIs is installed (Not required, but recommended for better user experience).
Download

You can download the latest version via Steam - Chem O`Dun's Workshop on Steam

Or you can do it via the Chem O`Dun's Mods list on Nexus Mods

Usage

Accessing the HQ's Safe Deposit Storage

Safe Deposit Storage via Context Menu

If you have installed any of the X4 Mod Support APIs, you can access the Safe Deposit Storage and Pilot's Inventories via the context menu of the Player's HQ - Access Safe Deposit Storage.
Spoiler
Show
Image
If the HQ is too far away, taking in account the Teleportation range, the context menu will be disabled, with respective hover tooltip.

Safe Deposit Storage via Station Manager Interaction

To get an access to the Safe Deposit Storage on Player's HQ, you should make several simple steps:
  • Establish a communication with the Player's HQ Station Manager on Crew tab of the Information menu of the Player's HQ.
Spoiler
Show
Image
  • There will be a new button Access Safe Deposit Storage in a top left corner of the interaction menu.
Spoiler
Show
Image
  • Simple press it, and the standard Safe Deposit Storage Screen will be opened, allowing you to manage your Safe Deposit Storage as usual.
Spoiler
Show
Image
Accessing the Pilot's Inventories

Pilot's Inventory via Context Menu

If you have installed any of the X4 Mod Support APIs, you can access the Pilot's Inventories via the context menu of the Pilot's ship - Open the inventory menu.
Spoiler
Show
Image
If the Pilot's Inventory is empty, the context menu will be disabled, with respective hover tooltip.
Spoiler
Show
Image
If the Pilot's Inventory too far away, taking in account the Teleportation range, the context menu will be disabled, with respective hover tooltip.

Pilot's Inventory via Pilot Communication

To get an access to the Pilot's Inventories, you should do next:
  • Establish a communication with the Pilot directly via context menu of the appropriate ship or via the same Crew tab of the Information menu of the ship.
Spoiler
Show
Image
  • For the Pilot's Inventory, there will be a new button Open the inventory menu in a top left corner of the interaction menu.
Spoiler
Show
Image
Important notice - you have not to be a pilot of any other ship, otherwise the Pilot's Inventory will not be available for you, as it's slot will be occupied by other command.

In addition there will be a change in interaction with a pilot/commander of the ship when you are on the same ship.
  • Instead of the "standard" Hand me inventory command, there will be a new command Inventory: More... in the context menu of the pilot/commander.
Spoiler
Show
Image
  • Which will contain both Hand me inventory and Open the inventory menu commands inside.
Spoiler
Show
Image
In both cases, the Pilot's Inventory will be opened in the same way as the Safe Deposit Storage, allowing you to manage it more granularly, then simply transferring items to the Player's inventory.
Important remark - the Title of the opened window will be the same as for the Safe Deposit Storage, but the content will be Pilot's Inventory.
Spoiler
Show
Image
Note if X4 Mod Support APIs is not installed

Please be aware that if the X4 Mod Support APIs is not installed, you can see one small error message in the debug log file, when it is enabled:

Error in MD cue md.RemoteSafeDeposit.AddRemoteAccessActions: Evaluated value 'null' is not of type cue.

This is not an error, but a warning that the context menu support is not available. The mod will work as expected, but without the context menu support.

License

This mod is released under the Apache License 2.0.

Links

There is a thread on EgoSoft forum - [Mod/MD] Remote Access to Safe Deposit Storage and Pilot's Inventories

Videos
Last edited by ChemODun on Sat, 19. Jul 25, 21:31, edited 3 times in total.
Multiply entropy by absolute zero

Freedom in space
User avatar
ChemODun
Posts: 426
Joined: Mon, 12. Feb 07, 21:58
x4

Re: [Mod/MD] Remote Access to Safe Deposit Storage and Pilot's Inventories

Post by ChemODun »

Changelog

[1.02] - 2025-07-19

Added
  • Added context menu support, if the of any kind of X4 Mod Support APIs is installed.
[1.01] - 2025-06-16

Changed
  • Improved debug logging, for resolving of possible issues with the extension.
[1.00] - 2025-06-15

Added
  • Initial release of the Remote Access to Safe Deposit Storage and Pilot's Inventories extension.
Multiply entropy by absolute zero

Freedom in space
User avatar
ChemODun
Posts: 426
Joined: Mon, 12. Feb 07, 21:58
x4

Re: [Mod/MD] Remote Access to Safe Deposit Storage and Pilot's Inventories

Post by ChemODun »

Video with demonstration of the context menu support
Image
Multiply entropy by absolute zero

Freedom in space

Return to “X4: Foundations - Scripts and Modding”