EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[Script] Dock Manager 1.02
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
Khaakbuster





Joined: 08 Jan 2006
Posts: 377 on topic

Thank you for registering your game
modified
PostPosted: Tue, 15. Feb 11, 01:35    Post subject: [Script] Dock Manager 1.02 Reply with quote Print

Dock Manager 1.02



Dock Manager 1.02 ZIP



This script will install another command to your Trading-/Equipment Docks and the HQ - the "Dock Manager". This will allow two things:


1. View/Add/Remove ware transfer jobs for your dock (Trading Station/Equipment Dock/HQ):

These jobs will allow your dock to automatically transfer wares from another station in the same sector (only player owned stations) up to a defined limit on that dock using transporter technology. With this you can virtually link your dock to a complex or station.

Each job costs an initial fee of 500.000 credits for setting up the transporter. You can add multiple jobs for a station or ware. You can even add multiple jobs for the same ware and station. Just remember that every new transfer costs credits.


2. View/Add/Remove ship upgrades on docks (Equipment Docks only):

This will allow you to outfit your ships in your own docks. You can select upgrades to install on any one of your equipment docks for a license fee. This fee is twice the average price of the upgrade and is just for a license to produce the ware on that dock. It doesn't include any actual upgrade.

Adding the upgrade itself is done by a task that runs on the dock and adds each licensed upgrade for its average price. The task will make sure that at least one unit of an upgrade is available (if the player has enough money to afford it Wink ).
If you want you can even store spare upgrades from your ships in the equipment dock.


Hints:

  • You can exit all menus with the ESC key. That's why I didn't add any "Quit" buttons.
  • All costs will be payed from the player account.
  • This script will NOT run on the Xenon Hub.
  • It is possible to transfer upgrades to your ship even if it already has that upgrade. This is a game engine limitation. The upgrade will vanish and a new one will be installed on the dock. So if you like to waste money... Wink
  • I strongly recommend a mod which increases cargo capacity for all docks.



Installing:

Just copy the scripts and t folder from the ZIP archive to your X3:TC directory. The new command will be installed the next time you start X3:TC.


Uninstalling:

Open the script editor and run the script "plugin.kb.dock.manager.uninstall". It will stop the tasks and remove the transfer jobs and upgrades.
For every upgrade that is stored on your docks you will get the average price transfered to your player account.
If you want to keep some of the upgrades for later use move them to ships before running the uninstaller!
After that save and exit the game. Remove the script files.


Usage of Dock Manager:

1. Choose the "Dock Manager" using the command console of your dock.

The Main Menu:



2. First you have to add a transfer job so choose "Manage Dock Settings" and then "Add Transfer".

The Settings Menu:



3. You will be presented a list of your own stations from this sector. Choose one as the source for the transfer.

4. Select a ware from that station.

5. Select the limit. This means the maximum amount of that ware that you want to store on your dock. You don't have to consider the volume for this ware as the script does this automatically. The maximum amount that you can select is shown in the upper right corner.

6. Repeat steps 2 to 5 if you want to add more wares to your dock.

Active transfers on my HQ:



7. Exit the settings menu and select "Start Dock Manager"

This will start a task that will cycle through all the configured transfer jobs (one every 5 seconds) and transfer the wares to the dock. After each cycle there will be a delay of 60s.



Usage of Ship Upgrades:

1. Choose the "Dock Manager" using the command console of your dock.

2. You will first have to add at least one new licensed ship upgrade to your Equipment Dock. Select "Manage Dock Upgrades" and then "Add Upgrades".

Add Upgrades Screen:



Once you have selected all the upgrades that you like choose "Install Upgrades". Now you will be charged the license fee.
A task will automatically start on that dock to keep the stock at a minimum of 1 unit per upgrade.

Equipment Dock with the selected upgrades:




I have worked and tested as carefully as I could but please report any bugs that you find.



Used resources:
Text page: 8040
Station Command slot: 1145


Version History
1.0 Initial Version
1.01 Bug fix for Upgrade Removal
1.02 Bug fix for transfer problem with certain ware capacities - Please restart the Dock Manager command on your docks or do a "reinit script cache" in the script editor.


_________________
My Scripts:
Switch Turret Orders
Advanced Nanite Hull Repair
Dock Manager
List Blueprints
XTC 2.2 - Repair Laser on Normal Difficulty


Last edited by Khaakbuster on Tue, 22. Feb 11, 00:51; edited 1 time in total
Back to top
View user's profile Send private message
Khaakbuster





Joined: 08 Jan 2006
Posts: 377 on topic

Thank you for registering your game
PostPosted: Mon, 21. Feb 11, 00:24    Post subject: Reply with quote Print

*new version 1.01 available*

It could happen when removing an upgrade from an equipment dock that the task was not updated properly. This has been fixed.


_________________
My Scripts:
Switch Turret Orders
Advanced Nanite Hull Repair
Dock Manager
List Blueprints
XTC 2.2 - Repair Laser on Normal Difficulty
Back to top
View user's profile Send private message
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, 17. Aug 18, 15:44

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

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