News Liste Desynced
Sometimes, all you need is an uncomplicated splitter for your storage unit to manage the distribution of the same resource in different directions. This tutorial perfectly fits the bill for that. We've chosen this easy-to-follow guide especially for you, hoping it makes a great addition to your factories!
And remember to explore our previous collections for more gems. We've included links to them below for your convenience. :)
Author: harchon
They were searching for a method to distribute to multiple adjacent storages from a central storage unit, and so they wrote a behavior that can distribute a resource to up to three adjacent sides.
The Splitter, represented as [SP], can be any storage unit equipped with a transporter, and the three outputs simply need to be adjacent. Additionally, both the Splitter and P1-P3 should have a single resource locked to their slots. However, blank locked slots won't pose a problem.
IN-optional input from another storage/transporter or just have units dump a single resource in SP.
Set P1-P3 to the OutputTo# parameters you want to use (any can be left blank and nothing will go to that output). The outputs will go round robin from P1->P2->P3 and back to P1. If the splitter will wait 5 tics and try again until more resources are available.
Set the Resource to the item you will be moving.
Set the MaxItem parameter to the largest amount you want to move at one time. It will do any number you want, 1 or greater.
They encourage others to modify it as desired. Having not engaged in object-oriented programming for 20 years, it took them about four hours to debug and understand why it wasn't functioning properly. This was mainly due to excessive micromanagement of the behavior and not allowing the game to function naturally.
Behavior Script:
***
If this tutorial has inspired you to create something additional, feel free to share it with us!
https://store.steampowered.com/news/app/1450900/view/3889485345748521475
https://store.steampowered.com/news/app/1450900/view/3888358641555101802
https://store.steampowered.com/news/app/1450900/view/3888358641540447700
https://store.steampowered.com/news/app/1450900/view/3855706911137657433
https://store.steampowered.com/news/app/1450900/view/3855706911119612650
https://store.steampowered.com/news/app/1450900/view/3855706185309757803
https://store.steampowered.com/news/app/1450900/view/3855706185299872234
https://store.steampowered.com/news/app/1450900/view/3808417211633108188
https://store.steampowered.com/news/app/1450900/view/3794905774846967399
https://store.steampowered.com/app/1450900/Desynced_Autonomous_Colony_Simulator/
Release:15.08.2023
Genre:
Strategie
Entwickler:
Stage Games Inc.
Vertrieb:
Forklift Interactive
Engine:keine Infos
Kopierschutz:keine Infos
Franchise:keine Infos
Einzelspieler
Mehrspieler
Koop