[SCR] (24.08.09) Fleet Supply V2 [beta]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite » Thu, 18. Dec 08, 01:51

So an equipment dock (supply dock) is required for all of these commands right? That's kinda disappointing, I really wanted some supply commands that tell my ships to shop around at NPC stations until they have all the gear that they're supposed to get.

I don't own any stations at the moment but I'm always spending tons of time equipping ESTs.

Not to crap on the mod. This is a VERY good idea and once I can actually afford an Equipment Dock I'll probably try it out :)
Last edited by amirite on Thu, 18. Dec 08, 03:20, edited 1 time in total.
-TEVE

Thrandisher
Posts: 357
Joined: Sun, 1. Jul 07, 03:33
x3tc

Post by Thrandisher » Thu, 18. Dec 08, 02:34

So far i know the following can be used.

Equipment dock, Hub, PHQ, Millitary Outpost (im useing Military Outpost at Shipyard v.1 from amurph0).


I havent tested it, but i think you can take a M1, take a TS and make the M1 his homebase, then run the, Carrier Supply, command on the TS. And it will supply the M1.


Doing a EST is really easy with this. Do your config for a TS ship (set it up the wares needed for a EST), then select your TS, hit the self supply, select your dock, then hit go. Ship will land there, and auto gear and be set up for a EST in a few seconds. It does take out the money from your global account for each ware so it doesnt cheat that way. The only way you could cheat it is if your enemies with the Teladi and cant buy a mk3 normaly.

Ive been useing the script for a few week and ill admit it has saved my head from gaining a few more grey hairs ;)
The mongrels will never get over THIS wall.

DaOpa
Posts: 913
Joined: Sun, 28. Jan 07, 18:55

Post by DaOpa » Thu, 18. Dec 08, 08:51

Thrandisher wrote:Ive been useing the script for a few week and ill admit it has saved my head from gaining a few more grey hairs ;)
Morning

This is a nice compliment! :D

I considerate to remove the 100k Cr per hour and make the single goods more expensive. It is intendet to sell the equipment at normal way too at your supply Dock.

I had expected that anybody would find more bugs in the normal behaviour of the CST's :roll: But it seems to be OK :D

Greetings

Thrandisher
Posts: 357
Joined: Sun, 1. Jul 07, 03:33
x3tc

Post by Thrandisher » Thu, 18. Dec 08, 12:23

The only thing i could see with the CST's is that if a cst is trying to equip a ship that is landed at a factory, they sit outside and wait in standby mode.

I dont know if they blacklist the ship for a time period if they cant deliver or just sit outside and stalk them until they can deliver.

Other then that, they seem to be working pretty good.
The mongrels will never get over THIS wall.

DaOpa
Posts: 913
Joined: Sun, 28. Jan 07, 18:55

Post by DaOpa » Thu, 18. Dec 08, 12:42

Morning

That the carrier is docked was no possibility for me :oops: Stalker :D I correct it!

Greetings

EDIT: I'll make that the supply dock refill all own landed ships.

amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite » Thu, 18. Dec 08, 23:30

Okay, I am trying this out now and I gotta say, it's great. It's much less of a hassle than I thought. One thing I don't get though: where is the Setup command? I can't figure out how to configure the wares on my dock. Is that waremanager mod required for this?
Last edited by amirite on Fri, 19. Dec 08, 00:29, edited 2 times in total.
-TEVE

Thrandisher
Posts: 357
Joined: Sun, 1. Jul 07, 03:33
x3tc

Post by Thrandisher » Fri, 19. Dec 08, 00:09

Bring up your ship console (control-c by default) then go to, ship commands. The one where you have 2 options just under turent controls.
Select one of those 2 slots and then select, Configure Supply. That should bring up a meny called, fleet supply, The rest is there. One readtext error on the missle menu with the latest version. The bottom say's M7 but it really is Dock.
The mongrels will never get over THIS wall.

amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite » Fri, 19. Dec 08, 00:33

Ah sweet thanks, I knew I was missing something. So is there a way to save/load different setups so I don't have to have all TSes supplied the same way? This config menu is quite confusing.
-TEVE

Thrandisher
Posts: 357
Joined: Sun, 1. Jul 07, 03:33
x3tc

Post by Thrandisher » Fri, 19. Dec 08, 00:46

There is no save like that. The trouble i could see with such a thing is that you could switch config's like that, but once you swich, your automatic guy's will head out and supply the other ts's real fast.

Things i see that might help you with headaches at first are.

Dock supply, the ts needs a dock as a homebase.

Carrier Supply, the ts needs the carrier you want supplyed as a homebase.

Self-supply, The ship will fly to the dock you tell it as long as it doesnt have to go through a enemy sector. If it say's it cant find a safe route to supply at, that generaly means there is a enemy sector he has to go through to get to a dock.

If you get a message saying that the ts you set as a carrier supply cant do it, chances are his homebase isnt set, same with the dock supply.


Also, make sure you tell your eq dock to be a supply dock. Or you will get a error saying your dock supply cant do it. ;)
The mongrels will never get over THIS wall.

DaOpa
Posts: 913
Joined: Sun, 28. Jan 07, 18:55

