[SCRIPT] Target Nearest Unscanned Asteroid v1.09 [UPDATED 09-10-06]

The place to discuss scripting and game modifications for X³: Reunion.

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

Post Reply
Bunny
Posts: 1138
Joined: Mon, 1. Dec 03, 20:44

[SCRIPT] Target Nearest Unscanned Asteroid v1.09 [UPDATED 09-10-06]

Post by Bunny » Fri, 29. Sep 06, 16:12

Target Nearest Unscanned Asteroid v1.09

What it does:
Does what the title says using a hotkey (player ship only).

Required Equipment
None

Zip and Cycrow installer spk file
Hosted by Xai Corporation - Download

Version History
1.09 Menu slot removed (now hotkey only) & requirement for mineral scanner lifted (not much use without one though :) )
1.08 Original release

Notes on upgrading from 1.08
Version 1.09 uses different files so remove all the v1.08 files from the t and scripts directories.
You will also need to reassign the hotkey in the controls interface. The hotkey used by v1.08 is automatically unregistered when v1.09 starts.

**** Before uninstalling this script v1.09 you should run plugin.find.astro.uninstall from the script editor to unregister the hotkey. There will be a confirmation message in your log when this is successful.

text page 8955
text file 8955
No command slot used
Last edited by Bunny on Mon, 9. Oct 06, 12:17, edited 4 times in total.

User avatar
R.Styles
Posts: 248
Joined: Sun, 6. Aug 06, 22:19

Post by R.Styles » Fri, 29. Sep 06, 16:56

is a version using the script installer possible?
very useful for scouting for places to put a new mine.

Bunny
Posts: 1138
Joined: Mon, 1. Dec 03, 20:44

Post by Bunny » Fri, 29. Sep 06, 17:02

The download contains spk file, so go ahead (forgot to mention that).

User avatar
Lucike
Posts: 12333
Joined: Sun, 9. May 04, 21:26

Post by Lucike » Thu, 5. Oct 06, 09:31

Image

darkelfsin
Posts: 149
Joined: Sat, 2. Sep 06, 00:05

Post by darkelfsin » Thu, 5. Oct 06, 10:56

great work,,,

with this one i can remove the astroid soon...... :lol: .

Bunny
Posts: 1138
Joined: Mon, 1. Dec 03, 20:44

Post by Bunny » Thu, 5. Oct 06, 16:42

Lucike wrote:I think ...

scripts@egosoft.com
:o
I guess this fits the profile of what they look for.
Thanks for the suggestion.

User avatar
Lucike
Posts: 12333
Joined: Sun, 9. May 04, 21:26

Post by Lucike » Fri, 6. Oct 06, 09:56

Don't send please at Egosoft. I have the script already and we make the remainder here.

I like this idea. The script has 47 lines and we can stamp it fast. ;)

But we need multi language, like this:

Code: Select all

039   $HotKey8 =  read text: page=$PageID id=107
040   
041   if not get global variable: name='weapon.control.hotkey8'
042    $HotKey =  register hotkey $HotKey8 to call script 'plugin.weapon.control8'
043    set global variable: name='weapon.control.hotkey8' value=$HotKey
044   end
Filenames must be "setup.plugin.find.astro.xml" and "plugin.find.astro.main.xml". The variablename must be "find.astro.hotkey". The "setup.plugin..." and "plugin...." is important.

The TextID must be written in a global variable, like "find.astro.text.id"

Code: Select all

024   $PageID = 8006
025   load text: id=$PageID
026   set global variable: name='weapon.control.text.id' value=$PageID
Then we can make the deal. ;)

Greets
Lucike
Image

Bunny
Posts: 1138
Joined: Mon, 1. Dec 03, 20:44

Post by Bunny » Fri, 6. Oct 06, 10:57

Okay, that is something to do over the weekend :)

darkelfsin
Posts: 149
Joined: Sat, 2. Sep 06, 00:05

...

Post by darkelfsin » Sat, 7. Oct 06, 16:11

this script conflict with the LV cheat script create ship command...........


pity........ :roll:

Bunny
Posts: 1138
Joined: Mon, 1. Dec 03, 20:44

Post by Bunny » Mon, 9. Oct 06, 12:14

Hence the reason for this list

Updated version only uses the hot key so the command slot requirement is removed (put simply - no more conflict).

Post Reply

Return to “X³: Reunion - Scripts and Modding”