[MOD/Script] LI Freight Distribution Network (FDN) - v7.2 21/11/2010

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

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

Johnnierocker
Posts: 22
Joined: Sat, 25. Oct 08, 12:51

Post by Johnnierocker »

Yea sorry about posting in the wrong forum My Bad

Ok here is what I got under the main menu

Where my sat factory is I have 3 listings

First come the node it self where the sat factory is
then under that heading tabbed in it shows the relay in the system where the ssdn is
then the third shows the ssdn itself

I am now assuming that these are linked correctly and the dock should now increase drones wih every cycle

Thanks for your help much appreciated and great software I love it
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

Johnnierocker wrote:Yea sorry about posting in the wrong forum My Bad

Ok here is what I got under the main menu

Where my sat factory is I have 3 listings

First come the node it self where the sat factory is
then under that heading tabbed in it shows the relay in the system where the ssdn is
then the third shows the ssdn itself

I am now assuming that these are linked correctly and the dock should now increase drones wih every cycle
Not a problem :)

You will need to open the FDN Menu on the Dock and set volume of stock you want the Node to maintain at the SSDN C&CC.

Johnnierocker wrote:
Thanks for your help much appreciated and great software I love it
Thanks :D


LA
Johnnierocker
Posts: 22
Joined: Sat, 25. Oct 08, 12:51

Post by Johnnierocker »

I take it the ssdn does not need a dock in system as this is provided via the relay, I did what you said, clicked on the dock commands, fdn menu then chose a stock level of 2000

now the node is increasing but not the dock ?

When I select the dock
The docks shows dock level 39/2000 and the node has 156 and rising

Shouldn't that 156 be in the dock ?
StormMagi
Posts: 1335
Joined: Sat, 17. Mar 07, 03:53
x4

Re: Thoughts on v4

Post by StormMagi »

Logain Abler wrote:Started to work on the new structure for FDNv4.

I've been playing around and I can make the Node buy wares and teleport them direct from the supplying station to where its needed.

The Node will try and supply locally (from itself), then from any other Node in range, then finally it will search for any NPC station and buy what it cant provide. I could also make it check with other Nodes in range to see if they also have NPC stations with available stock.

Not sure why I didn't think of it before!

Any thoughts on balance? It would make life a lot simpler but is it a step to far.

There is also no reason why it couldn't sell its surplus direct......


LA
Why buy? What about a setting that tells the node to keep a factories needed wares @ X%. Or perhaps having the factories "call" the node when their needed wares get below X%? (user defined). Or what about having factories/complexes keep X% wares for its own use and sending the rest to the node for as needed use?
MOD XR Show Skills

Flying spaceships since 1993.
StormMagi
Posts: 1335
Joined: Sat, 17. Mar 07, 03:53
x4

Post by StormMagi »

Johnnierocker wrote:I take it the ssdn does not need a dock in system as this is provided via the relay, I did what you said, clicked on the dock commands, fdn menu then chose a stock level of 2000

now the node is increasing but not the dock ?

When I select the dock
The docks shows dock level 39/2000 and the node has 156 and rising

Shouldn't that 156 be in the dock ?
IIRC the node won't give out more than 50% of its stockpile. and sometimes it takes a while before it has enough to transfer. I had this problem when trying to supply 3 PHQ with microchips for ship construction >_>. Just give it some time to build up stock and the transfers will happen. It is much faster once the node has a fair sized stock handy.
MOD XR Show Skills

Flying spaceships since 1993.
Johnnierocker
Posts: 22
Joined: Sat, 25. Oct 08, 12:51

Post by Johnnierocker »

Thanks for your reply

Your right, I played with the numbers and some did transfer to the limit, it is just a matter of waiting, working as intended :-)


Regards
StormMagi
Posts: 1335
Joined: Sat, 17. Mar 07, 03:53
x4

Post by StormMagi »

Johnnierocker wrote:Thanks for your reply

Your right, I played with the numbers and some did transfer to the limit, it is just a matter of waiting, working as intended :-)


Regards
No problem :)
MOD XR Show Skills

Flying spaceships since 1993.
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Re: Thoughts on v4

Post by Logain Abler »

StormMagi wrote:
Logain Abler wrote:Started to work on the new structure for FDNv4.

I've been playing around and I can make the Node buy wares and teleport them direct from the supplying station to where its needed.

The Node will try and supply locally (from itself), then from any other Node in range, then finally it will search for any NPC station and buy what it cant provide. I could also make it check with other Nodes in range to see if they also have NPC stations with available stock.

Not sure why I didn't think of it before!

Any thoughts on balance? It would make life a lot simpler but is it a step to far.

There is also no reason why it couldn't sell its surplus direct......


LA
Why buy? What about a setting that tells the node to keep a factories needed wares @ X%. Or perhaps having the factories "call" the node when their needed wares get below X%? (user defined). Or what about having factories/complexes keep X% wares for its own use and sending the rest to the node for as needed use?
Why buy?

If there is a required ware not produced by the player or within range of the Node.

As for your other points its striking a balance between functionality, options and easy to use. One lesson I learnt is although FDN was easy fro me to use (as you would expect) others found it initially complicated.

Summary of what I’m trying to achieve:
FDN will be far simpler to deploy, relays will be gone and the Node will have a sphere of influence (5 jumps) similar to SSDN, again coverage will be provided by Adv Sats. Nodes will automatically have access to other Nodes within an extended sphere (8 Jumps).

Stations will then be linked to a Node. The main difference will be that the station will be self monitoring and it will request from the Node rather than a fixed cyclic process. The station will base its call on its own production cycle rather than it being fixed.

There is no reason why it can’t have a default wares level and a player defined one.

