[MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.22

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

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

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

[MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.22

Post by morbideth » Sat, 22. Dec 18, 18:44

This is a mod that will allow you to order your ships to collect all deployables of a given type in a sector.
Run the command by right-clicking on the desired deployable with one of your ships selected. Whatever type of deployable you click it will only collect that type. i.e. if you click on an Advanced Satellite, it will pick up only advanced satellites leaving all of your basic satellites alone.

Image

IF Updating from an older version to 0.2, delete the collect deployables folder from you extensions directory first.
Must be installed in your %installdir%\extensions folder
v0.22 REQUIRES: !!!API!!!
Image

Changelog:
  • v0.22 Update to reflect changes in the API. Dependencies added. You now have to have the APIs enabled to enable this mod.
  • v0.21
    • Fixed issue with multiple mods using the UI API and trying to load their mods at the same time.
  • v0.2
  • v0.11
    • removed leftover debug code.
  • v0.10 initial release
Last edited by morbideth on Tue, 22. Jan 19, 02:49, edited 9 times in total.

Buzz2005
Posts: 1278
Joined: Sat, 26. Feb 05, 02:47
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.10

Post by Buzz2005 » Sat, 22. Dec 18, 19:53

your mod kills the right click, when installed if you right click anywere (stations, ships or empty space) you dont get the context menu but ability when you move the mouse it moves the map vertically

so its not working for me

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.10

Post by morbideth » Sat, 22. Dec 18, 20:36

Buzz2005 wrote:
Sat, 22. Dec 18, 19:53
your mod kills the right click, when installed if you right click anywere (stations, ships or empty space) you dont get the context menu but ability when you move the mouse it moves the map vertically

so its not working for me
Oops, missed a line when I commented out the debug code. Uploaded a fixed version.

roflmao86
Posts: 3
Joined: Thu, 13. Dec 18, 04:51

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by roflmao86 » Sat, 22. Dec 18, 22:32

wow mega thanks for this mod,very useful
you can upload it to nexusmod for a better visibility (for your work)

pesoda
Posts: 16
Joined: Thu, 13. Dec 18, 20:45
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by pesoda » Sat, 22. Dec 18, 22:45

The first right-click UI MOD. Cute pegasus trotted from satellite to satellite well. And I understand how valuable this work and how much trouble to step in. Thank you so much. Still we cannot edit actiontype, right?

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by morbideth » Sat, 22. Dec 18, 22:50

pesoda wrote:
Sat, 22. Dec 18, 22:45
The first right-click UI MOD. Cute pegasus trotted from satellite to satellite well. And I understand how valuable this work and how much trouble to step in. Thank you so much. Still we cannot edit actiontype, right?
Not yet, I'll be updating my other post with more information soon.

ApoxNM
Posts: 729
Joined: Wed, 5. Dec 18, 07:17

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by ApoxNM » Sun, 23. Dec 18, 13:19

Great mod,

and

WHY IS THIS NOT IN THE BASE GAME?

cole2839
Posts: 108
Joined: Tue, 4. Dec 18, 02:43
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by cole2839 » Wed, 26. Dec 18, 21:38

When I right click the message says ReadText(1042, 400) instead of what you intended. It seems it still works, just the UI message is wrong.

Game version 1.5

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by morbideth » Wed, 26. Dec 18, 22:13

cole2839 wrote:
Wed, 26. Dec 18, 21:38
When I right click the message says ReadText(1042, 400) instead of what you intended. It seems it still works, just the UI message is wrong.

Game version 1.5
Did you put it in your install dir and not your documents folder?

cole2839
Posts: 108
Joined: Tue, 4. Dec 18, 02:43
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.11

Post by cole2839 » Wed, 26. Dec 18, 22:53

morbideth wrote:
Wed, 26. Dec 18, 22:13
cole2839 wrote:
Wed, 26. Dec 18, 21:38
When I right click the message says ReadText(1042, 400) instead of what you intended. It seems it still works, just the UI message is wrong.

Game version 1.5
Did you put it in your install dir and not your documents folder?
Ok, that might be the problem. I'll try and see if that fixes it.

Romz
Posts: 21
Joined: Sat, 24. Dec 16, 20:39
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.20

Post by Romz » Fri, 4. Jan 19, 23:11

Nот working for me.
New game, 1.5, this mod only and API. Right click menu does not appear.

Requiemfang
Posts: 3197
Joined: Thu, 16. Jul 09, 12:24
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.20

Post by Requiemfang » Fri, 4. Jan 19, 23:42

Hey morbideth is there suppose to be loose files in the mod folder? you have loose files and cat/dat files all jumbled in there together... wouldn't this cause issues since the cat/dat files are basically the loose files in packaged form?

Romz
Posts: 21
Joined: Sat, 24. Dec 16, 20:39
x4

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.20

Post by Romz » Sat, 5. Jan 19, 00:10

Romz wrote:
Fri, 4. Jan 19, 23:11
Nот working for me.
New game, 1.5, this mod only and API. Right click menu does not appear.
Also Right Click API partially destroy main (standard) right click menu for all ships.
May be, it is a reason.

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.20

Post by morbideth » Sat, 5. Jan 19, 07:09

Romz wrote:
Sat, 5. Jan 19, 00:10
Romz wrote:
Fri, 4. Jan 19, 23:11
Nот working for me.
New game, 1.5, this mod only and API. Right click menu does not appear.
Also Right Click API partially destroy main (standard) right click menu for all ships.
May be, it is a reason.
You need BOTH the Community Right Click API and the UI API enabled for this to work. Let me know if that solves your problem.
Requiemfang wrote:
Fri, 4. Jan 19, 23:42
Hey morbideth is there suppose to be loose files in the mod folder? you have loose files and cat/dat files all jumbled in there together... wouldn't this cause issues since the cat/dat files are basically the loose files in packaged form?
No.

morbideth
Posts: 389
Joined: Sun, 9. Nov 08, 04:07
x3tc

Re: [MOD] Collect Deployables (Satellites, Nav Beacons, Resource Probes, Laser Towers) v0.20

Post by morbideth » Sat, 5. Jan 19, 19:48

Another thing that might cause your issue is if you are updating from an older version, if so, delete the collect deployables folder before installing the new version.

Post Reply

Return to “X4: Foundations - Scripts and Modding”