[SCRIPT] Salvage Network 2.8 [08.11.08]
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Sorry for the delay everyone, tons of work over XMas...
The new Version 2.4 is available from http://hometown.aol.co.uk/NuHth6/X3_scripts/Salvage.zip.
I hope you like it, and I'm now starting work on more features for the next update!
Happy new year!
The new Version 2.4 is available from http://hometown.aol.co.uk/NuHth6/X3_scripts/Salvage.zip.
I hope you like it, and I'm now starting work on more features for the next update!
Happy new year!
-
- Posts: 245
- Joined: Sat, 14. Feb 04, 11:15
Is this mod compatible with the salvage mod ?
http://forum.egosoft.com/viewtopic.php?t=108768
http://forum.egosoft.com/viewtopic.php?t=108768
This script shouldn't conflict with any other scripts that conform to the compatibility list (as all good scripts should).
If you do experience what you believe may be unexpected results, contact me or the authors of any other script you think may be faulty, good scripters will help as much as possible!
If you do experience what you believe may be unexpected results, contact me or the authors of any other script you think may be faulty, good scripters will help as much as possible!
-
- Posts: 622
- Joined: Mon, 7. Apr 03, 16:29
Couple of questions as ive just started using the salvage mod and network combined.
will the network query only pick up derelicts/freebies that fall within a satellites "sphere of vision" or will it pick up a derelict anywhere in a sector so long as you have a navsat in the sector?
If if will only detect derelicts within the vision of a sat, presumably you have to have more than one sat in each sector to improve the chances of detecting?
will the network query only pick up derelicts/freebies that fall within a satellites "sphere of vision" or will it pick up a derelict anywhere in a sector so long as you have a navsat in the sector?
If if will only detect derelicts within the vision of a sat, presumably you have to have more than one sat in each sector to improve the chances of detecting?
I know what you mean, a pair of Adv. Sats per sector will cost about 4.5 million!
You can (as far as the salvage network is concerned) get away with a single Nav. Sat (or Advanced Sat if you want coordinates too) in as many sectors as you can (there's about 158 that can support a satellite without it being destroyed straight away be enemy forces).
Still not cheap, but the 12 freebie ship will net you around 4-5 million, so it will pay for itself quite quickly!
You can (as far as the salvage network is concerned) get away with a single Nav. Sat (or Advanced Sat if you want coordinates too) in as many sectors as you can (there's about 158 that can support a satellite without it being destroyed straight away be enemy forces).
Still not cheap, but the 12 freebie ship will net you around 4-5 million, so it will pay for itself quite quickly!
The script will try to create a ship every 12 hours. If it is successful, it will wait 24 hours on the next attempt (so you won't get more than one ship a day).
To decrease the time between attempts, you will have to alter the script file AL.spawnships, you can do this through the script editor.
Change the line that reads al engine: set plugin $AL.ID timer interval to 43200 s (line 23 or there abouts).
Change the value 43200 to change the duration between attempts. The value is hours * 3600 (so 3 hours is a value of 10800).
If you change this script, you may have to run the init.TECSG.salvage script again to reinitialise the AL plugin.
To decrease the time between attempts, you will have to alter the script file AL.spawnships, you can do this through the script editor.
Change the line that reads al engine: set plugin $AL.ID timer interval to 43200 s (line 23 or there abouts).
Change the value 43200 to change the duration between attempts. The value is hours * 3600 (so 3 hours is a value of 10800).
If you change this script, you may have to run the init.TECSG.salvage script again to reinitialise the AL plugin.
Thanks Tecsg: So I don't have to re-init for the new chang take effect. Just run the init.....again.TECSG wrote:The script will try to create a ship every 12 hours. If it is successful, it will wait 24 hours on the next attempt (so you won't get more than one ship a day).
To decrease the time between attempts, you will have to alter the script file AL.spawnships, you can do this through the script editor.
Change the line that reads al engine: set plugin $AL.ID timer interval to 43200 s (line 23 or there abouts).
Change the value 43200 to change the duration between attempts. The value is hours * 3600 (so 3 hours is a value of 10800).
If you change this script, you may have to run the init.TECSG.salvage script again to reinitialise the AL plugin.
I'm not sure how X3 stores scripts in memory or caches, the best solution would be to change the value and turn on the 'logging' function (under Artificial life Plugins on the in-game menu) and see if the change takes effect (by when attempts are made to create a ship and are written into the 'logbook').
If it doesn't change, re-run the 'init.TECSG.salvage' script again, that should re-initialise the spawning script automatically.
I suspect the interval for plugins is defined at the 'init' phase of the script and cannot be altered during the game unless the script is initialised again.
If it doesn't change, re-run the 'init.TECSG.salvage' script again, that should re-initialise the spawning script automatically.
I suspect the interval for plugins is defined at the 'init' phase of the script and cannot be altered during the game unless the script is initialised again.
TECSG wrote:I'm not sure how X3 stores scripts in memory or caches, the best solution would be to change the value and turn on the 'logging' function (under Artificial life Plugins on the in-game menu) and see if the change takes effect (by when attempts are made to create a ship and are written into the 'logbook').
If it doesn't change, re-run the 'init.TECSG.salvage' script again, that should re-initialise the spawning script automatically.
I suspect the interval for plugins is defined at the 'init' phase of the script and cannot be altered during the game unless the script is initialised again.
OK I wll try run the ini.... first and let you know if the computer does not explode .
Thanks anyway for your help
It works Tecsg. I re-run the init and accept the change. But I try to change it again and I forget wich bottom I have to click? Is the variable one?TECSG wrote:I'm not sure how X3 stores scripts in memory or caches, the best solution would be to change the value and turn on the 'logging' function (under Artificial life Plugins on the in-game menu) and see if the change takes effect (by when attempts are made to create a ship and are written into the 'logbook').
If it doesn't change, re-run the 'init.TECSG.salvage' script again, that should re-initialise the spawning script automatically.
I suspect the interval for plugins is defined at the 'init' phase of the script and cannot be altered during the game unless the script is initialised again.
I'm afraid that doesn't make a lot of sense in English, I'm guessing that's not your 1st language!
So here's a complete breakdown:
Go in to the script editor, and find the script AL.spawnships.
Edit the script and change the line that reads al engine: set plugin $AL.ID timer interval to 43200 s (line 23 or there abouts).
Highlight the value 43200, press enter and select 'number' and enter what you want the new duration between attempts to be (the value is hours * 3600 (so 3 hours is a value of 10800)).
Save the changes and then find and run the script init.TECSG.salvage, this should update the script.
Does this cover what you wanted?
So here's a complete breakdown:
Go in to the script editor, and find the script AL.spawnships.
Edit the script and change the line that reads al engine: set plugin $AL.ID timer interval to 43200 s (line 23 or there abouts).
Highlight the value 43200, press enter and select 'number' and enter what you want the new duration between attempts to be (the value is hours * 3600 (so 3 hours is a value of 10800)).
Save the changes and then find and run the script init.TECSG.salvage, this should update the script.
Does this cover what you wanted?
Sorry for my bad language and yes your rigth, spanish is my first language. Anyway thanks for the re-teaching again.TECSG wrote:I'm afraid that doesn't make a lot of sense in English, I'm guessing that's not your 1st language!
So here's a complete breakdown:
Go in to the script editor, and find the script AL.spawnships.
Edit the script and change the line that reads al engine: set plugin $AL.ID timer interval to 43200 s (line 23 or there abouts).
Highlight the value 43200, press enter and select 'number' and enter what you want the new duration between attempts to be (the value is hours * 3600 (so 3 hours is a value of 10800)).
Save the changes and then find and run the script init.TECSG.salvage, this should update the script.
Does this cover what you wanted?