Post by DaOpa » Fri, 19. Dec 08, 10:13

Morning

The HQ-CST only needs a dock as homebase. For the command self supply is a dock with activated "supply dock" nessesary.

To save more configurations is a little bit difficult. X supports arrays but not as easy as it should be. For the config I've used many arrays and 2d-arrays and I tried to make the save-function possible.

As note: TS will never be supplied by CST's, if it isn't so, we have found a new bug :D

M3 - M5, M6 and M8 only supplied by "fighter supply".
M1, M2, TL, M7, M7M supplied by CST's
TS, TP, TM only equiped when "self supply"

I have to sit down and write a better instruction! :shock:

Please send me a lot of boxes with much more time inside :roll:

Greetings

amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite » Fri, 19. Dec 08, 17:39

A better description may be necesarry. It's okay though, I know the translation thing can get hairy. Let me see if I understand this right:

- To get self-supplied, ALL ships NEED to fly directly to the Supply Dock you chose after the command.
- CSTs will go to supply these ships instead if you have any working for the Supply Dock (or is this only with Fighter Supply?)
- After I configure what wares I want each shiptype to be supplied with, do I use a CAG to actually go to get the products? I don't get this yet because none of my configured products are showing up in my dock yet (I'm using a Pirate Base). I don't really get how I'm supposed to stock my Supply Dock with the correct items.
-Carrier supply I don't get either; does this basically make your carrier a mini Supply Dock? Or does a TS just go back and forth between the Carrier and the Supply Dock?

Thanks in advance for the help.

Saving multiple configurations would be a godsend. But I know that is probably a major feature that will take some time. Still, if you can do it, then this would be a complete supply solution for fleets and I might want to hump your leg.
-TEVE

DaOpa
Posts: 913
Joined: Sun, 28. Jan 07, 18:55

Post by DaOpa » Fri, 19. Dec 08, 18:03

Hello

I'll try to explain!

- if you choose "supply dock" command on a dock, all selected and under "dock" defined wares will be added to the dock.
- "self supply" send the ship to one of your supply docks and add weapons, equipment and wares to it.
- "carrier supply" let the TS or M3 buy the wares it's homebase (carrier, M2, M7, M7M) needs.
- the HQ-CST only delivers wares from dock (wich must be his homebase) to carriers, M2, M7, M7M in his jump range.
- "fighter supply" refill all carrier-owned ships of type M8, M6 and fighter.

Equipment couldn't be delivered from CST's!

The next Update will include the TL-CST (like a mobile supply dock) with it's own trnasporters and for docks the possibility to refill all player owned landed ships without weapons, but with equipment and all other defined wares.

Hope this was a easier description! I also hope to find enough time over Xmas to complete the script this year and write, with help, a better description. A few little bugs are still inside and are known. For many of them the fix is ready and this weekend online!

Greetings

amirite
Posts: 243
Joined: Thu, 23. Oct 08, 22:01

Post by amirite » Sat, 20. Dec 08, 05:15

Ok I think I understand now. This does some great stuff, I just didn't get exactly HOW until now :)

I have one more small question: How do I add software/upgrades to my supply dock?

Oh and where do I select what shields will be given to M3-M5 when they use Self Supply or fighter supply?
-TEVE

Thrandisher
Posts: 357
Joined: Sun, 1. Jul 07, 03:33
x3tc

Post by Thrandisher » Sun, 21. Dec 08, 03:15

For the shields, goto yoru config and in the section, Wares setup, add in the type of shield and then you should be able to tell it you want the dock to hold so many. I think with 25mj, 6 is the limit a dock can hold. I think tho with his next update, it will have the stuff to deliever to the dock?

I know i added a 25mj shield, told it i wanted 4x shields to be on stock at all times. My Carrier TS supplyer ran out instantly and bought it up at a local place for me.

I looked at and saw in one of the files that it would do something for shield upgrades, and rudder/engine/acceleration. But im pretty novice on code parts so i dunno what it was all for.

As for the software/upgrades, go into config and hit eqiupment, then add a software there, then select what ships ya want it on. I dont think it actually puts a upgrade on the dock, just enables auto buying/supplying of it.
The mongrels will never get over THIS wall.

DaOpa
Posts: 913
Joined: Sun, 28. Jan 07, 18:55

Post by DaOpa » Sun, 21. Dec 08, 16:27

Hello

Transdisher is right in many parts!

But you must not select the shield type manually! When self supply the ship search automatically for the best shield type that can be installed at the dock.
At first it wasn't able to select shields or weapons as goods. But for fighting drones a must make more possible.

The configuration at equipment or weapons setup ONLY interests the ships with command self supply! No other script uses them.

The possibility to set shields or weapons to the docks is like the dock-ware-manager from Lucike and they are compatible.

My script doesn't buy things for the dock! For docks and stations Lucike's commercial agent is a very good script and why should I develop the weel again :wink:

As I wrote in older posts I'll make the supply dock more effectiv and usefull for the player. But I need a little bit more time for this.

The core of my script should be the normal CST, but I wrote a few more so that everybody can select what for him/her is the best.

I'm still working on it and hope for many opinions, critique and ideas for improvement!

Greetings

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”