Salvage Script v2.5

The place to discuss scripting and game modifications for X²: The Threat.

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

Post Reply
AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Salvage Script v2.5

Post by AalaarDB » Wed, 7. Apr 04, 07:24

Salvage Scripts v2.3
Salvage Scripts v2.5

Written by AalaarDB, special thanks to Kryptyc and TMG SG1

*Important*If you are upgrading from any version to 2.5: Undock all player ships from the scrapyard in Argon Prime, and put all autosalvaging ships on idle BEFORE applying the patch!!! *Important*

This script pack will add 10 stations, 2 wares, and 2 commands. All work together to allow the player to salvage derelect ships his/herself or remotely command ships to search and salvage.

To install, unzip to main installation folder..

To run: Purchase Salvage License -located at the nearest trading dock or equipment dock to a scrapyard- for each ship that will be salvaging. Also purchase as many Repair and Debug AIs as you will need, derelects require 1 per ship. Find a run down ship, they are slightly different than all others. Run the Piracy Command Salvage Derelect. Do not try to salvage ships called Ship Debris!!!!

Version 2: There are now 20 derelects scattered throughtout the galaxy. Each time you find and salvage one, another one appears (random shiptype and timer) You can salvage almost all ships, including capital ships (10% chance compared to regular ships), Xenon ships (non cap) and Khaak ships (10% chance compared to regular ships, and khaak caps are 1%) Also tweaked the autosalvage to be more useful and realistic. Carriers and TLs will now autosalvage (be careful!). If you are running version 1.*, follow the important thingy, then install like normal, nothing else required. I have not tested autosalvage or the mwm mission, but I have tested playership salvaging and derelect spawning and seeing as it's 2am that's good enough for me.
2.1: fixed having large ships docked to carriers and tls that can't normally dock them. known bug: argon mammoth is listed twice, dun feel like fixing it
2.2: changed spelling to derelict, wares now called repair and debug ai drone, autosalvaging ships will no longer jump to sectors you don't know, fixed wares not spawning when upgrading from certain versions, changes will take immediate effect
2.3: changed spawning ratios on xenon, khaak, big ship, increased spawning delay, randomized spawning of wares, fixed station can't run 2 scripts at once (oops didn't know that)
2.5: fixed autosalvaging, maybe more stuff I dunno
Last edited by AalaarDB on Fri, 25. Jun 04, 22:56, edited 22 times in total.

User avatar
Apothos
Posts: 3949
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by Apothos » Wed, 7. Apr 04, 07:25

Nice idea. Up there with the sporadic Pirate M6 script. :)

The_Rock
Posts: 4088
Joined: Wed, 6. Nov 02, 20:31
x2

Post by The_Rock » Wed, 7. Apr 04, 07:28

Apothos wrote:Nice idea. Up there with the sporadic Pirate M6 script. :)
Definitely.. :)
"How very touching his meaningless death was. But this fight was never for mortals".

User avatar
dcheng7475
Posts: 170
Joined: Wed, 3. Mar 04, 04:22
x3

Post by dcheng7475 » Wed, 7. Apr 04, 12:22

Report Bug: The number of Merchant Scrapyard keep increasing in Argon Prime.
"Strength Is Irrelevant, Resistance Is Futile. You Will Be Assimilated."

User avatar
dcheng7475
Posts: 170
Joined: Wed, 3. Mar 04, 04:22
x3

Post by dcheng7475 » Wed, 7. Apr 04, 21:20

so once i install 1.2, will the other scrapyard dissapear?
"Strength Is Irrelevant, Resistance Is Futile. You Will Be Assimilated."

AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB » Wed, 7. Apr 04, 21:57

If you saved the game with 2 or more scrapyards download this:Delete Scrapyards
Put those files into your scripts folder. Cut the init.derelect.xml file and paste it in a temp folder. Run the game once, wait a few seconds, save and exit. Delete init.deletescrapyards.xml and delete delete.scrapyards.xml. Put the init.derelect back into the scripts folder. Run the game like normal.

If you saved the game with 1 or less scrapyards or never used version 1 or 1.1 then don't download anything.

PsychoticFx
Posts: 176
Joined: Wed, 3. Dec 03, 06:20
x3tc

Post by PsychoticFx » Wed, 7. Apr 04, 22:04

I downloaded 1.2 but the zip file still reads version1. Did you just forget to change version #, or should I wait?
"Giggity Giggity"

AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB » Wed, 7. Apr 04, 22:09

