EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] Empire Supply Logistics (Formerly [CDS] by Klaatu) 2011-04-03
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
vizerei





Joined: 21 Feb 2006
Posts: 24 on topic
Location: USA (Iraq Currently)
Thank you for registering your game
modified
PostPosted: Sun, 3. Apr 11, 22:00    Post subject: [SCRIPT] Empire Supply Logistics (Formerly [CDS] by Klaatu) 2011-04-03 Reply with quote Print

Empire Supply Logistics (ESL)

Original Script by Klaatu (Reproduced with permission from Klaatu)

::This script is free to be reused in your scripts/mods as long as you say thankyou in your topic Very Happy::

Efficient Supply Logistics For Your Burgeoning Trade Empire!

Tired of your freighters wasting their flight time by traveling empty half of the time? Tired of paying and training a pilot to do the job a slightly trained Terran monkey/Paranid could do? Do you have two interdependent complexes that need wares from each other? If so, this script is for you!

V1.02 or Click Here For Zip-File.

Description:
Adds a new command to the trade menu: Empire Supply Logistics.
This script will double the efficiency of freighters transporting supplies between your factories and/or complexes by allowing your freighter to not waste their cargo space on a return trip by coming back empty.

Example:

  • You have a Ore/Silicon complex in Freedom's Reach that needs energy
  • You have a Energy/Production Complex that's NOT in Freedom's Reach that needs Silicon and/or Ore
  • You're poor and only have one freighter

This script will allow you to select Energy Cells to bring to your Silicon/Ore complex and have the same freighter return with both Silicon and Ore (space allowing)!

Requirements:

  • A ship of any class
  • Trade Command Software Mk II

Features:

  • Freighter (or M3, or TL, my M1) can be a 1-way Trader, transporting wares only one way between Player-Owned stations and returning empty handed, or be a 2-way Trader transporting wares between two Player-Owned stations.
  • Transport up to 2 wares per station
  • Huge ship class (Read: TL) can be used to as long as the TL can dock at the stations (automatic Freight Drone usage coming soon!). I recommend Advanced Complex Hub to really get the most out of your TLs!
  • Script restarts itself in the event of a version upgrade so there is no need to reissue the commands to working freighters already using ESL (except in the case of upgrading from Cargo Delivery Service).
  • Configurable "Station Reserve" that is off limits to the ESL Trader
  • Dead-Lock Avoidance! If the ESL trader can't fill it's hold to the desired level at Station A but Station B has the goods Station A needs the trader will bring what it can (great for brand new complexes needing energy).
  • Automatic Jumpdrive usage (if installed) and energy replenishment from the stations that the ESL trader is serving. In addition if your ESL traders jump energy is set to zero the ESL trader will only fill enough jump energy to make the jump and not waste cargo space on unneeded energy cells!
  • Configurable minimum cargo bay to fill before departing.
  • In the event that the freighter is damaged or one of the stations ceases to exist (stupid IR Kha'ak!) the ESL trader will dock at the nearest shipyard and send a notification message.
  • Being as this is only meant to do the job of a trained Terran monkey/Paranid there is absolutely no enemy avoidance. Some may disagree that this is a feature.

Improvements from Cargo Delivery Service and:

  • Ability to carry two wares instead of one
  • Ability to use TL-Class and other Huge Ships for your traders (great for hub and spoke logistics chains)
  • Jump algorithm has been fixed to prevent the trader from jumping to the middle of the sector

Coming Soon:

  • Automatic Freight Drone usage!
  • Unlimited Number of Wares for all of you missile/weapon super complex people (that includes me Very Happy)
  • Three-Station (Round Robin) Logistics
  • User-configurable ware prioritization (Say that three times fast!)

Installation:
Stop all CDS traders you have running and save. Remove the CDS script files from your X3:TC install and install ESL. You will have to reconfigure your traders (Sorry but I'm not a good enough at scripting to make it completely seamless :[). This uses the same t-file (8316) as CDS and as such will overwrite CDS's t-file.

Uninstallation:
Stop all of your ESL traders and save your game. Remove the script either by Cycrow's X3 Plugin Manager or by manually removing the files yourself.



Last edited by vizerei on Sun, 3. Apr 11, 23:10; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
vizerei





Joined: 21 Feb 2006
Posts: 24 on topic
Location: USA (Iraq Currently)
Thank you for registering your game
modified
PostPosted: Sun, 3. Apr 11, 22:01    Post subject: Revision Information Reply with quote Print

(I get it now)

Spoiler

[Future] ESL Version 1.03
-Added a check that allows the freighter to start with the second station if it's already docked there or in the same sector.
-Added a check to see if Freighter is already carrying goods from one station so that it can pick up where it left off or start going right right way initially instead of wasting a trip.
-Freight Drones?!?!
Spoiler


ESL Version 1.02
-Fixed bug in 1.01 release that caused the player to be prompted for Station B selection twice

ESL Version 1.01
-Initial Release
-Reworked Jumping script to prevent traders from jumping to middle of sector.
-Made ESL a TL compatible script
-Added ability to haul two wares



Last edited by vizerei on Mon, 4. Apr 11, 00:53; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
vizerei





Joined: 21 Feb 2006
Posts: 24 on topic
Location: USA (Iraq Currently)
Thank you for registering your game
PostPosted: Sun, 3. Apr 11, 22:06    Post subject: Reply with quote Print

(RESERVED)

Once again, the cool kids do it and I have no idea why I'm following suit.

Back to top
View user's profile Send private message Visit poster's website AIM Address
rujikin





Joined: 22 Jul 2005
Posts: 329 on topic
Location: The MOOOON!
Thank you for registering your game
PostPosted: Sat, 21. May 11, 04:17    Post subject: Reply with quote Print

I installed this but I am not getting the empire supply logistics command in my trade menu. Is this compatible with 3.1?


_________________
Using X3 AP + All TC plots enabled
Back to top
View user's profile Send private message
kerusker





Joined: 19 Sep 2010



PostPosted: Fri, 8. Jul 11, 10:31    Post subject: Reply with quote Print

The setup*.xml file is missing in both .zip and .spk.
So this command will not work for anyone.

Maybe the reason there are no posts here?

Greetings,
Kerusker

Back to top
View user's profile Send private message
Nibel





Joined: 29 Apr 2006



PostPosted: Sat, 25. Feb 12, 22:42    Post subject: Reply with quote Print

work with AP ?
link is broken btw

Back to top
View user's profile Send private message
kelmenwong





Joined: 17 Mar 2012
Posts: 195 on topic

Thank you for registering your game
PostPosted: Sat, 21. Apr 12, 10:47    Post subject: Reply with quote Print

don't think this work for AP

the expected command doesn't show up in the Trade command
the ship is equipped Trade MK2

Back to top
View user's profile Send private message
waz21





Joined: 01 Jun 2008
Posts: 1 on topic

Thank you for registering your game
PostPosted: Wed, 26. Mar 14, 01:33    Post subject: Reply with quote Print

link is broken
anyone find an alternative link?

Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Fri, 20. Oct 17, 19:56

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.35140 seconds, sql queries = 22