Space Engineers

Space Engineers

Cargo Transfer System (In Game Script)
208 条留言
JohnJ44 2024 年 11 月 27 日 下午 8:40 
It has not changed to my knowledge, could use a quality of life update though. Thank you for the response and Happy Thanksgiving!
Prellentor  [作者] 2024 年 11 月 27 日 下午 7:57 
@JohnJ44 If gas mechanic is same as it always was: gas transfered via conveyor belts, no valves/gates and only one option is stockpile in tank terminal. Then no. By definition. If it was something like in stormworks or stationeers, then i would made it back when i played this game.
JohnJ44 2024 年 11 月 27 日 下午 4:17 
Any chance this can be used to transfer hydrogen & oxygen? It's tedious doing it manually via the stockpile button since I tend to have a ton of tanks.
liquid_confidence 2024 年 10 月 1 日 下午 8:47 
@Cosmos Yes use the terminal commands. See where it states "Examples of terminal commands"? use that as reference. Such as: "unload 1 "steel plates, potato, radiator" change it to "steel plates" and it will only transfer steel plates.
Cosmos 2024 年 8 月 14 日 上午 5:04 
This is good but is there a way we can make it so we can choose what we want transfered. eg only steel plates
miku567 2023 年 4 月 17 日 下午 3:07 
Upon runing the script I get this error:

