[SCRIPT Sector Scanner v1.10 by Nividium 9/23/2007

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

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

User avatar
Nividium
Posts: 800
Joined: Tue, 21. Aug 07, 01:31

[SCRIPT Sector Scanner v1.10 by Nividium 9/23/2007

Post by Nividium »

Nividium Sector Scanner for X3 Reunion.

Name of Script Package Sector Scanner
Version Number 1.10
Date Released 9/07/2007
Last Updated 9/23/2007
Script Created For X3 Reunion v 2.0.02
File Package Available X3 Script Installer "SPK"

Download the "SPK" file format package here: Sector Scanner v1.10
Description:

This script adds a [General Command] - [Scan Sector] button to your ship's console. It is a software upgrade to your Mineral and Triplex Scanners. It automates the process of scanning an entire Sector of all objects. It is an all purpose general Sector scanner software package especially designed with the Nividium miner in mind. The scan process is slow because the Nividium Sector Scanner software behaves just like a human pilot and requires a ship to fly to within 7km of each Asteroid and Debris field. This is required because in order to use a Mineral Scanner for scanning, you would need to be within 7-8km of the object being scanned. Also, at any given time, the total view of space is limited to a 60km diameter (Triplex Scanner installed). So, the ship can only see within that range and then when it does see something it needs to move up close (7km) in order to scan it.

Features:

- Scans for large Asteriods and updates your Sector map with the type of mineral and yields.
It also keeps track of how many Nividium asteriods there are.
- Scans for Nividium Rock Debris Fields and places a Nav Beacon in the center of the fields.
View an image of how the Nav Beacons are named and look in Sector map here: Sector Map showing Nav Beacon names
NOTE: You can disable the showing (listing) of Nav Beacons in your "View Properties" page by selecting "No" in the "show other" class of ships. (They still show up in Sector maps though).
- Scans for Flying Wares and keeps track of how many there are.
- Scans for Abandoned Ships and keeps track of how many there are.
- Scans a 180Km by 180Km "snake" search pattern (this cannot be changed).
View an image that shows the "snake" search pattern here: Snake Search Pattern
- When the ship has finished scanning, it sends you an email with general results found.
View an image of the email message log here: Message Log Report
- The ship needs to be already in the Sector that is to be scanned, before you start the Scan Command. I was going to code in a "select Sector" bit and have the ship jump or fly to sector, but felt that this is not appropriate for a Scan Command when you already have Navigation Commands to do that.
- Does not rely on, require or use Satelites to be able to scan a Sector. It uses the ship's Triplex Scanner and Mineral Scanner to find and scan objects.
- The Playership cannot use this software. Only other Player owned ships can use the command.

Equipment:

- Mineral Scanner (Required)
- Triplex Scanner (Required) (Nividium miners only use the best equipment)

Installation: Use the X3 Script Installer.

Uninstall: Use the X3 Script Installer.

Version History: Version 1.00 Initial Release.

Command Slots Used: "<t id="857">COMMAND_TYPE_GENERAL_57</t>"

Text File Used: 447237.xml
Last edited by Nividium on Tue, 9. Jun 09, 23:08, edited 3 times in total.
fud
Posts: 9837
Joined: Wed, 25. Jan 06, 14:26
x3

Post by fud »

Very cool.
Pogi
Posts: 522
Joined: Thu, 13. Apr 06, 12:35
x2

Post by Pogi »

I really like this script and use it alot in my game...I have a small request for a change if possible.

There is a couple of ships in the game, the Disco Raider and Pirate Harrier Raider that come equipped with Tri-Plex scanner. I would like to use one of those ships because my scanning would go much faster (takes a very, very long time now). If you could "remove" the M5 limitation it would be great..Thanks
X3..The most fun a man can have...With his clothes on.
User avatar
Nividium
Posts: 800
Joined: Tue, 21. Aug 07, 01:31

Post by Nividium »

Pogi wrote:I really like this script and use it alot in my game...I have a small request for a change if possible.

There is a couple of ships in the game, the Disco Raider and Pirate Harrier Raider that come equipped with Tri-Plex scanner. I would like to use one of those ships because my scanning would go much faster (takes a very, very long time now). If you could "remove" the M5 limitation it would be great..Thanks
IGNORE THE TEXT BELOW, I WAS HAVING A BORON MOMENT

Yes, the main reason for that limitation, is because the M5 category is chocked full of non "ship" type ships ie: Astronot etc. To write code to prevent all of them from using the scanner would be nuts, so I just excluded the whole lot. On the flip side though, I might be able to "include" other M5 real ships in a "check" script, but then I would have to check each and every race's M5 ships and sort through them all and have a "check" script that is huge. I don't know Pogi. Maybe just write to Egosoft and ask them to reclassify "real ships" within the M5 class and leave all the Beacons, Satelights, Spacesuits and stuff in another class. It is real dumb the way they did that. :D
Last edited by Nividium on Sun, 23. Sep 07, 16:32, edited 2 times in total.
Pogi
Posts: 522
Joined: Thu, 13. Apr 06, 12:35
x2

Post by Pogi »

Ok...I understand your reasoning now. :)
X3..The most fun a man can have...With his clothes on.
User avatar
Nividium
Posts: 800
Joined: Tue, 21. Aug 07, 01:31

Post by Nividium »

No, sorry. I was thinking of some other script. The Sector Scanner has no limitations on class. You can use an M5 class ship with the Sector Scanner IF the ship can install a Triplex Scanner AND a Mineral Scanner. Any "Moveable Ship" will work. Maybe you got an older pre-version of the script were some last minute adjustments were left out. Try d/l installing the script again and try a regular M5 Discoverer (with T and M scanner installed) it works just fine. The Disco Raider cannot use a Mineral Scanner or something, I forget now.

EDIT: Ok, hang on. Crap. I see what the problem is. I used "get true amount of ware Triplex Scanner in Cargo Bay".

It should be "get amount of ware Triplex Scanner in Cargo Bay". I thought "True" meant just that. Get the true amount whether it is installed or just sitting in cargo bay floor. Man this X3 script language is really beginning to piss me off. Anyhow, I updated the script and it should work with your Disc Raider now. :D
Pogi
Posts: 522
Joined: Thu, 13. Apr 06, 12:35
x2

Post by Pogi »

Great!..I downloaded it again and will re-install..Thanks :)
X3..The most fun a man can have...With his clothes on.
B-O'F
Posts: 724
Joined: Sat, 21. Feb 04, 02:15
x3tc

