The place to discuss scripting and game modifications for X²: The Threat.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
ticaki
- Posts: 4861
- Joined: Wed, 6. Nov 02, 20:31

Post
by ticaki » Sun, 10. Oct 04, 23:59
A little helpful script for owners of a trading station or equipment dock
Download:
your personal downloadpage
Code: Select all
---------------------------------------------------------------------------
- Wares ED-TS -
---------------------------------------------------------------------------
Version : 1, dated 10/04/2004
X² : Version 1.4 (Update 1.4)
Scriptengine : Version 25
Author : Lucike
Translator : Mauzi
---------------------------------------------------------------------------
Purpose : This is a small extension for adding wares to a player owned
trading station or equipment dock. Adding a ware will charge
the station 1000 credits per use.
Use : First off, you start the extension by using the new command
in a custom command slot of the station to which you
wish to add a ware. Next, select a factory or station that
contains the desired ware, and after that the ware itself.
For removing a ware you select the owned station instead,
and the ware you wish to remove.
---------------------------------------------------------------------------
Installation : Copy the file to your X2 games directory, typically
C:\Program Files\EGOSOFT\X2 - The Threat. Doubleclick and the
files will install themselves in the correct directories.
Or extract them in a directory of your choice and copy them
manually like this:
plugin.add.remove.xml
setup.plugin.add.remove.dockware.xml -> ..\scripts\
448000.xml
498000.xml (if available) -> ..\t\
---------------------------------------------------------------------------
Contact : Via Egosoft's bulletin boards
http://www.egosoft.com/x2/forum/index.php
Nickname : Lucike
Or via eMail:
kontakt@lucike.info
---------------------------------------------------------------------------
-
CanadianBrit
- Posts: 1406
- Joined: Wed, 6. Nov 02, 20:31

Post
by CanadianBrit » Mon, 11. Oct 04, 00:41
Will this remove products added to the station prior to the installation of the script?
I hope so cos I've got some I could do with removing!
And it does.
Have removed the spacefly listing from my dock.
Good work Ticaki
-
NeilDingley
- Posts: 163
- Joined: Wed, 25. Aug 04, 21:13

Post
by NeilDingley » Tue, 12. Oct 04, 02:42
This is a small extension for adding wares to a player owned
trading station or equipment dock. Adding a ware will charge
the station 1000 credits per use.
Why should this cost you money. it not like the station has to retool for diffrent wares [Except perhaps slaves]
Plus can you set the maximum amount that can be stored, I'm feed up of having to visit half the universe to get enough 125mW shields for my new Cap Ships, not to mention B,G HEPT/PPC. Hell my little M3 can store more Beta HEPT than the trading dock/factory - That just don't make sense to me.
-
xenon_pimp
- Posts: 1308
- Joined: Mon, 17. May 04, 21:00
Post
by xenon_pimp » Tue, 12. Oct 04, 02:57
I agree, a script like this should let you downright specify the amount of cargo space devoted to a ware. Lets make trading stations useful already.
-
Carl Sumner
- Posts: 5145
- Joined: Mon, 23. Feb 04, 01:28

Post
by Carl Sumner » Tue, 12. Oct 04, 02:57
NeilDingley wrote:Plus can you set the maximum amount that can be stored, I'm feed up of having to visit half the universe to get enough 125mW shields for my new Cap Ships, not to mention B,G HEPT/PPC. Hell my little M3 can store more Beta HEPT than the trading dock/factory - That just don't make sense to me.
I think there is not a script command for that. Dock a stripped-out cargo ship there and transfer from the station as needed. Name it "Cargo Hulk 1".

Tinker
"If engineers built buildings the way programmers write programs, the first woodpecker that came along would destroy civilization!"
-
Carl Sumner
- Posts: 5145
- Joined: Mon, 23. Feb 04, 01:28

Post
by Carl Sumner » Tue, 12. Oct 04, 03:27
ticaki wrote:A little helpful script for owners of a trading station or equipment dock
Yay for ticaki!

Tinker
"If engineers built buildings the way programmers write programs, the first woodpecker that came along would destroy civilization!"
-
Spark
- Posts: 504
- Joined: Sat, 27. Mar 04, 20:47

Post
by Spark » Tue, 12. Oct 04, 11:53
Carl Sumner wrote:ticaki wrote:A little helpful script for owners of a trading station or equipment dock
Yay for ticaki!

Oh yeah?
Well, I feel another move coming on.
This post is completely off-topic in the main forum!
That's why I couldn't find it!
-
conlan
- Posts: 53
- Joined: Tue, 15. Jun 04, 20:58

Post
by conlan » Tue, 12. Oct 04, 12:18
Great to see another script.
Good work and keep them comming!
Conlan
-
Skyman
- Posts: 262
- Joined: Fri, 20. Aug 04, 15:09

Post
by Skyman » Tue, 12. Oct 04, 12:20
Great, now i can get rid of all the rubbish i collected.