Caught exception during execution of script:Controller not found.
at Program.CargoTransferSystem.InitializeSystems()
at Program.CargoTransferSystem..ctor()
at Program..ctor()
Agnafrei 2023 年 2 月 1 日 下午 3:09 
Im new to this and have no idea what is the Log and how can i access it.
Agnafrei 2023 年 2 月 1 日 下午 3:03 
Can anyone explain to me like I'm really dumb how do this script work? Can i use it to transfer items from a mining ship to a transport rover? (both small grids)
Fallenq 2022 年 10 月 31 日 上午 10:50 
nevermind
Fallenq 2022 年 10 月 31 日 上午 10:03 
I have an error a construction lacks of connectors idk it has connectors
CryptikLemur 2022 年 9 月 13 日 上午 8:49 
Could we get a setting for "Max Fill Level"?
zcaalock 2022 年 6 月 26 日 上午 11:30 
hi, is it possible to transfer items for blueprint?
Vetrolet 2022 年 1 月 30 日 上午 7:41 
@Prellentor Команда не помогла, спилил программируемый блок и построил снова, вернул скрипт. Заработало. Спасибо большое за помощь! Уже голову поломал)
Prellentor  [作者] 2022 年 1 月 30 日 上午 7:33 
Окей я понял... Что-то было записано во внутреннюю память скрипта. Скрипт запоминает заказы на перенос предметов. Но видимо что-то записалось не то и не так.
Удали скрипт в блоке и копируй это.
void Main(string argument, UpdateType updateSource)
{ program.Storage = ""; }
Запусти. И потом верни туда скрипт с CTS.
Vetrolet 2022 年 1 月 30 日 上午 7:27 
@Prellentor На экране вывода интерфейса скрипта идет загрузка, и все. На базе при этом работает. https://www.youtube.com/watch?v=wOjXC-lyOd0
Prellentor  [作者] 2022 年 1 月 30 日 上午 7:13 
Типа: gather 2 "steel tubes, reinforced glass, ammo box"
Prellentor  [作者] 2022 年 1 月 30 日 上午 7:12 
У меня подозрение что там есть числа которые не на том месте стоят.
Prellentor  [作者] 2022 年 1 月 30 日 上午 7:09 
А что ты хочешь сделать? Команду напиши что ты запускаешь
Vetrolet 2022 年 1 月 30 日 上午 6:45 
@Prellentor Пишет "input string was not in a correct format".
Prellentor  [作者] 2022 年 1 月 30 日 上午 6:37 
@Vetrolet Что пишет то? В терминале.
Vetrolet 2022 年 1 月 30 日 上午 6:34 
@Prellentor Привет! Не можешь подсказать, почему скрипт не работает? Скрипт на базе работает. Но с транспортом не получилось. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2736848282
Prellentor  [作者] 2021 年 11 月 12 日 上午 10:19 
@zcaalock No. But it can be queued by another script. Here is example of script that converts blueprint to list: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2211055171&searchtext=blue . My script currently bloated with features. So it would be another one. But anyone can hook up to CTS and move items between ships. You can send commands to CTS by intergrid communications system.
zcaalock 2021 年 11 月 12 日 上午 5:44 
can you make it to transfer components like in build planer? Fe. i want to transfer components for 4 solar panels
Prellentor  [作者] 2021 年 2 月 15 日 上午 9:32 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
JustUninstalMan 2021 年 2 月 15 日 上午 8:14 
been using this script on a server with no issues, like 1000 hours and the last update by keen borked it
JustUninstalMan 2021 年 2 月 15 日 上午 8:14 
it was working fine until the last keen update
Prellentor  [作者] 2021 年 2 月 15 日 上午 7:43 
Yep. This issue related to a server. For lan and for dedicated. But sometimes messing with displayed script or color of it helps.
JustUninstalMan 2021 年 2 月 15 日 上午 7:10 
hmmm still didnt work my man, i changed every color a little bit in the custom data still same message. maybe it is the server i play on? offline it works fine
Prellentor  [作者] 2021 年 2 月 14 日 下午 10:14 
Try to change colors in programmable block custom data.
JustUninstalMan 2021 年 2 月 14 日 下午 8:06 
yeah i got it, i changed the font color but it still has the same message. should i change the back ground and other things? i miss the ui :(
lol
Prellentor  [作者] 2021 年 2 月 14 日 下午 7:43 
Oh. That one problem. It just because render surface not uppdates itself. Try to change script color on whatewer you use for script. You know. That settings where you choose content for screen.
JustUninstalMan 2021 年 2 月 14 日 下午 1:43 
yes it shows only that message on the control seat, the PB says " Version: 1.71 last log: State: running" when i sit in the seat
Prellentor  [作者] 2021 年 2 月 14 日 上午 8:49 
So it permametly show this message? What was output from programmable block in terminal?Tried to recompile?
JustUninstalMan 2021 年 2 月 14 日 上午 8:32 
what i mean is the GUI is gone and it only says "now you can turn off the power"
Prellentor  [作者] 2021 年 2 月 14 日 上午 8:08 
@JustUninstalMan Dunno. Just used it without any issues.
JustUninstalMan 2021 年 2 月 14 日 上午 7:53 
Hello, after keen recent update, the CTS only show "Now you can turn off the power" am i doing something wrong or did keen mess this up?
Compukit 2021 年 2 月 9 日 上午 6:40 
a yes i can say i see some progres now :)
Compukit 2021 年 2 月 9 日 上午 6:22 
a oke the space i whil try that :) thnx
Prellentor  [作者] 2021 年 2 月 9 日 上午 6:12 
Space or whatever you bind for [move up / jump] action. I'm not gonna bother about this on my side. Just send me firend invite and then try to catch me in game. I will take a look at how you do that.
Compukit 2021 年 2 月 9 日 上午 5:45 
also the terminal command dont seem to work for my
Compukit 2021 年 2 月 9 日 上午 5:43 
keybord. bad what key is the sp key i think that my by the problem im having
Prellentor  [作者] 2021 年 2 月 9 日 上午 5:19 
@Compukit Keyboard or controller?
Compukit 2021 年 2 月 9 日 上午 5:04 
im having some problems whit the commands. i can use the roll bottuns i can use the ad in connector page bat thats all i can do. im i dowing somting rong ?
Prellentor  [作者] 2021 年 1 月 28 日 下午 10:52 
@Syna Do you use mod with cockpit block? Or was this crash happens in use of vanilla cockpit? I just tested script. It works fine. Check out log file for more details why it does it.
Syna 2021 年 1 月 28 日 下午 3:31 
The game crash when the script want to display something on a LCD cockpit
Prellentor  [作者] 2020 年 9 月 8 日 下午 11:18 
@[πrat] Kiyan
I'm sorry but this script works only grids that connected together with connector blocks. But it first. As second there was no suggestions about moved items ammount. A long time ago I was in need in fast transfer of ore/components from mining/constructor ships. So script move all specific items from one place to another as much as possible. But it's good suggestion about moved items amount, i will take that.
What about your problem. Even though that would not work as you need. Control block must be placed on same subgrid as programmable block. If PB placed on a rotor, you must place controller on this subgrid. And check out name of it, in terminal and custom data. There is probably spaces.
Also it's probably more specified script than that i have right now.
Anachronism 2020 年 9 月 8 日 下午 9:02 
Another question, can I dictate how much of what supplies are gathered or set it to fill the ship's overall cargo of specific resources(ammo) to a certain amount?
Anachronism 2020 年 9 月 8 日 下午 8:54 
Does this work over subgrids? I have a drone I want to be able to load up on ammo when it comes back for it's docking run(using other scripts to initiate docking and trigger the cargo script), but the design I'm using relies on a 'Data Core'. A large rotor with a small head connected to a pod with all the PBs attached to it.

Will I have to put the cargo script on the main ship or add a remote control to the data core, or is there something I'm just overlooking? Right now it's catching an error message of not finding the RC, even after I put its name in the custom data and recompiled.
Prellentor  [作者] 2020 年 9 月 4 日 上午 11:57 
I should have mentioned this earlier. You need to put names in quotes. With argument: [unload 1 stone] script will search items in type mode. There is no items of stone type. You need to run it as:
[unload 1 "stone"].
[MM] Toasterific 2020 年 9 月 2 日 下午 11:22 
is there anyway to unload stones? i tried "unload 1 stone" it doesnt recognize it, nor does its included in the 'ore'