X4: Foundations

X4: Foundations

793 ratings
Inventory Collector
4
3
2
7
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
21.093 KB
16 Apr, 2020 @ 11:51pm
16 Jul, 2024 @ 6:31am
25 Change Notes ( view )

Subscribe to download
Inventory Collector

In 1 collection by Assailer
Assailer X4 mods
9 items
Description
Inventory Collector

This mod adds a new default job option for your pilots.

Pilots assigned to Inventory Collector duty will visit all your ships in the galaxy and collect their inventory items.

The collected items will be:

(1) delivered to HQ storage every now and then when:
Deposit to HQ - checked
Deposit to Player - unchecked

(2) teleported immediately to player's inventory when,
Deposit to HQ - unchecked
Deposit to Player - checked

(3) kept in pilot's local inventory when,
Deposit to HQ - unchecked
Deposit to Player - unchecked


If you are using Capital Ship Loot Magnet, then this mod helps collecting those picked up items.

Use a fast ship for this job, in theory you do not need more than one ship.

Pilots will gain experience every time they successfully execute a job.

To start the mod for a ship, hail the pilot, go to submenu 'more' and select 'Start Inventory Collector'.

You may blacklist specific sectors to prevent servicing ships located there (war zones).

When option 'Use Global Blacklist' is checked, the script will look for blacklist created for civilian ships with sector activity. There you may add factional filters or just specific sectors to avoid. Script local sector settings are always in use, so keep that list empty if you rely only on global list.

Enjoy.

Version 7.x compatible.

Changes:
1.00 - initial public release
1.01 - added German translation. Thanks Le Leon!
1.02 - added French translation. Thanks globule!
1.03 - added sector blacklist. ships located these sectors shall not be serviced.
1.04 - should not visit player controlled ship anymore.
1.05 - added Russian translation. Thanks aladinaleks!
1.06 - added new job parameter 'Deposit to HQ'. Thanks Hegemon for the idea/help.
1.07 - fixed bug, when collector visited a ship, but in the mean time player jumped in the seat it was taking player inventory to HQ. Thanks Nightwalker for reporting this!
1.08 - added global blacklist support. Script will look for 'civilian sector activity' lists.
1.09 - added timeout update right after target selection to avoid multiple dispatch to same target. Thanks Speedball!
1.10 - fixed some new incompatibility issues with the latest game update. Thanks N3phyl and douyu202351 for reporting!
1.11 - collector ships will completely ignore the other collector ships. Previously, they only ignored others when the HQ delivery option was checked. Thanks SpeedBall for reporting this!
1.12 - added inventory limit to force more frequent HQ visits even if there are other ships to visit. The inventory pilot won't end up accumulating 1000+ items anymore.
1.13 - added additional search loop to avoid passing through blacklisted sectors. This only applies to manually added sectors. Thanks Arcimbaldo for requesting!
1.16 - compatibility fix for 5.0
1.17 - fixed blacklist related issues, huge thanks to TheLich for helping!
1.18:
- added filters for ship classes (small, medium, capital) to allow narrowing down searches
- added few milliseconds delay between path calculations to make sure it won't cause lag spikes for players with large fleets
- fixed an ancient bug that caused the collection stage to fail (skip) in case a sector travel took too long.
- Finally huge thanks to player 'psh' for pushing me doing the fixes! :)
1.20 - added option to keep loot on local pilot by keeping both deposit to HQ and Player off. Thanks mazrados!
1.22 - added slider to adjust timeout applied to serviced customers. Thanks Bradtus!
1.24 - added Chinese translation (Thanks 青山)



Assailer's X4 mods:
Secret Stash
Fly-by Lockbox
Fly-by Looting
Mobile Repair Service
Capital Ship Loot Magnet
Inventory Collector
Sector Explorer
Popular Discussions View All (3)
0
6 Jun, 2023 @ 10:32pm
Nexus Update?
Mahalito
0
26 Jan, 2022 @ 5:33am
Cannot add sector to blacklist
thelich
0
21 Apr, 2020 @ 12:33am
RUS LNG - 1.20
aladinaleks
247 Comments
El Capitan Kirk 26 May @ 8:59am 
I can't figure out why my collector wont do anything. I can occasionally get it to work, but I have to keep assigning it to different ships and wait a bit until it does. I've tried playing with just this mod and all DLCs on, but no luck. For some reason I feel like it's a blacklist issue, but I'm not sure as I haven't used one since this issue started.
Assailer  [author] 7 Apr @ 9:36pm 
It seems to be working for me.
lookatjake 7 Apr @ 6:50pm 
Is this still broken for Beta?
Assailer  [author] 27 Mar @ 12:59pm 
If you have the secret stash, the police should never see anything in the first place. Police script was changed almost every patch, so i do not fully recall the logic on whether it just re-scans your ship after timeout or in fact it waits for some items to be ejected as well.
Wryson Rose 27 Mar @ 11:29am 
Afternoon Assailer.

I've noticed a little something strange. Not sure if it's related to your mod, but it SEEMS to connect the dots up right.

I've just witnessed two vessels being destroyed by police forces in an OOS. Right before they were destroyed (without warnings of attacks) the inventory collector ships I'd assigned had visited them, and gathered cargo from said ships.

I'm curious: Is it possible for the police to not notice the switch and continue to demand cargo that is no longer present?
deltaCorben 25 Mar @ 11:37am 
But that might not have been it either. The discoverer was only collecting from looter that I had recently purchased. The ones I had bought at the start of the game were all elites with minimal fit. Once I upgraded them to inventory collector visited them as well.
deltaCorben 25 Mar @ 10:46am 
So when I was assigning this behaviour to an elite vanguard it did not do anything but when I assigned it to a discoverer vanguard instead it worked.
deltaCorben 24 Mar @ 10:32am 
All it says is "44484.722: _Loot Collector search_loop" with changing timestamps. At least for me.
Assailer  [author] 19 Mar @ 10:28pm 
There is already debug log: <debug_to_file directory="'fs_inv'" name="'debug'" text="'not allowed'" output="false" append="true"/>

Check the forums on how to enable the client logging. As you see, this mod will create log in the fs_inv folder (once enabled).
探求者 19 Mar @ 10:09pm 
@Assailer Any chance to get some toggable debugs/logging or a dm'd script so that I could find out why it doesn't work for me? I noticed that generally there were no issues when I was playing on my pc but it never works when I'm trying to play from my laptop so I'd assume there's some logic culling happening in order to save performance and the inv collectors never do anything