"once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." -- Leonardo da Vinci.
-
fchopin
- Posts: 3625
- Joined: Fri, 12. Mar 04, 13:38

Post
by fchopin » Tue, 12. Oct 04, 12:29
So all this script does is add and remove ware from Trading Stations and Equipment Docks.
Quite useful really!
When there are no more games it is time for music.
-
Spark
- Posts: 504
- Joined: Sat, 27. Mar 04, 20:47

Post
by Spark » Tue, 12. Oct 04, 12:33
fchopin wrote:So all this script does is add and remove ware from Trading Stations and Equipment Docks.
Quite useful really!
Very useful!
-
Skyman
- Posts: 262
- Joined: Fri, 20. Aug 04, 15:09

Post
by Skyman » Tue, 12. Oct 04, 12:38
Great stuff, but when do we get a script to allow the EQD to stock upgrades. Or is that reserved for the new player HQ we've just been reading about.

"once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." -- Leonardo da Vinci.
-
euclid
- Moderator (Script&Mod)

- Posts: 13119
- Joined: Sun, 15. Feb 04, 20:12

Post
by euclid » Tue, 12. Oct 04, 15:21
Hmm......why should I want to remove a ware from my ED? Except, of course, in the case the list has growing too long because I've added too much stuff in the first place.
Also adding a ware is simple enough. Just dock a ship which has the ware and you can 'unload' it and set a price.
Is there any additional option provided by that script?
For example adding a ware which one cannot just add in the usual way (upgrades, jump drive etc.)?
Or does it allow to increase the max storage of a particular ware?
Right now I can't see any benefit.
Cheers Euclid
-
fchopin
- Posts: 3625
- Joined: Fri, 12. Mar 04, 13:38

Post
by fchopin » Tue, 12. Oct 04, 15:32
The benefit is you can remove wares if you have made a mistake by adding to many wares in your EQ Dock and also you can add wares even if you have none in your ship.
When there are no more games it is time for music.
-
fchopin
- Posts: 3625
- Joined: Fri, 12. Mar 04, 13:38

Post
by fchopin » Tue, 12. Oct 04, 15:38
Question: What happens if you have a BPH ship for an EQ Dock and then remove a ware from EQ Dock, do you have to set the BPH ship again or will it remember not to buy the removed ware?
I am working now so i can not try this to find the answer.
When there are no more games it is time for music.
-
Spark
- Posts: 504
- Joined: Sat, 27. Mar 04, 20:47

Post
by Spark » Tue, 12. Oct 04, 15:50
fchopin wrote:Question: What happens if you have a BPH ship for an EQ Dock and then remove a ware from EQ Dock, do you have to set the BPH ship again or will it remember not to buy the removed ware?
I am working now so i can not try this to find the answer.
Answer: wait until you get home, then you can try it out
(=I don't know, but I couldn't resist

)
-
fchopin
- Posts: 3625
- Joined: Fri, 12. Mar 04, 13:38

Post
by fchopin » Tue, 12. Oct 04, 16:14
Spark wrote:fchopin wrote:Question: What happens if you have a BPH ship for an EQ Dock and then remove a ware from EQ Dock, do you have to set the BPH ship again or will it remember not to buy the removed ware?
I am working now so i can not try this to find the answer.
Answer: wait until you get home, then you can try it out
(=I don't know, but I couldn't resist

)

Nice one.

When there are no more games it is time for music.
-
Spark
- Posts: 504
- Joined: Sat, 27. Mar 04, 20:47

Post
by Spark » Tue, 12. Oct 04, 16:24
fchopin wrote:Spark wrote:fchopin wrote:Question: What happens if you have a BPH ship for an EQ Dock and then remove a ware from EQ Dock, do you have to set the BPH ship again or will it remember not to buy the removed ware?
I am working now so i can not try this to find the answer.
Answer: wait until you get home, then you can try it out
(=I don't know, but I couldn't resist

)

Nice one.

To make it up to you:
No, you don't need to make adjustments. Everytime BPH evaluates what's in stock. So it automatically detects new wares.
Cheers,
Spark

-
fchopin
- Posts: 3625
- Joined: Fri, 12. Mar 04, 13:38

Post
by fchopin » Tue, 12. Oct 04, 16:41
Spark wrote:fchopin wrote:Spark wrote:fchopin wrote:Question: What happens if you have a BPH ship for an EQ Dock and then remove a ware from EQ Dock, do you have to set the BPH ship again or will it remember not to buy the removed ware?
I am working now so i can not try this to find the answer.
Answer: wait until you get home, then you can try it out
(=I don't know, but I couldn't resist

)

Nice one.

To make it up to you:
No, you don't need to make adjustments. Everytime BPH evaluates what's in stock. So it automatically detects new wares.
Cheers,
Spark

Thanks Spark, but you did not read my post correctly, i was asking about wares you remove form EQ Docks,does it also detect what you remove.
When there are no more games it is time for music.