[SCRIPT] Salvage Command Suite V4.11 [29/12/2012]
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 87
- Joined: Sun, 21. Mar 04, 23:18
I do like the idea of this script, but is has a major problem with AP.
A few sectors has well over 50+ dialect / abandoned ships. Even some M2 and mammoth ships are abandoned!!!!!!! Sell one or 2 and you have enough to retire!!!!!
In less then 24 hours of playing albion prelude with this mod, there are well beyond 200+ abandoned ships. FAR TOO MANY!!!!!
It would be nice to have a script that removes all abandoned ships and not allow huge ships to be abandoned.
A few sectors has well over 50+ dialect / abandoned ships. Even some M2 and mammoth ships are abandoned!!!!!!! Sell one or 2 and you have enough to retire!!!!!
In less then 24 hours of playing albion prelude with this mod, there are well beyond 200+ abandoned ships. FAR TOO MANY!!!!!
It would be nice to have a script that removes all abandoned ships and not allow huge ships to be abandoned.
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06
Hi Computertech,
The number of abandoned ships very likely has nothing to do with my mod, if you are using something like the NPC Bailing Mod, I would check your settings aren't too high.
My mod will create one ship every 12 hours (unless you change the settings) and the chances that you will get anything above an M6 are slim. The chance of getting an M1 or M2 are many thousands to 1.
Unless something is going wrong with my scripts, which, although possible is unlikely in this case I think, I would say the problem lies elsewhere.
Hope that's of some help.
@all_other_names_taken,
Sorry I didn't reply, didn't get a notification you'd posted for some reason.
No ETA on the LU version yet, got a whole crap-load of work on at the minute and haven't had time to get into X3 for ages.
The number of abandoned ships very likely has nothing to do with my mod, if you are using something like the NPC Bailing Mod, I would check your settings aren't too high.
My mod will create one ship every 12 hours (unless you change the settings) and the chances that you will get anything above an M6 are slim. The chance of getting an M1 or M2 are many thousands to 1.
Unless something is going wrong with my scripts, which, although possible is unlikely in this case I think, I would say the problem lies elsewhere.
Hope that's of some help.
@all_other_names_taken,
Sorry I didn't reply, didn't get a notification you'd posted for some reason.
No ETA on the LU version yet, got a whole crap-load of work on at the minute and haven't had time to get into X3 for ages.

