Page 1 of 3

[SCRIPT] Advanced Mineral Scanner v1.31 09/12/06

Posted: Tue, 6. Dec 05, 09:12
by A dJ
English | Deutsch

Allows you to scan Asteroids quickly without the necessity of targeting them first as is with the standard mineral scanner.

Update v1.31
  • - Quick Fix
Update v1.30
  • - Added ability to set BBS priority.
    - Added ability to set the type of BBS messages that are displayed or none at all.
    - Added ability to uninstall the script with the click of a button.
    - Added option to show scanning results.
Download
Readme

: Plugin Name :
  • Advanced Mineral Scanner

: Author :
  • A dJ

: Translated by :
  • X-Freak Cartman [KBG]: Deutsch, German.

: Version :
  • 1.31

: Description :
  • Features:
    • Advanced Mineral Scanning device
      • Available for purchase at a few Teladi Space Equipment Docks.
        Added specially designed heavy-duty power switch. (Artificial Life setting)
    • BBS Items
      • 1x Advertisement (Entire X-Universe)
        2x Tech-news (Teladi/Paranid sectors)
        3x Different offers for selling the device (2x Entire X-Universe/1x for you to find)

    Operating Instructions:
    • Scan: Get within range of the asteroids to scan then slow your ship to a crawl.
      Switch on/off: press Escape, click Gameplay, click Artificial Life settings & select mode.
      Show menu: Switch off and you'll receive an incoming question. Switch back on if you'd like to keep the scanner running.

    Detailed Specifications:
    • Max Operating Speed: 34km/h
      Max Scanning Range : Currently installed scanning equipment (none/duplex/triplex).
      Scanning Interval : 2s
      Scanning Delay : 100ms
      Current Price : 158.204 credits.

: Change Log :

  • v1.31
    • - Fix.
    v1.30
    • - Added ability to set BBS priority.
      - Added ability to set the type of BBS messages that are displayed or none at all.
      - Added ability to uninstall the script with the click of a button.
      - Added option to show scanning results.
    v1.22
    • - BBS Fixes. (Text & Code)
      • - Messages should display less often.
    v1.21
    • - Fixed Ware Placement for good ( + ware is always in the universe).
      - Lots of minor code changes & improvements.
    v1.20
    • - Ware removal script added (for uninstallation purposes)
      - Improved the Scanning Script
      • - Rewritten & optimized hopefully (again).
        - Added a few checks.
      - Fixed an error where every savegame load would add more scanners for sale (I think it did).
    v1.19
    • - Increased Scanning Delay.
      - Added Maximum Operating Speed.
      - Added 6 BBS Items.
    v1.11
    • - Optimized code for a possible 0.001 FPS increase.
      - Minor AL text change.
    v1.10
    • - Scanning function relocated from Special Commands Menu to Artificial Life settings.
      - Rewritten entirely and some minor changes.
    v1.01
    • - Set scanning range to be the same as the currently installed scanner. (None/
      Duplex/Triplex that would be 10/20/30 Km)
    v1.00
    • - Initial release

: Installation Instructions :
  • 1) Uninstall any version prior to v1.10
    2) Install the script package (.spk) with the plugin manager by cycrow.
    3) Start the game.
    4) Start a new game or load a savegame.

: Uninstall Instructions :
  • *tip: Sell all your advanced mineral scanners to dock mechanics first.
  • 1) Load a savegame and open the advanced mineral scanner config menu, select the uninstall now button.
    2) Save & repeat step 1 for all your savegames (just to be safe).
    3) Quit the game.
    4) Start the plugin manager, select advanced mineral scanner and then remove script files.

: Technical Data :
  • Text File Used
    • 447770

    Text Page Used

    • 7770

    Command Extension Ware Used

    • 28;0;0;0;0;69;5853;0;5635;1;1;0;5635;-100000;0;0;SS_WARE_SW_NEW11; 158,203


*note 1) You'll need to activate the script editor before this will work.

*note 2) I've made this script with some help of LV's scripts, thank you for sharing them LV.

Posted: Tue, 6. Dec 05, 09:50
by DeltaWolf
Nice - very usefull :D

Posted: Tue, 6. Dec 05, 10:02
by 999-JAY-999
Top notch...... :)

Posted: Tue, 6. Dec 05, 11:32
by TycHouse
Neat idea, just a suggestion though.

Could you make it *scanner_range* instead of a fixed 25km ??

That would seem more logical to me. I used the following in an X2 script:

Code: Select all

$range = 20000
skip if not [This] -> get amount of ware Duplex Scanner in cargo bay
    $range = 40000
skip if not [This] -> get amount of ware Triplex Scanner in cargo bay
    $range = 60000
I've not tried scripting in X3 yet, but i guess the scan ranges would be similar.

TycHouse

Posted: Tue, 6. Dec 05, 14:14
by A dJ
Myself wrote:
TycHouse wrote:Neat idea, just a suggestion though.

