|
|
 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
Naffarin
Joined: 03 Dec 2005 Posts: 465 on topic

 |
Posted: Sun, 11. Dec 05, 11:36 Post subject: [script] Complex manager, add or remove products from intermediate products |
|
|
The script in the link installs two new commands into the station command console, that allow to add or remove intermediate products to the sellable product list.
Download: http://home.arcor.de/naffarin/complexmanager.zip
Mirror: http://www.player-vs-player.com/X3/Naffarin/complexmanager.zip, big thanks to ericbab
Installation: Unpack the zip file in your x3 installation directory or unpack the contents of the directories in the zip file into the corresponding directories in the x3 directory.
Uninstallation: remove all files in the zip file from your x3 installation
Usage: Enter station menu and open the command console of the station, two new commands "Add product" and "Remove product" will be available.
After selecting one of the two, a selection list containing ALL wares of the station will appear (sorry, didn't find a better solution, if anyone knows if there is a menu for VAR/Resource of SHIP/STation and VAR/Product of SHIP/STation, please let me know ), so you have to select one of the intermediate products on your own. The script should be tolerant enough to do nothing if a resource or product is chosen, so it shouldn't cause any trouble.
Although having tested the script, i don't know if there are any longterm effects, so be cautious when using it.
*Updated the script package to use station command numbers 1148 and 1149, no change in functionality, download only needed if using the remote property manager, changed download url because yahoo doesn't like me anymore *
Last edited by Naffarin on Mon, 12. Dec 05, 17:05; edited 2 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
bendyspex
Joined: 13 Apr 2004 Posts: 708 on topic

|
Posted: Sun, 11. Dec 05, 12:57 Post subject: |
|
|
Thanks. Thats exactly what I have been needing. Finally my power complexes can be useful. Thanks a lot. I'm sure this will help everybody
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
elzar760
Joined: 20 Nov 2005 Posts: 36 on topic

|
Posted: Sun, 11. Dec 05, 19:25 Post subject: |
|
|
Grovels
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Tritous
Joined: 15 Jan 2005 Posts: 874 on topic

|
Posted: Mon, 12. Dec 05, 09:31 Post subject: yey |
|
|
Get this signed mate. It's beautifully simple, and works fantastically. True genius insight into the problem.
_________________ Give a man a fire, he'll stay warm for a day
Set a man on fire, he'll stay warm for the rest of his life  |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Naffarin
Joined: 03 Dec 2005 Posts: 465 on topic

|
Posted: Mon, 12. Dec 05, 10:02 Post subject: |
|
|
Thanks, that's good to hear that it works for someone else, too
I accidentally made a confilict with the command ids of the x3 remote property manager which needs to be fixed first, but that's no change in functionality.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
DemaeRamen
Joined: 06 Mar 2004 Posts: 408 on topic Location: Saf Landun

|
Posted: Mon, 12. Dec 05, 10:17 Post subject: |
|
|
What Tritouws said!
_________________ Always welcome! Cheap and filling! |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Tritous
Joined: 15 Jan 2005 Posts: 874 on topic

|
Posted: Mon, 12. Dec 05, 10:31 Post subject: lol |
|
|
well fix it, get it signed, and lets see if we can get the complexes' complexity fixed for everyone 
_________________ Give a man a fire, he'll stay warm for a day
Set a man on fire, he'll stay warm for the rest of his life  |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Blueman
Joined: 24 Apr 2004 Posts: 706 on topic Location: Terran Homeworld(Netherlands)

|
Posted: Mon, 12. Dec 05, 14:43 Post subject: |
|
|
it doesn't work? i can't find the new options in command console
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Naffarin
Joined: 03 Dec 2005 Posts: 465 on topic

|
Posted: Mon, 12. Dec 05, 15:03 Post subject: |
|
|
You need to use the station command console, maybe this is the problem.
Another possibility would be that you didn't install correctly, please look if you have the following files:
<x3 installation directory>\scripts\setup.plugin.complexManager.xml
<x3 installation directory>\scripts\plugin.complexManager.add.xml
<x3 installation directory>\scripts\plugin.complexManager.remove.xml
<x3 installation directory>\scripts\plugin.complexManager.show.xml
<x3 installation directory>\t\448103.xml
<x3 installation directory>\t\498103.xml
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Blueman
Joined: 24 Apr 2004 Posts: 706 on topic Location: Terran Homeworld(Netherlands)

|
Posted: Mon, 12. Dec 05, 15:20 Post subject: |
|
|
i got all those files but i can't find a option. This is my first script installed so don't i need to activate something or what?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Dgn Master

Joined: 27 Feb 2004 Posts: 1228 on topic Location: Kelowna, B.C. Canada

|
Posted: Mon, 12. Dec 05, 15:29 Post subject: |
|
|
Did you activate the script editor?
Change your name (rename) to Thereshallbewings (won't change your name permanently) then it should work for you.
_________________ Could the parents of the little Argon girl, Suzie, please claim her sealed jar of remains?
She didn't mind the gap and ended up vapourized! |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Blueman
Joined: 24 Apr 2004 Posts: 706 on topic Location: Terran Homeworld(Netherlands)

|
Posted: Mon, 12. Dec 05, 15:34 Post subject: |
|
|
thnx,i am gonna try
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Red Spot

Joined: 04 Feb 2005 Posts: 3224 on topic Location: The Netherlands

|
Posted: Mon, 12. Dec 05, 17:05 Post subject: Re: [script] Complex manager, add or remove products from intermediate products |
|
|
| Naffarin wrote: |
(sorry, didn't find a better solution, if anyone knows if there is a menu for VAR/Resource of SHIP/STation and VAR/Product of SHIP/STation, please let me know |
must first off al say .. havent really checked them out yet ..
but there are 3 usable arguments in a row there ..
1 for getting fab and ware
1 for fab and product
1 for fab and resource
G
_________________ Last edited by Red Spot on Sat, 2. Jul 05, 20:05; edited 34 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Naffarin
Joined: 03 Dec 2005 Posts: 465 on topic

|
Posted: Mon, 12. Dec 05, 17:09 Post subject: |
|
|
Yes, i tried those, too, but then you have to select a station first before you can select a trade ware. My solution works only on the station there the command console is used but misses the selection for resource, product or all wares since i use Var/Ware of Ship (luckily this one works for stations, too)
I would need something like Var/Resource of Ship or something like Var/Resource of Station to make a fully satisfactory solution.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Toowizard
Joined: 22 Feb 2004 Posts: 351 on topic

|
Posted: Wed, 14. Dec 05, 22:05 Post subject: |
|
|
I think this question is related to this script:
I have a complex that contains a cahoona bakery and a cattle ranch -- the idea was buy e-cells, sell cahoonas.
But my UT's (and even NPC traders) are selling beef to the factory. Originally beef was listed as a resource, but I used this script to change that. Now in the station details menu, beef is listed as an intermediate product, but in the adjust station parameters window, beef is listed as a resource and i can set a buying price.
If i set the buying price very low, the UT's seem to stay away, so i guess that's a fix (i just hope they're not buying the beef when i'm not looking).
Is this an expected behavior? Can this be added to your script to stop it somehow? I kind of expected the beef to be completely internal and it wouldn't buy/sell with anyone.
_________________ Cargo bay open, sheilds are down
Your cargo bay now contains... Slaves. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|
 |
|
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
|
 |
|
|
|
|
|