[Abandoned] Salvage Drone V1.4, (Recover crate with freight drone)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 800
- Joined: Tue, 6. Nov 07, 18:01
[Abandoned] Salvage Drone V1.4, (Recover crate with freight drone)
05-08-10: Abandoned due to lack of interest. Use MARS instead.
---
Simple script. binds 1 hotkey which when pressed with a crate/astronaut targetted, checks that the ship and freight drone can carry it, and if so sends a freight drone to scoop it up + bring it back.
http://www.xai-corp.net/en/node/3515
Requirements:
at least 1 Freight drone
1 free hotkey
Cargo Lifesupport System on playership for astronaut retrieval
Installation:
Drop both scripts into your scripts folder, activate script editor and save/reload. Then set the hotkey for Salvage Drone in control settings.
Current limitations (intended):
Will not launch drone at a crate that the player ship cannot carry
Only collects single crate per launched drone
To do:
Move hardcoded strings to t-file.
Switch placeholder log entries with bettyspeak.
Support multiple launches.
Check for fastest available drone able to carry target
Feedback very much appreciated
Changelog:
v1.4:
-Corrected install instructions
-Fixed target type check allowing launches against non-crate/non-astronaut targets
v1.3:
-Added bettyspeak to most commands
-Implement astronaut collection
v1.2: another rewrite, mainly to clean up and comment code
-implement rough drone recovery code, pleast test on different ship sizes
v1.1:
-implement object existence checks
-should now end properly once job done
-drone will now seek nearest dockable in-sector station if playership is no longer flying in drone sector
v1:
-initial release
---
Simple script. binds 1 hotkey which when pressed with a crate/astronaut targetted, checks that the ship and freight drone can carry it, and if so sends a freight drone to scoop it up + bring it back.
http://www.xai-corp.net/en/node/3515
Requirements:
at least 1 Freight drone
1 free hotkey
Cargo Lifesupport System on playership for astronaut retrieval
Installation:
Drop both scripts into your scripts folder, activate script editor and save/reload. Then set the hotkey for Salvage Drone in control settings.
Current limitations (intended):
Will not launch drone at a crate that the player ship cannot carry
Only collects single crate per launched drone
To do:
Move hardcoded strings to t-file.
Switch placeholder log entries with bettyspeak.
Support multiple launches.
Check for fastest available drone able to carry target
Feedback very much appreciated
Changelog:
v1.4:
-Corrected install instructions
-Fixed target type check allowing launches against non-crate/non-astronaut targets
v1.3:
-Added bettyspeak to most commands
-Implement astronaut collection
v1.2: another rewrite, mainly to clean up and comment code
-implement rough drone recovery code, pleast test on different ship sizes
v1.1:
-implement object existence checks
-should now end properly once job done
-drone will now seek nearest dockable in-sector station if playership is no longer flying in drone sector
v1:
-initial release
Last edited by xavierd on Thu, 5. Aug 10, 13:36, edited 18 times in total.
-
- Posts: 204
- Joined: Sat, 13. Jun 09, 22:19
-
- Posts: 308
- Joined: Tue, 9. Dec 08, 15:11
-
- Posts: 800
- Joined: Tue, 6. Nov 07, 18:01
-
- Posts: 315
- Joined: Mon, 5. May 08, 01:25
MARS Goblins are reprogrammed fighter-drones capable of a multitude of tasks - including loot collection. However, they have the same limitation as your script. They cannot collect more than one crate per drone. If you make the freight drone go around and pick up all the crates at once until its cargo is full and *then* return to the mothership, you'd have my download and I'd even run this parallel to MARS.
-
- Posts: 800
- Joined: Tue, 6. Nov 07, 18:01
-
- Posts: 2575
- Joined: Sat, 28. Mar 09, 16:03
-
- Posts: 800
- Joined: Tue, 6. Nov 07, 18:01
-
- Posts: 5366
- Joined: Sun, 3. Sep 06, 18:19
Because it's faster/more efficient to start multiple drones that all collect a ware instead of a single slowly collecting them.However, they have the same limitation as your script. They cannot collect more than one crate per drone
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:

X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:

-
- Posts: 800
- Joined: Tue, 6. Nov 07, 18:01
-
- Posts: 405
- Joined: Sun, 21. Feb 10, 13:51