Could you make it *scanner_range* instead of a fixed 25km ??

TycHouse
Should be possible, I'll look into it.
Done !

Posted: Tue, 6. Dec 05, 16:55
by 999-JAY-999
wow speedy gonzarlis !....

what service!..

:wink:

This will come into its own more so I feel once the mining module part is fixed in the game....

Posted: Wed, 7. Dec 05, 04:02
by Sandalpocalypse
Hey, pretty nifty. Although mining seems more the Paranid thing.

Posted: Wed, 7. Dec 05, 15:59
by A dJ
Sandalpocalypse wrote:Hey, pretty nifty. Although mining seems more the Paranid thing.
Well I thought, since the Teladi are the moneygrubbers and the time being saved by this scanner counts for money, they'd be the ones developing such things.
But If anyone else disagrees I suppose I could change it as well as more/less/fixed stations which sell the device.

Any other suggestions are of course welcome, and if my skills allow it, I'll add some things I have in mind also and update the script.

Posted: Mon, 12. Dec 05, 21:31
by A dJ
New version for download :P

Posted: Mon, 12. Dec 05, 23:42
by DemaeRamen
This is a cracker!

Thank you very much!

Posted: Tue, 13. Dec 05, 23:56
by Sandalpocalypse
after using it a couple times it is too powerful i think.

it needs to take a long time to run, or be hard to get, or cost a lot, or something.

Posted: Wed, 14. Dec 05, 00:50
by A dJ
@sandalpocalypse
True, I had some similar thoughts. But should it have a higher delay between each scan and/or the scanning itself? And if so, how much? It's currently set to run at a 2 second interval & 10ms between each single scan. I do not know how to alter prices yet so it has to be timing for now.


But...I'm currently trying to script some BBS occurances, it's almost done and only needs some better texts.
My idea was to have 1 advertisement thru Galnet News and a few seperate occurances here and there. Plus having a Dock Mechanic or such buy the Scanner of your hands.

Posted: Fri, 16. Dec 05, 20:59
by A dJ
A dJ wrote:New version for download :P
:roll:

Posted: Fri, 16. Dec 05, 22:43
by DemaeRamen
I see what you guys mean about it being too powerful but I personally like how the previous version makes it nearly automated.

I'd be happy to have the ship need to slow down like that if I could get the AI to do the scans.

I doubt it's possible but it might be more acceptible left as in 1.10 (?) but made into an XL or ST ware so you have to use a large-ish vessel to do that kind of scanning.

Just my tup'north.

Posted: Fri, 16. Dec 05, 22:55
by A dJ
A dJ wrote:Well you can put back 1 file from the v1.10 or v1.11 archive to change it back like it was, just overwrite the newer one.

The file you need is --> scripts\adj.advminscan.scan.xml

You can also try and edit the file using the Script Editor, not that hard really. Look for the line --- 003 $maxspeed = 34. Change 34 to whatever you like and save.
EDIT: this no longer works with v1.20 or above.

Edit the file scripts\al.adj.advminscan.main.xml

On line 024 to the right enter Maximum Speed, Delay, Player & Ship. Save & re-activate the AL-Option.

Posted: Thu, 22. Dec 05, 17:30
by DaveyP
OK, I copied all the files to all the right places, I bought it at a Teladi trading station, I checked in the arificial life settings, and made sure it was enabled, and........ nothing.

What am I doing wrong?

I cruise past asteroids at about 10ms, and they still don't show up as scanned. I've probably done something very stupid, but what?

Ta.

Posted: Thu, 22. Dec 05, 18:53
by A dJ
DaveyP wrote:OK, I copied all the files to all the right places, I bought it at a Teladi trading station, I checked in the arificial life settings, and made sure it was enabled, and........ nothing.

What am I doing wrong?

I cruise past asteroids at about 10ms, and they still don't show up as scanned. I've probably done something very stupid, but what?

Ta.
I have no idea to be honest.
If you've done everything as described in the readme then it should work perfectly.

Otherwise you're the first to report a problem.

You sure you got everything right?

Posted: Thu, 22. Dec 05, 21:53
by DaveyP
If I bring up the sector map, I take it the asteroids should show up as scanned?

Should it work if I just get near an asteroid, set speed to 10, and wait?

Since nobody else has had a problem, it *must* be me

Posted: Thu, 22. Dec 05, 22:01
by A dJ
DaveyP wrote:If I bring up the sector map, I take it the asteroids should show up as scanned?

Should it work if I just get near an asteroid, set speed to 10, and wait?

Since nobody else has had a problem, it *must* be me
1)No, not immediatly, takes a sec or so.
2)Yes
3)Probably yes.

Have you enabled the script editor?
What scanners do you have installed?

Posted: Fri, 23. Dec 05, 19:24
by DaveyP
Yup, script editor is enabled.

I have a Nova with triplex scanner