Docks will be able to link to any Node which it is within range of, not just one as it currently stands. Again they will self monitor any only call the Node when required.

There are pro’s and con’s between the fixed cyclic and task based approach, but I thing the move to a task based approach will stop any 3 minute lockups.
StormMagi
Posts: 1335
Joined: Sat, 17. Mar 07, 03:53
x4

Post by StormMagi »

Ok that does make sense. But then how will the node purchase the ware? Will it have an auto interface/transfer or will you need a few TS's setup to buy for the node when it needs stuff?
MOD XR Show Skills

Flying spaceships since 1993.
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

StormMagi wrote:Ok that does make sense. But then how will the node purchase the ware? Will it have an auto interface/transfer or will you need a few TS's setup to buy for the node when it needs stuff?
Set it to auto-buy from FDN, give it some money and it will buy & teleport wares from the NPC station.

Same requirements as normal, station will need to be in range and visible to an Adv Sat.

LA
StormMagi
Posts: 1335
Joined: Sat, 17. Mar 07, 03:53
x4

Post by StormMagi »

Interesting idea :P
MOD XR Show Skills

Flying spaceships since 1993.
thunderai
Posts: 374
Joined: Fri, 17. Apr 09, 04:40
x3tc

Post by thunderai »

I rather like the complex router like behavior you have now. I just wish for some automation type scripts for setting ware stock levels at the node and at docks.

With at least the PHQ having Priority over stations and other trading docks. But with an option to assign a priority level to at least one other dock.

That way the PHQ can take priority, my reserve workshop takes prioirty, and then the actuall dock I am selling things at.
StormMagi
Posts: 1335
Joined: Sat, 17. Mar 07, 03:53
x4

Post by StormMagi »

thunderai wrote:I rather like the complex router like behavior you have now. I just wish for some automation type scripts for setting ware stock levels at the node and at docks.

With at least the PHQ having Priority over stations and other trading docks. But with an option to assign a priority level to at least one other dock.

That way the PHQ can take priority, my reserve workshop takes prioirty, and then the actuall dock I am selling things at.
I favor that as well right now but what LA is doing makes sense since it should cut down on CPU cycles and we all know how much this game loves to use CPU :P
MOD XR Show Skills

Flying spaceships since 1993.
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

Base build done and testing, base build is the basic menu structure and the distribution of wares to & from the Node and stations.

The task based re-supply looks to be working very well, as it based on the stations own production time it has eliminated any wares over-head. FDN can happily keep one cycles worth of resources supplied to the stations, rather than the 4 to 2 under v3.

The down side of the changes is there's no way to upgrade from v3 to v4 :( (I also plan on using new models).

I've also changes the Advance Satellite requirements, you now only need one in sector.

I'll post some screens soon.

LA
thunderai
Posts: 374
Joined: Fri, 17. Apr 09, 04:40
x3tc

Post by thunderai »

Sounds good.

I've got one heck of a black hole when it comes to Meatstakes, and I'm not sure what is causing the supply shortage.

I have only two complex's that require Meatstakes, they are:

http://tinyurl.com/rc2vzq and http://tinyurl.com/q4zmvn

In the first station, I produce just enough of the meatstakes to make the system work, and in the second I'm over producing like no ones business. However, the second can't get any supply as the first one is taking all of the stakes.

In the Ware watch from the Node I can see that two stations are producing the ware, but only the first station is getting any of the stakes and the second station can't get out of the warning yield color code.

If I pull each station out things produce fine in the second one, not known about the first one.

What would cause the node to disreguard the second station?
> in the mean time I'll add 2x bakery M and 2x ranch M to the first one and see what happends
thunderai
Posts: 374
Joined: Fri, 17. Apr 09, 04:40
x3tc

Post by thunderai »

IN other news, here is a "bug"

I have three stations:

- an equipment dock
- military outpost
- PHQ

I only sell things at the military outpost.

The PHQ is set to load up to a certain amount of wares, but the Node will not give the PHQ anything even though the Node has lots in storage, although not as much as the PHQ is asking for.

Is the node waiting to deliver the goods until it can meet a certain percent or what gives because as it is right now it will only fill those items that are asking for very little goods and wont build up to it by making smaller deliveries.
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

thunderai wrote:IN other news, here is a "bug"

I have three stations:

- an equipment dock
- military outpost
- PHQ

I only sell things at the military outpost.

The PHQ is set to load up to a certain amount of wares, but the Node will not give the PHQ anything even though the Node has lots in storage, although not as much as the PHQ is asking for.

Is the node waiting to deliver the goods until it can meet a certain percent or what gives because as it is right now it will only fill those items that are asking for very little goods and wont build up to it by making smaller deliveries.

Yes the Node won't supply any dock if it does not have the required amount. Not a bug, working as built.

LA
thunderai
Posts: 374
Joined: Fri, 17. Apr 09, 04:40
x3tc

Post by thunderai »

When you re tool this mod, can you have it gradulay supply even if the node can't supply everything?

Maybe an option?
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

thunderai wrote:When you re tool this mod, can you have it gradulay supply even if the node can't supply everything?

Maybe an option?
No problem, I'll put a check that keeps reducing the set level by half until it hits a value it can supply.

LA
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

Hi All,

I'm looking for a bit of help :!:

The base build is done but what I need is a save with minimal scripts & no/minimal mods installed (so as clean as possible, I build FDN on a clean install, I do however have SSDN installed), but with lots of complexes, bigger the better.

I want to stress test the base build to see how it hits the game and if FDN can keep things ticking along. But being a lazy sod I don't want to spend hours/days setting complexes just for testing!

It does look like I've nailed the Complexes but I've thought that before :oops:

Any help would be much appreciated :D

LA

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