-
- Posts: 87
- Joined: Sun, 21. Mar 04, 23:18
I only have the bonus package, sat network, and the savage script installed. Sectors in the war area, like treasure chest has over 200 ships and creates. I know the game produces some, but it doesn't seem likely i created that many.
So the script has produced 2 TLs and 5 M8, 4+ m6, within 24 hours at default settings. I have to assume the extreme amount of creates is from this mod along with the bailing odds. I don't have anything installed that affects that.
I even set the npc savage to 1 hour (the lowest i could get it).
So the script has produced 2 TLs and 5 M8, 4+ m6, within 24 hours at default settings. I have to assume the extreme amount of creates is from this mod along with the bailing odds. I don't have anything installed that affects that.
I even set the npc savage to 1 hour (the lowest i could get it).
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06
-
- Posts: 291
- Joined: Sun, 4. Nov 12, 12:06
Is there a way to disable the effect where if the player already owns the targeted item, the "intelligent hotkey" calls in a repair ship, but still retain all other functions? Or, rather, what I am trying to do is, if the targeted item is owned by the player, SCS will open the salvage menu like it does if nothing is targeted, or if the target is an unclaimable item (like a faction owned ship/station, a gate, etc.).
bibo ergo sum
-
- Posts: 291
- Joined: Sun, 4. Nov 12, 12:06
Are you also using the X3TC Apricot Salvage Pack? That one can go into hyper mode and drop ships of almost any class, though the big ones are still relatively uncommon. I had to remove the spawner scripts in my game after coming across 2 Mammoths, 2 Elephants, 2 Xenon Ks, and a. It may be an interaction between the two (this one and Apricotslices) that causes the derelict spam, I have no idea.Computertech wrote:I do like the idea of this script, but is has a major problem with AP.
A few sectors has well over 50+ dialect / abandoned ships. Even some M2 and mammoth ships are abandoned!!!!!!! Sell one or 2 and you have enough to retire!!!!!
In less then 24 hours of playing albion prelude with this mod, there are well beyond 200+ abandoned ships. FAR TOO MANY!!!!!
It would be nice to have a script that removes all abandoned ships and not allow huge ships to be abandoned.
bibo ergo sum
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06
HI GlassDeviant,
If you look at the file scs.hotkey, you will see this:
Comment out lines 78 and 83 (verify the numbers in the actual game though, as they are probably going to be different than IE reports them above).
That should stop the hotkey calling in the repair ship and make it pop-up the menu instead.
If you look at the file scs.hotkey, you will see this:
Code: Select all
074 * Repair Target?
075 if $OWNER == Player
076 |if $HULL < 100
077 ||if $TARGET -> is of class Ship
078 @ |||START $TARGET -> call script 'scs.library' : function='repair.ship, 0'
079 ||else
080 |||set global variable: name='scs.repair.target' value=$TARGET
081 @ |||= $TARGET -> call script 'scs.library' : function='repair.station'
082 ||end
083 ||return [TRUE]
084 |end
085 end
That should stop the hotkey calling in the repair ship and make it pop-up the menu instead.
-
- Posts: 291
- Joined: Sun, 4. Nov 12, 12:06
-
- Posts: 87
- Joined: Sun, 21. Mar 04, 23:18
Not using Apricot Salvage. treasure chest, for example, has so much creates in it, my frame rate went from 60fps (hardcoded) to 10.
I have tried to setup a few transporters, like the mercury to collect them but for some reason, the savage script cannot get the ships to pick them up. I tried a few other types as well (m4, m5, etc), nothing can pick up the creates using the salvage mod. It is able to get the ships though.
I have tried to setup a few transporters, like the mercury to collect them but for some reason, the savage script cannot get the ships to pick them up. I tried a few other types as well (m4, m5, etc), nothing can pick up the creates using the salvage mod. It is able to get the ships though.
-
- Posts: 291
- Joined: Sun, 4. Nov 12, 12:06
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06
@GlassDeviant,
Use the in-game script editor, but good idea to make a backup of the file first!
Scroll down to the scs.hotkey script and open it, then go to the two lines (look for the line, not the line number as some things display different numbers).
Press '.' or ',' whilst the line is highlighted to comment off the line. I forget if it's the period or comma that does it, as I tend to use an external script editor like Exscripter.
@Computertech,
Are you using the built-in Collect Wares command, or the ones from the SCS menu?
Use the in-game script editor, but good idea to make a backup of the file first!
Scroll down to the scs.hotkey script and open it, then go to the two lines (look for the line, not the line number as some things display different numbers).
Press '.' or ',' whilst the line is highlighted to comment off the line. I forget if it's the period or comma that does it, as I tend to use an external script editor like Exscripter.
@Computertech,
Are you using the built-in Collect Wares command, or the ones from the SCS menu?
-
- Posts: 291
- Joined: Sun, 4. Nov 12, 12:06
-
- Posts: 143
- Joined: Sat, 11. Feb 06, 15:49
Hi Guys,
I tried opening the ingame editor and it didn't seem to want to open.
How does that work again?
Anyhow: I used Notepad++ to open the xml file and see something like this (I cut of the lines for readabillity):
85 <line linenr="075" interruptable="@" indent=" "><var>START ....
86 <line linenr="076" indent=" "><text>else</text></line>
87 <line linenr="077" indent=" "> ....
88 <line linenr="078" interruptable="@" indent=" "><var>= </var><var>$TARGET -></var> ...
What do I insert, and where to disable the 2 lines?
I tried opening the ingame editor and it didn't seem to want to open.
How does that work again?
Anyhow: I used Notepad++ to open the xml file and see something like this (I cut of the lines for readabillity):
85 <line linenr="075" interruptable="@" indent=" "><var>START ....
86 <line linenr="076" indent=" "><text>else</text></line>
87 <line linenr="077" indent=" "> ....
88 <line linenr="078" interruptable="@" indent=" "><var>= </var><var>$TARGET -></var> ...
What do I insert, and where to disable the 2 lines?
Do not meddle in the affairs of dragons. For thou art crunchy an taste good with ketchup.
Notice: My website is not always up and running - mostly during the day, but not always - will change soon.
Notice: My website is not always up and running - mostly during the day, but not always - will change soon.
-
- Moderator (Deutsch)
- Posts: 25130
- Joined: Sun, 2. Apr 06, 16:38
You cannot edit script files via Notepad++. The somewhat readable part is just used for displaying the script in your browser when you doubleclick on the script file in the scripts folder (or any folder where the x2script.xsl is present). The actual code is the one between the codearray tags.
What was the problem? Did you follow all steps as described here?Zero Tolerance wrote:I tried opening the ingame editor and it didn't seem to want to open.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06
-
- Posts: 143
- Joined: Sat, 11. Feb 06, 15:49
OK - here's wat happened.
I installed the plugin manager, and used it to install 2 scripts.
After starting the game I saw the "modified" marker so I thought....
What can I say... I am a blond...
After 'changing' my name to ... the script editor works.
The script-change does work completely.
Watch out - line numbers are a bit different.
I installed the plugin manager, and used it to install 2 scripts.
After starting the game I saw the "modified" marker so I thought....
What can I say... I am a blond...
After 'changing' my name to ... the script editor works.
The script-change does work completely.
Watch out - line numbers are a bit different.
Do not meddle in the affairs of dragons. For thou art crunchy an taste good with ketchup.
Notice: My website is not always up and running - mostly during the day, but not always - will change soon.
Notice: My website is not always up and running - mostly during the day, but not always - will change soon.
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06
-
- Posts: 87
- Joined: Sun, 21. Mar 04, 23:18
-
- Posts: 1610
- Joined: Tue, 17. Feb 04, 22:06