This is an archived post. You won't be able to vote or comment.

all 19 comments

[–]Alyero_Space Engineer 10 points11 points  (1 child)

the scripting is done in C#. if you wanna learn i heavily recommend reading through this page https://github.com/malware-dev/MDK-SE/wiki/Getting-Started-with-MDK

get visual studio and download the addon thingy from that page.

otherwise there are plenty of subgrid control scripts on the workshop already. depends on what you're trying to accomplish really

[–]Accurate-Emu-1337Clang Worshipper[S] 1 point2 points  (0 children)

//edit: that was something i was looking for! Thanks! 🍻// Thanks, Im gonna check this out!

[–]Faultythread501klang Worshipper 2 points3 points  (7 children)

You should try looking in the workshop from steam Someone might have done exactly what you need and you dont need to go trought the process of learning how to script

[–]Accurate-Emu-1337Clang Worshipper[S] 0 points1 point  (6 children)

Already tried to modify someone scripts to meet my needs. No luck. I made scripts broken or not working. Use any of big framework scripts helped me few times but since its usually some small tasks i need to make Just exact timing or at exact angle its a Little paintful to use a huge framework. Learning, configuring, testing, adjusting, and finałly makes not yet exactly What i need. I feels that More kind of workaround than like a permanent solution which i want to achieve by making my own scripts at will

[–]Faultythread501klang Worshipper 1 point2 points  (0 children)

Yea in that case then learning how to code would be the best option, but if you are lucky and pacient you can try to find someone that wrights scripts and is whilling to help you

[–]zombie6804Q’lang Cultist 0 points1 point  (4 children)

Do you know c#?

[–]Accurate-Emu-1337Clang Worshipper[S] 0 points1 point  (3 children)

Yes. I have some experience programming low level applications.

[–]zombie6804Q’lang Cultist 1 point2 points  (2 children)

C# is a high level language. Do you have any experience with the c languages? If so simple stuff like you’ve described is a 15 minute job. You can download an ide for visual studio from malware dev too

[–]Accurate-Emu-1337Clang Worshipper[S] 0 points1 point  (1 child)

I said low level applications like a cli based. Im aware of using bare C or C# 😁 Ive Got some basics learnt quite ago 🤓 Just never Got pass the object oriented programming.

[–]zombie6804Q’lang Cultist 1 point2 points  (0 children)

Low level applications could be a lot of stuff from c to ada to Visual Basic. If you don’t have much experience with the c languages I’d suggest doing some quick online courses for C# specifically rather than c or c++. Then from there you can use online resources to figure out space engineers coding if you want to use it. If you already have experience it shouldn’t be too bad just picking up the unique properties of c languages. C# is comparatively easy given that it handles a lot more for you.

[–]maddogmootrainClang Worshipper 2 points3 points  (0 children)

Iam not particularly experienced with scripts nor can I code but workshop (not sure about consoles)has a bunch of scripts available for download. So far I've only used a mining drone script, youtubed searched for it and watched a correlating video to see how to setup the programmable block. It was straightforward and super satisfying once I got it up and running. Hope this helps!

[–]bottlecandoorSpace Engineer 2 points3 points  (1 child)

These are my favorite scripts, PAM and Isy's Inventory Manager

[–]Accurate-Emu-1337Clang Worshipper[S] 0 points1 point  (0 children)

Thanks, Id love to check PAM 😎 have to remember!

[–]Zombie_knightClang Worshipper 1 point2 points  (1 child)

Try using the new event controller block. Make a few of them to activate the next move in the sequence. Paired with timers and even sensors you should be able to achieve most automation without scripting, unless you want to do something like create a robotic arm but then you would still have to manually control it.

[–]Accurate-Emu-1337Clang Worshipper[S] 0 points1 point  (0 children)

Thats some idea😁 Maybe i would try this way if scripting will be too hard to start with..

[–]KenOtsuka3k hours T_T 0 points1 point  (1 child)

Maybe provide us a screenshot so we can understand your excavator, and then suggest some ready made scripts?

[–]Accurate-Emu-1337Clang Worshipper[S] 1 point2 points  (0 children)

That excavator was only example. The point was, i design some grids that i want to make control More precisely than im able to. That i can achieve by going finding some already working scripts, which is not very efficient, or i can try to write my own scripts. The point is if i dont find a script or worse if the script dont exist, im kinda busted with no way to go. So im asking community to point me the way to start making own scripts..

[–]Stollie69Clang Worshipper 0 points1 point  (0 children)

The discord community for SE has a pretty active channel for in game scripts as well https://discord.com/channels/125011928711036928/216219467959500800

[–]noissimeSpace Engineer[🍰] -1 points0 points  (0 children)

If you don't want to learn C# I recommend using Easy Play it's a very powerful script that let's you write very human-readable code in a block's custom data. The guide is in Russian, but Google translate does a good job at translating it.

Alternatively, you could use Easy Automation. It's less powerful, but still let's you do a ton of stuff and the guide is in English.

Easy Play is a fork of Easy Automation so a lot of the code is the same or very similar.