Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add ability to autoload 2 short palletes on top of one long #172

Open
alzhur opened this issue Apr 16, 2023 · 4 comments
Open

Comments

@alzhur
Copy link

alzhur commented Apr 16, 2023

Like 2 pallets of planks on top of one pallet of long planks or wooden beams (Silverrun map).
Currently only one pallet of planks is autoloaded on top of long pallet, with "align on center".
Screenshot: https://ibb.co/FVxk4QJ

@loki79uk
Copy link
Owner

loki79uk commented Apr 18, 2023

This is an unfortunate artefact of the loading design pattern that I have used. Each space is only defined at trailer surface, and items are stacked on top. This works great for items that are equally sized, but as you can see smaller items are not efficiently stacked on top. It is just too much work to address for me at this stage. Maybe later I will think about a recursive algorithm to attempt to pack smaller items on top of other items, but I think that the added complexity is just too great.

You could try using the horizontal first stacking mode - this will create a layer of similar items and then stack more layers above, but the truth is that with many different sized objects, the packing is never perfect.

@alzhur
Copy link
Author

alzhur commented Apr 19, 2023

You could try using the horizontal first stacking mode.

Where to find this feature? Maybe it's not present yet in 1.3.1.0 from modhub?

And another strange-looking artefact from my experience: incomplete pallet in bottom layer, with full pallet stacked on top of it, both loaded in one go, without moving trailer or spawning more pallets (if I remember this right). Maybe give some priority to loading full pallets first?

@loki79uk
Copy link
Owner

loki79uk commented Apr 19, 2023

Where to find this feature? Maybe it's not present yet in 1.3.1.0 from modhub?

You need to go into the settings and add a keybinding for "Toggle horizontal loading", then it will activate the option. I left it unbound because it can also be set permanently per trailer in the local settings file if you prefer. Either way, the actual selected configuration will be stored in the save game.

@alzhur
Copy link
Author

alzhur commented Apr 22, 2023

Thanks, horizontal mode resolves this problem, at least in some cases.
https://ibb.co/3TdJbnx
But causes some other: not enough space to load prefab walls pallet into that trailer (in vertical mode - 1 pallet loaded ok).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants