[SCRIPT] Find all Free Ships in the Universe - v2 *updated 11/26/2008*

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

[SCRIPT] Find all Free Ships in the Universe - v2 *updated 11/26/2008*

Post by Graxster » Fri, 24. Oct 08, 01:28

Find Free Ships - v2
  • Adds a hotkey to find all ships with no pilots in the universe.
  • Results output to either the player logbook, or an external log file.
  • Results are displayed as [Sector name], [Ship name], [XYZ coordinates].
  • If the ship is in an Unknown Sector, the output will append the sectors connected to that sector. ie: Free Ship: Unknown Sector <- PTNI Headquarters: Nova X: 2000 Y: 4500 Z: 9450
Changes for version 2:

- No longer returns Neutral Race ships with Unknown Object as pilots (only returns ships if pilot name is "No Pilot").
- Added popup menu that asks whether you want output to go to player logbook or log file.
- Added SPK version for download.
- Included hotkey uninstall script.

Enjoy!

-Grax

SPK

Image

RAR archive

Image
Last edited by Graxster on Wed, 26. Nov 08, 20:16, edited 6 times in total.

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Fri, 24. Oct 08, 14:11

I also had a script (the NICE script) that would report the ship's sector and found that "Unknown Sector" isn't such a useful information after all.

I changed it to something like:
Unknown sector (13/15) near Unholy Descent.
The latter is the closest sector in jumps, that is not called "Unknown sector".

If you don't mind the brute force approach, just record a "reference sector" for each Unknown sector to display.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Sat, 25. Oct 08, 20:53

Updated to make it easier to find Unknown Sectors. Updated again to add Hotkey assignment.

-G

X-Paul
Posts: 5
Joined: Mon, 25. Jun 07, 17:45

Post by X-Paul » Thu, 30. Oct 08, 00:56

Not sure if I've misread the instructions, but it doesn't seem to be working for me.

I've put the scripts (.xml files) in my X3:TC scripts folder but when I go to the control - interface section in the game, there's nothing there to set a hotkey for.

What am I doing wrong?

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Thu, 30. Oct 08, 01:07

Have you activated the script editor?

X-Paul
Posts: 5
Joined: Mon, 25. Jun 07, 17:45

Post by X-Paul » Thu, 30. Oct 08, 20:30

Graxster wrote:Have you activated the script editor?
Doh!

I'm off to bang my head against a wall to confirm my stupidity.

thanks for the help!

User avatar
TSM
Not a Moderator
Posts: 1766
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Sun, 2. Nov 08, 01:37

Graxster Sir :wink: , could you edit this scipt to output to a text file for printing instead? in the log is fine but tedious :)
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

User avatar
3D_Master
Posts: 173
Joined: Fri, 17. Oct 08, 11:57
x3tc

Post by 3D_Master » Tue, 4. Nov 08, 13:45

This also picks up the all the blue pirates that the game spawns in Argon core sectors.

This ships all have the pilot listed as 'Unknown Object' and they are happily flying around.
Whilst all answers are replies, not all replies are answers

Hieronymos
Posts: 829
Joined: Fri, 30. Dec 05, 23:14
x3

Post by Hieronymos » Wed, 26. Nov 08, 06:10

You might want to add this to the TC script list...
Image

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Wed, 26. Nov 08, 08:02

It's already listed, in the cheats sticky.

-Grax

Edit: Updated to version 2. Thanks for the suggestions, sorry it took so long to get around to actually doing it.

hoshigami
Posts: 6
Joined: Mon, 16. Jan 06, 05:07

Post by hoshigami » Sat, 20. Dec 08, 08:30

ermm. Is this cheat script for X3TC? i'm new to this mod thingy. I've tried to download and put the find_free_ships_v2.spk to c:\x3 terran conflict\scripts. but somehow i cant find the command to set my shortcut key. can anyone please advise?

I have also noticed this files end with extension *.spk where the other files in scripts folder are *.pck. Is this correct?

really appreciate someone can advise me.
thanks

User avatar
TSM
Not a Moderator
Posts: 1766
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Sat, 20. Dec 08, 18:12

you set hotkeys in your interface settings in the options.
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

User avatar
Krewzur
Posts: 725
Joined: Mon, 16. Jun 08, 20:14
x4

Post by Krewzur » Sat, 20. Dec 08, 18:24

hoshigami wrote:I have also noticed this files end with extension *.spk where the other files in scripts folder are *.pck. Is this correct?
.SPK's are used for Cycrow's plugin manager, it makes it easir to install/UnInstall addons

http://forum.egosoft.com/viewtopic.php?t=218121
Corsair 400c // Intel i7 8700k // H100i v2 // ASUS Maximus X Code // ASUS 1080ti Strix OC // 2x8GB Corsair Vengeance 3200MHz // Samsung 960 Evo 250GB // 960GB SanDisk Ultra II // Corsair RM850i

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Sat, 20. Dec 08, 20:24

hoshigami wrote:ermm. Is this cheat script for X3TC? i'm new to this mod thingy
I suppose you could consider it a cheat, since it will locate empty ships even if you don't have a satellite in the sector.
I have also noticed this files end with extension *.spk where the other files in scripts folder are *.pck. Is this correct?
See amurph's post above, or just download the .rar version and extract it to the correct directory.

-Grax

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Thu, 14. May 09, 02:26

How about going one step further and assigning those ships to the player?

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”