Feedback on upcoming PB changes
Hey guys, I've been working on some big changes to the programmable block API and I would really like to get your feedback! First off: reference exploits. I've removed two such exploits:...
View ArticleRotor-Bomb Script (IK for walkers)
For the past few months I've been casually working on a walker script that uses inverse kinematics. With my recent run-in with the limits of rotors, I rewrote most of my code today. I haven't tested...
View ArticleCode compilation successful but does not work once run
Hi There, before I start I would like to let everybody know that I have no background in programming. Everything I've done below has been through reading tutorials and guesswork. I'm basically trying...
View ArticleLast few problems with renderer code
I'm getting near to finishing the renderer code for the OS script I'm working on. The method for rendering is designed to get the index of the screen to write to, an array of the text as well as the...
View ArticleRepair the cheat function allows you to scan the other players.
It is necessary to fix the function GetFreeDistance so that it works only on the view distance. the script used to search for other people's buildings and their destruction. You can not play...
View Article1.123 compile error: (MyCubeSize) missing from namespace
The following code is getting a compile error. It used to work before 1.123. Line 12: The type or namespace name 'MyCubeSize' does not exist in the namespace 'Sandbox.Common.ObjectBuilders', are you...
View ArticleMyTuple broken?
Declaring 'MyTuple': The type or namespace name 'MyTuple' could not be found, are you missing a using directive or an assembly reference? Explicitly using VRage.MyTuple Type...
View ArticleExtension Methods and Properties
This may seem trivial but is there a way we can use C# extension methods and properties? Like a static class with static methods doing all the customizing work. I've been using Visual Studio to build...
View ArticleChanging Light Intensity with PB's
Quick Question here, is it possible to change the intensity of a light using a programmable block? And if so, How?
View ArticleAlign text to right side of screen
One of the features my ScreenDriver class has is the ability to write text on both corners of a line. This is the following code that I wrote: Code: public string AlignToRight(string textOnLeft, string...
View ArticleI Made a Cargo Drone Script
Hi everyone, I made a script for cargo drones on planets. If you have a mobile drill(or ship) with a connector On top (facing upward) and a sorter block directly under that, you can lock a cargodrone...
View ArticleIMyTextPanel Properties: How do they work
I've been trying to remake my textpanel warp class , and after some digging I still don't understand how exactly text works. Clearly, the default font has some not-the-same sized letters, and I already...
View ArticleProgrammable block API documentation
Topic Permalink EDIT: Keen now generates the documentation and the file Documentation.chm can be found inside the Tools folder in your Space Engineers game folder! This documentation is no longer...
View ArticleClosing door then turning it off
Hello, I have a script which (eventually) will control airlocks on my ships and stations, but I have come across a problem. As the title suggest, I want to close the doors and then when they are...
View ArticleFinally!! lag free VANILLA FLEET AUTO-Pilot concept! @@
After spending a year and a half and a lot of frustration in attempting grid to grid auto pilot, (not 700 seconds of lag in commands that is), learning that NO you CANNOT use the magic CONTROL action...
View ArticleSpawn Spiders per Script.
Is it possible to spawn spiders or dogs per in-game script? any ideas?
View ArticleIMyTextPanel: API Method Change?
I've noticed after the update, IMyTextPanel has a method changed, particularly WritePublicText() (or GetPublicText() I can't tell). The change is really subtle but it did break one of my scripts. I've...
View Articleparallel processing, is pb capable of doing this?
Some scripts, like mine for example, fake a loading screen before proceeding doing whatever they were designed for. However I'm sure that even the simplest of real life programs actually preform...
View ArticleHow to determine how much ship rotation happens per second based on gyro...
I want a script to set a gyro override values to turn my ship to a target point that is X degrees in exactly one second. So the override value should be perfect so that the ship is pointing at the...
View Article