[SCRIPT] LazCorp Claim Derelict Ship v1.03a *Update 29.11.2008 Hotkey Added

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

Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

[SCRIPT] LazCorp Claim Derelict Ship v1.03a *Update 29.11.2008 Hotkey Added

Post by Lazerath »

===========================================
Name: LazCorp Claim Derelict Ship
Version: V1.03a
Author: Lazerath
Released: 11/11/2008 (dd/mm/yyyy)
Updated: 29/11/2008
Website: http://lazcorp.lazerath.com/
===========================================

:arrow: Download LazCorp Claim Derelict Ship (Requires Cycrows Plugin Manager found Here!)

===========================================

Script Compatibility:

X3 Terran Conflict

Script Adds:
Ship Piracy Menu Command: LazCorp Claim Derelict Ship

LazCorp has recently worked out a deal with all the major races in the Universe. They have upgraded all race "Navigational Command Software MK1" so pilots can claim ships with out having to purchase other upgrades. There is no fee associated with this upgrade because LazCorp wants to help ensure the safety of all pilots.

You do NOT need to purchase any other equipment from any race to use this upgrade except "Navigation Command Software MK1".

You MUST be within 10km of the targeted derelict ship to claim it. This software upgrade is NOT illegal.

PS: Yes, I know that Cycrow has already released a great Salvage Claim script and this is NOT meant to take away from him or his script in anyway. I simply do not want to travel around the Universe looking for this type of upgrade. So I made the script for myself and figured I'd release it for anyone else who wants to use it.

:arrow: Ver 1.03a (New Release)

* Repackaged the spk due to a missing file in intial v1.03 release

:arrow: Ver 1.03

* Fixed Issue with claiming pirate ships that were not moving but still had a pilot. Non-moving pirate ships with a pilot are no longer claimable.

:arrow: Ver 1.02a

* Fixed issue with hotkey claiming any targeted ship in the universe.

:arrow: Ver 1.02 (Removed due to scripting error)

* Added hotkey support Go to Controls => Interface => Extensions
Hotkey Command: LazCorp Claim Derelict Ship

Cheers!
Last edited by Lazerath on Tue, 5. Jan 10, 05:13, edited 10 times in total.
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
Troubleshooter11
Posts: 728
Joined: Sat, 8. Nov 08, 02:51
x4

Post by Troubleshooter11 »

I was hoping someone would make another ship claiming script since i couldnt get Cycrow's script to work for me.

Thanks Lazerath :)

(No offense to Cycrow ofcourse. :) )
KRM398
Posts: 1556
Joined: Wed, 6. Nov 02, 20:31
xr

Post by KRM398 »

Do you mean ships with "no pilots" in them like after fights? Derelicts are usually the one that the game has sitting around, like shotup battleships and TL's from long ago fights. The salvage claim mod also made derelicts for you to get like freighters, etc...but I didnt know 'no pilot' ships were considered derelicts.
machao762
Posts: 1
Joined: Tue, 7. Oct 08, 11:43

Post by machao762 »

I LIKE IT . thanks!
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

KRM398 wrote:Do you mean ships with "no pilots" in them like after fights? Derelicts are usually the one that the game has sitting around, like shotup battleships and TL's from long ago fights. The salvage claim mod also made derelicts for you to get like freighters, etc...but I didnt know 'no pilot' ships were considered derelicts.
It is simply the name I chose for the script because Salvage Claim was already taken.

Derelict in this case being either the free ships laying around the universe or ones with no pilot (pilot bails etc).,

Cheers!
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
microfan
Posts: 2
Joined: Thu, 6. Mar 08, 03:06
x4

Post by microfan »

Thank you, but I can't download it............... :cry:
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

I just checked and the downloads worked fine for me. What issue are you having with the download?
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
Puruco
Posts: 527
Joined: Tue, 6. Dec 05, 00:09
x3

Post by Puruco »

Hi Laz:

Can you make a hot key for this script?

Ty...:)
User avatar
corhen
Posts: 338
Joined: Thu, 16. Oct 08, 08:45
x3tc

Post by corhen »

thanks, this was what i needed.

I had problems getting Cycrows one to work, this works well

two requests, could you add a hotkey, and have the claim button when you have a empty ship targeted, do this?
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

I will work on getting a hotkey setup for this command. I am not sure if its possible to to use the claim ship button (on the menu) but I will look into it. ;-)

Cheers!
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

Update:

Added support for Hotkey.
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
Puruco
Posts: 527
Joined: Tue, 6. Dec 05, 00:09
x3

Post by Puruco »

Ty Laz for the hot key...:)
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

Re-release of Version 1.02(a) which fixes an error within the script which allowed players to claim any targeted ship with the hotkey. (missed that issue during testing, sorry)!


Cheers
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
microfan
Posts: 2
Joined: Thu, 6. Mar 08, 03:06
x4

Post by microfan »

Nice,that was what I needed。
but。。。I cant download it,I cant connect your link in my Country area。。。(I had tried in your way that right click and save the link...again an again.but not succeed)


So。。,Could you send me by E-mail?

Thank you very much!

microfan@gmail.com
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

Email has been sent. Are you receiving an error or something when trying to download it?
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
User avatar
[Sentinel]
Posts: 704
Joined: Thu, 6. May 04, 17:48
x4

Post by [Sentinel] »

At a "Protect Station"-Mission I could claim two Pirate M6 and one M8 (still Pirate). I saw that the Pirate ships has no race in their IDs (M6... instead PM6...), so tried to claim them, and it worked.

Could you maybe change your command from "claim target" to "claim all derelict ships within 10 km"? Because I use MARS on an Elephant and all the derelict ships will be haul to it. So its easier to give this command remotely to the Elephant.
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

I will look into both of these things ;-)
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
xiriod
Posts: 1131
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by xiriod »

Great script, I was searching for something like this. I set my range to 5km as I like that range in X3:R :) Keep up the good work!
Lazerath
Posts: 874
Joined: Tue, 22. Mar 05, 06:31
x4

Post by Lazerath »

Thanks ;-)
COMPUTER SPECS
[Mobo] SABERTOOTH 990FX R2.0
[CPU] AMD FX-9370 8 Cores 4.4 - 4.7GHZ 16MB DDR3-1866
[Cooling] Corsair Hydro Series H80I CPU Cooler System
[Video] Evga 970 GTX SC 3.5Gb Ram ==> [Ram] G-Skills Ripjaws X 16GB
[Harddrive] (2) x Samsung 850 Evo 250GB SSD
[Harddrive] Samsung 840 Series 120GB SSD ==> [Harddrive] WD BLACK 1TB 64MB 7200RPM
[Disc Player] LG 14X BLU-RAY BURNER ==> [Case] Thermaltake A71 Chaser [Windows 7 Pro]
xiriod
Posts: 1131
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by xiriod »

Noticed a "feature" in your script. I was doing a protect base mission, and one of the pirates came to a halt at 0 m/s. Knowing that this is one of the factors that decides if you can claim ship or not I tried and I claimed it even though it had not bailed.

I had to destroy it anyway though, as it was a mission critical object and it only gets released if it is killed or if it bails.

So maybe a check that the ship is indeed free? :)

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