Post by B-O'F »

Hi Nividium,

Sir, I take great offence to your remark above, to wit:-
IGNORE THE TEXT BELOW, I WAS HAVING A BORON MOMENT
No, not really, more like I resemble that remark - the scripting language does not always do what it says, or what you expect, and some commands just do not work... great fun isn't it?

Boron - Ol Fh'art
Public Service announcement

Growing old is not a disease - it is a delayed symptom of birth trauma.
User avatar
Nividium
Posts: 800
Joined: Tue, 21. Aug 07, 01:31

Post by Nividium »

Yes, I know. The get true amount of ware says in the manual that it gets all wares "except" for those that are installed as "weapons/shields". But a Triplex Scanner is neither of those things. Also, that command works fine if the Triplex Scanner is not "pre-installed" into a ship ie just a plain Discoverer that has a Triplex Scanner installed at purchase or later, but when the command is used on the Discover Raider (which has the Triplex Scanner pre-installed), then the friggen command fails. So, now I had to replace the command, with just "get ware in cargo bay" and keep my fingers crossed. To me a "get True amount of something, should return the TRUE amount whether installed or collecting dust on the cargo bay floor :D Oh well.
Pogi
Posts: 522
Joined: Thu, 13. Apr 06, 12:35
x2

Post by Pogi »

Take a deep breath....Calm...Close your eyes and imagine a warm sunny day at the beach..

High blood is not good for you...


Dr. Pogi................. :lol:
X3..The most fun a man can have...With his clothes on.
HD the Terran
Posts: 16
Joined: Sun, 14. Oct 07, 05:19
x3

Post by HD the Terran »

I feel like I'm spamming the board in some way... :lol:

Anyway, this is continued (sort of) from my post under the AutoPreacher thread.

As mentioned there, AP seems to have taken over two scripts, one of them being nividium.sector.scanner.v1.10. 'Taken over' in that AP is required to be installed for either of the the other two to display the command on the appropriate menu, anymore.

In addition, the sector scanner general command seems to conflict with LV's Cheat 1.4's General menu command to spawn UTs. I had to disable the UT spawn part of that script, save and come back to get the sector scanner command to return.

No big deal, I guess. I never use that cheat anyway...

HD
"Will turning on my <CAPSLOCK> key help me to capture enemy ships?" :)

"Why is that rumbling noise getting louder and just where is that Argon Mammoth I just passed, anyway?" :)
User avatar
Nividium
Posts: 800
Joined: Tue, 21. Aug 07, 01:31

Post by Nividium »

Hello HD the Terran,
there should be no problem like that happening. The command slots used are not even the same as LV's or even my own.

"<t id="746">COMMAND_TYPE_CUSTOM_46</t>" Auto Preacher
"<t id="857">COMMAND_TYPE_GENERAL_57</t>" Sector Scanner

Text lanuguage files used:

447238 Auto Preacher
447237 Sector Scanner

There are no other scripts registered for those slots or text file names.
HD the Terran
Posts: 16
Joined: Sun, 14. Oct 07, 05:19
x3

Post by HD the Terran »

Hey, I was just mentioning what was happening. It seemed strange to me, too.

I do run many ships and other scripts, though, and I did try to install XTM (then uninstalled and deleted it off when it didn't work), so who knows what is causing it?

HD
"Will turning on my <CAPSLOCK> key help me to capture enemy ships?" :)

"Why is that rumbling noise getting louder and just where is that Argon Mammoth I just passed, anyway?" :)
dargj2
Posts: 443
Joined: Tue, 3. Jun 08, 22:08
x3tc

Post by dargj2 »

Download link dead :( any alternatives?
User avatar
MBD
Posts: 837
Joined: Mon, 27. Mar 06, 17:03
x3tc

Post by MBD »

I have a copy. PM your e-mail address and I'll send it to you.
"We always were English and we always will be English and it's because we are English that we're sticking up for our rights to be Burgundians." - Passport to Pimlico 1949
User avatar
Nividium
Posts: 800
Joined: Tue, 21. Aug 07, 01:31

Post by Nividium »

The download link has been fixed.

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