Eco
Romdryl May 1, 2018 @ 12:01pm
Can inventory link distances be adjusted on the server?
Just wondering. 1. Anyone know exactly what range two inventories need to be within to link? Ten blocks is about my guess. I suppose I could set up an experiment....
And, 2. Can this distance between linked inventories be increased somewhere in the server settiing?

Great game. Lots of fun.
< >
Showing 1-2 of 2 comments
D3s0lat10n May 1, 2018 @ 5:16pm 
i think Katherinofsky did a video on youtube where she made a inventory elevator where she explained the distances between each to get her goods from underground to the top .. hope that helps
i'm not sure about server settings .. anyways happy gaming
Last edited by D3s0lat10n; May 1, 2018 @ 5:17pm
DiabloDBS May 2, 2018 @ 3:33pm 
It depends on the storage actually.

Chests at least when i last checked where initialized with 5m and stockpiles with 7m.
While the edges count so that if you place a stockpile 12m below another it's upper edge should be 7m away and hence still be in range.

I'm pretty sure you should be able to mod this. If you really want to get deep into it i think they've even been giving out github invites to have access to the source code while for simple stuff the modding api will be more than enough.

https://github.com/StrangeLoopGames/EcoModKit/wiki


Edit:

Mmh a short look into the locally created server...:

...Steam\steamapps\common\Eco\Eco_Data\Server\Mods\Objects\StockpileObject.cs:
public partial class StockpileObject : WorldObject { public override string FriendlyName { get { return "Stockpile"; } } protected override void Initialize() { base.Initialize(); var storage = this.GetComponent<PublicStorageComponent>(); storage.Initialize(StockpileComponent.Dimensions.x * StockpileComponent.Dimensions.z); storage.Storage.AddRestriction(new CarriedRestriction()); // restrict stockpiles to carried items. this.GetComponent<PropertyAuthComponent>().Initialize(AuthModeType.Inherited); this.GetComponent<LinkComponent>().Initialize(7); } public override void SendInitialState(BSONObject bsonObj, INetObjectViewer viewer) { base.SendInitialState(bsonObj, viewer); bsonObj["noFadeIn"] = true; } }

If you change the number in here:
this.GetComponent<LinkComponent>().Initialize(7);
The link range should change.

While i am too lazy atm to test it.
Also be reminded, that increasing this number even slightly will have a huge performance impact if you got a lot of storages.
That is why it is probably best to create a modded version and only use it at important transfer areas where little other storages are in range.
Last edited by DiabloDBS; May 2, 2018 @ 3:43pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 1, 2018 @ 12:01pm
Posts: 2