auto-sorting block by type
hi there, i'm trying to make a system that could discover what is in the grid tu use it afterward (in form of lists) i'v came with the following Code: void main() { //variable declaration int i;...
View ArticleNeed Help Understanding SE syntax
So I was having difficulty understanding the syntax of SE scripting since I had no knowledge of C#, but I do know .net, html, css, and some php. So i decided I would teach myself C# as well. So I went...
View ArticleFailsafe system
Hello! I built a system that, lets say, changes LCD text to "System online". It works from timer. But when you turn it off it will keep text of LCD to System Online (even tho its not online anymore)....
View Article[Create Cargo Ships out of your own Ships AI Request(?)] as per in the brackets
so i was thinking of the invader script: http://steamcommunity.com/sharedfiles/filedetails/?id=316380987&searchtext=invader+script and the AI Core mod:...
View ArticleBoxing Bots - Team Recruiting
Hello fellows, You can call me Dengue. As the title says I am here ito show an idea or maybe more than just an idea, maybe a proof of concept of a new script for spaceships. That thing would bring the...
View ArticleSelf Aligning Solar Array parsing problem in multiplay
I've written a small piece of code that runs every second to auto align the solar panels, and I've tried them in multiplay server. In the beginning it worked fine until certain point the parsing...
View ArticleFinding actions for blocks?
I'm pretty lost with the (quite frankly very terrible) documentation for scripting. I need to know how to find the available actions for a block, but I cannot seem to find help anywhere on the internet...
View ArticleIMySolarPanel.DetailedInfo returning 0kW Max and Current
Hi, I modified a script that I found online to rotate my solar panels to face the sun as it passes overhead on a planet. However, after I restarted my server for the latest updates, the DetailedInfo...
View ArticleReprogram Toolbars from Programmable Block
Is this possible from the code exposed for the programmable block? I thought this might be useful for multi-player (where Toolbars magically disappear). Being able to run a script and have the Toolbar...
View ArticlePSA: laser antenna communication WITHOUT the delay
When you run lazertenna.ApplyAction("isPerm") or lazertenna.SetValueBool("isPerm", true/false), this toggle option is actually saved on the receiver in real time. What this means is we've had...
View ArticleHow to get inventory of cockpit?
For Cargo Containers this works by simply calling GetInventory, but for cockits and the like this seems to return null all the time. Is it possible to get the inventory of a cockpit? And if so: How?
View ArticleOrbital Supply Drop Script (Advice Requested)
Hello! I've been working on an orbital supply drop script for fun which will stop a package before it hits the ground of a planet. The idea is simple: Let the object free fall until it is a certain...
View ArticleSE Auto Pilot stays clear from planet surface?
Good day, I was doing some tests with the autopilot from the rc block and i noticed that the drone in this case does not like going to a target which is below about 75 meters from the surface. This is...
View ArticleBlock scripts requests thread
As programmable blocks came to SE, and not all players are programmers, I guess a thread with block requests is reasonable. Basically, if you want a script on your block, post explanation here. Other...
View ArticleIs it possible to calculate the mass of a ship?
I am trying to make cargo containers that will be shipped all across my server, however I have a limit on how much one can hold, simply because the ship design can't carry that much mass. So is it...
View ArticleCompile error with generics
What is the current status of generics in scripts? The following code used to work fine until a recent patch (don't know exactly which since I've been away from SE for a while), and now it fails after...
View ArticleEasy Automation (In Game Script)
Hello there, I just finished a script that I have been working on for a while now called Easy Automation. It allows you to access a bunch of different functionality by writing simple instructions in an...
View ArticleNobody owns script
I'm looking for a script that when I press a button on a button panel a programming block sets all blocks to nobody, any ideas?
View ArticleFind Planet Center
Threw this together because I needed the planet center coordinates for something else I'm working on. For it to work you need a remote control and text panel (and a programmable block, obviously). Run...
View Article