[Script] Freight Logistics Software
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- Jimmy Jazz
- Posts: 794
- Joined: Wed, 4. Jun 03, 17:20
[Script] Freight Logistics Software
Important: This script works without any known issues. Unfortunately I never found the time to develop the script further, especially the command signals were asked for by many people.
But do not despair, Klaatu has improved the script and added better funcionality. You will find it at:
http://forum.egosoft.com/viewtopic.php?t=124953
Many thanks to Klaatu
----------------------
Freight Logistics Software
By Jazz Industries
Trade Software for the Industrial Moguls
Access through the ships Trade menu, TradeSoft MKII required
Adds two new commands to the ships trade menu:
NEW: One Way Delivery: Delivers a ware from one of your stations to another and returns empty. This it will do forever and ever and ever….
Two Way Delivery: Delivers a ware from one of your stations to another and returns with a second ware. This it will do forever and ever and ever….
Why do I need this?
Imagine you have an industrial complex that needs silicon and a silicon mine that needs energy. With FLS you can assign a freighter to deliver energy from your complex to the mine and return with the silicon. No money is involved. This way you can give the mine zero credits and it will work nevertheless. Industrial complexes can now become truly self sufficient even without being connected to a mine.
The software does not discriminate between products and resources. This means you can load energy cells from a complex although it uses it as a resource.
When does it stop working?:
If the hull of your ship drops below 80% or if one of the stations is destroyed it will fly to the nearest shipyard and send you a message.
How to install:
Just extract the archive into the main game folder. The next time you start the game, you should see the commands in the trade menu
Download at:
http://plutonium.schattenseite.de/fls.zip
Resources used:
Text ID: 44-8216
Command_Type_Trade_48
Command_Type_Trade_48
Suggestions, comments?
But do not despair, Klaatu has improved the script and added better funcionality. You will find it at:
http://forum.egosoft.com/viewtopic.php?t=124953
Many thanks to Klaatu
----------------------
Freight Logistics Software
By Jazz Industries
Trade Software for the Industrial Moguls
Access through the ships Trade menu, TradeSoft MKII required
Adds two new commands to the ships trade menu:
NEW: One Way Delivery: Delivers a ware from one of your stations to another and returns empty. This it will do forever and ever and ever….
Two Way Delivery: Delivers a ware from one of your stations to another and returns with a second ware. This it will do forever and ever and ever….
Why do I need this?
Imagine you have an industrial complex that needs silicon and a silicon mine that needs energy. With FLS you can assign a freighter to deliver energy from your complex to the mine and return with the silicon. No money is involved. This way you can give the mine zero credits and it will work nevertheless. Industrial complexes can now become truly self sufficient even without being connected to a mine.
The software does not discriminate between products and resources. This means you can load energy cells from a complex although it uses it as a resource.
When does it stop working?:
If the hull of your ship drops below 80% or if one of the stations is destroyed it will fly to the nearest shipyard and send you a message.
How to install:
Just extract the archive into the main game folder. The next time you start the game, you should see the commands in the trade menu
Download at:
http://plutonium.schattenseite.de/fls.zip
Resources used:
Text ID: 44-8216
Command_Type_Trade_48
Command_Type_Trade_48
Suggestions, comments?
Last edited by Jimmy Jazz on Wed, 1. Feb 06, 12:50, edited 3 times in total.
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
Jimmy Jazz, I am currently trying to make a script that will collect e-cells from my complex and sell them. I think some slugs have better scripting abilities than me, but this shows me that I can make a script that will make a freighter collect resources. Maybe you could adapt that script, or show me how you did it. All I want the script to do is have one freighter collect e-cells and sell them, then just repeat that.
Anything you can do is appreciated, thanks.
Anything you can do is appreciated, thanks.
- Jimmy Jazz
- Posts: 794
- Joined: Wed, 4. Jun 03, 17:20
I am currently pretty busy, barely find the time for scripting
If you want to pick up e-cells from your complex you need the right argument in your script. Argument station/product lets you chose a product only, station/resource lets you pick e-cells from your complex (or any other resource). The most useful argument in your case imo is station/ware since it lets you chose resources and products. Thus you can sell resources from your complex.
For the selling for best price part, why don't you try to find a similar script and adapt to your needs or try to learn from them
If you want the script to run forever, you have to loop it with the "while" command, don't forget to implement an interupt for the loop, or it will truly run forever
Hope this helped
If you want to pick up e-cells from your complex you need the right argument in your script. Argument station/product lets you chose a product only, station/resource lets you pick e-cells from your complex (or any other resource). The most useful argument in your case imo is station/ware since it lets you chose resources and products. Thus you can sell resources from your complex.
For the selling for best price part, why don't you try to find a similar script and adapt to your needs or try to learn from them
If you want the script to run forever, you have to loop it with the "while" command, don't forget to implement an interupt for the loop, or it will truly run forever
Hope this helped
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
- Jimmy Jazz
- Posts: 794
- Joined: Wed, 4. Jun 03, 17:20
- Jimmy Jazz
- Posts: 794
- Joined: Wed, 4. Jun 03, 17:20
Nice script, works pretty good!
But how about to upgrade the FLS script that the transport can use his jumpdrive for stations far away?
He can get the required energy from the stations pool he visits. Only as much he need for one transfer, jumps to destination, unloading the goods, gets new energy he needs for jumping back and so on.
Helps alot when your complexes or stations are around the universe and you have to support it with goods, that other complexes or stations far away produces.
At the moment i must do that frequently by using manual commands. Not really fun!
But how about to upgrade the FLS script that the transport can use his jumpdrive for stations far away?
He can get the required energy from the stations pool he visits. Only as much he need for one transfer, jumps to destination, unloading the goods, gets new energy he needs for jumping back and so on.
Helps alot when your complexes or stations are around the universe and you have to support it with goods, that other complexes or stations far away produces.
At the moment i must do that frequently by using manual commands. Not really fun!
-
- Posts: 12
- Joined: Sun, 20. Nov 05, 12:49
oh yes, exactly what I DO need!! a one way script. pls, pls release it. even without the trade option. just a one way delievery.
by the way, I try to run your two way script, my editor is enabled, script loaded, but when I give the command to my trasnporter nothing happens and he send me an email without any message. what do I wrong?
thy a lot for your work.
by the way, I try to run your two way script, my editor is enabled, script loaded, but when I give the command to my trasnporter nothing happens and he send me an email without any message. what do I wrong?
thy a lot for your work.
-
- Posts: 417
- Joined: Thu, 23. Dec 04, 03:02
How do i get this script to work? I've enabled the script editor installed the script and i can highlight the script but what do i do after that? I've pressed r to load the scipt but then I have two choices i've tried both but whatever one i chose i stillo dont have the option in the ts trade section to choose this script.
AMD65 3700+
Asus A8N Sli Deluxe
BFG 7800
1.5GB 3200
Soundblaster X-Fi Fatality
Asus A8N Sli Deluxe
BFG 7800
1.5GB 3200
Soundblaster X-Fi Fatality
- Jimmy Jazz
- Posts: 794
- Joined: Wed, 4. Jun 03, 17:20
- Sandalpocalypse
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28