that's just the zip file name, dun worry about it.
If I change the file name, I must also change the link
Last edited by AalaarDB on Wed, 7. Apr 04, 22:44, edited 1 time in total.

PsychoticFx
Posts: 176
Joined: Wed, 3. Dec 03, 06:20
x3tc

Post by PsychoticFx » Wed, 7. Apr 04, 22:10

Gracias :thumb_up: Will try it out now :D
"Giggity Giggity"

Howlingmad
Posts: 1252
Joined: Wed, 6. Nov 02, 20:31
x3

Post by Howlingmad » Wed, 7. Apr 04, 23:58

Apothos wrote:Nice idea. Up there with the sporadic Pirate M6 script. :)
Why thank you for saying so. :D
What no sig or avatar. I wonder why?:(

The_Rock
Posts: 4088
Joined: Wed, 6. Nov 02, 20:31
x2

Post by The_Rock » Thu, 8. Apr 04, 00:04

Howlingmad wrote:
Apothos wrote:Nice idea. Up there with the sporadic Pirate M6 script. :)
Why thank you for saying so. :D
that weren't yours.

You bloody thieving attention seeking old man..:P
"How very touching his meaningless death was. But this fight was never for mortals".

AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB » Thu, 8. Apr 04, 00:09

Well I didn't want to say anything because I did write it after all, but it was HowlingMad's idea. Also, I recall thinking of salvaging when I was a newbie scripter but discarded it as impossible and forgot about it :gruebel:

Howlingmad
Posts: 1252
Joined: Wed, 6. Nov 02, 20:31
x3

Post by Howlingmad » Thu, 8. Apr 04, 00:29

I'm just jazzin with you aalaardb.

To everyone, I did think of the idea and asked aalaardb if it was possible, where upon this amazing scripting talent exploded and wrote the wonderful script you have before you in 2 days.

So all credit goes to aalaardb for bringing my rather lamely expressed idea to fruition.

Ladies and Gentlemen, I give you Aalaardb. [ external image ][ external image ][ external image ][ external image ]
Last edited by Howlingmad on Thu, 8. Apr 04, 09:59, edited 1 time in total.
What no sig or avatar. I wonder why?:(

The_Rock
Posts: 4088
Joined: Wed, 6. Nov 02, 20:31
x2

Post by The_Rock » Thu, 8. Apr 04, 07:15

I stand corrected.. :o
"How very touching his meaningless death was. But this fight was never for mortals".

Howlingmad
Posts: 1252
Joined: Wed, 6. Nov 02, 20:31
x3

Post by Howlingmad » Thu, 8. Apr 04, 09:59

The_Rock wrote:I stand corrected.. :o
:P :wink:
What no sig or avatar. I wonder why?:(

User avatar
Sagan
Posts: 693
Joined: Fri, 25. Apr 03, 20:05
x4

Post by Sagan » Fri, 9. Apr 04, 00:42

The_Rock wrote:I stand corrected.. :o
Anyone got any smelling salts??... I think I'm going to faint :o

I'm sure I can hear the theme to the Twilight Zone playing somewhere too :roll:
I'd much rather regret the things I've done, than regret those I haven't.

Ushiikun
Posts: 129
Joined: Tue, 2. Mar 04, 05:26
x2

Post by Ushiikun » Fri, 9. Apr 04, 20:00

This is the first script that I'm gong to use, and I'm wondering if the Liscence is once and done deal, or do I have to buy multiples like the police one?
I am a bomb technician, if you see me running, try to keep up, cause either someone has tapped a fresh keg, or something has gone desperately wrong!!
Providing the enemy the opportunity to die for his country!!
IYAAYAS!!!

AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB » Fri, 9. Apr 04, 20:06

Once per ship, like a mining drill.

Spoonburger
Posts: 281
Joined: Sun, 22. Feb 04, 23:29
x3tc

Post by Spoonburger » Sat, 10. Apr 04, 00:21

Well then, installed the script and I am still to find any ships 2 salvage :(

Ne'er mind

I'll keep trying!
_______________________________________
Warning, cargo bay open...

User avatar
Dark_Knight
Posts: 196
Joined: Sat, 27. Sep 03, 00:20
x3tc

Post by Dark_Knight » Sat, 10. Apr 04, 03:13

The tading ports are all out of Repair and Debug AIs .

Do they spawn or are they made, if so where?

Post Reply

Return to “X²: The Threat - Scripts and Modding”