Ingame Programming missing API and functions and known issues
So i've decided to sum up, what i'm mostly missing on blocks in ingame API Please add things you want to see, or that should be here Before i list missing APIs i add few known issue and possible...
View ArticleCannot set rotor limit and read angle/detailedinfo in same tick
The rotor will not output its current angle or the detailed info in the same tick as one of its limits are changed programmatically. Setting any of the other fields does not have the same effect. It...
View Article[Beta] Space Engineers Workbench - A feature rich IDE for Space Engineers...
Hello all. My name is Tim and I'm a professional and hobbyist software developer. I had posted my original thread in the modding forum, but I think this forum may be more appropriate. For the last few...
View ArticleProblem with returning vector array [SOLVED]
Spoiler: Code Toggle Spoiler Code: private Vector2I[] CalculateScreenWidthAndRows(IMyTextPanel LCD) { CheckUsedMod(ModScreenName); Vector2I[] vector = new Vector2I[InternalScreenNumber]; if...
View ArticleIntergrid communication
TL;DR version: Check out this world and then come back https://steamcommunity.com/sharedfiles/filedetails/?id=749892645 It's been a quite a while since community expressed interest in ability to...
View ArticleSensor Feild Usage: IMyEntity LastDetectedEntity
** Before you get bored on the details of this particular inquiry, please read my later reply. There's a good reason for wanting to figure this out either way ** As per the documentation Sensors have a...
View ArticleObtaining Filled % from a tank
I have been unable to utilize GetOxygenLevel() to obtain the fill % from a Hydrogen (or oxygen) tank. Here is what I have been trying: Code: void Main(string argument) { var tankArray = new...
View ArticleSetup visual studio for SE programming
Latest update finally broke SE Workbench which I used for writing scripts, King, the user who made SE Workbench was last seen online few months ago and so I'm not sure if when when he will fix it. I'm...
View Article1.149? DEV Lambda changes?
I'm getting errors on the (previously fine) lambda for local-blocks only. Code: GridTerminalSystem.GetBlocksOfType<IMyVirtualMass>(massList, (x => x.CubeGrid == Me.CubeGrid)); Results in two...
View Article"IMyEntity is prohibited" fix?
Is there a workaround to this? Still new to the programming thing but when I tried to compile the script for the 3d Graphical Radar I got that. Here's the line that was giving me errors. IMySensorBlock...
View ArticleSet Rotor Angle
Hello, I'm sort of new to the whole in game coding thing, but I am no stranger to C#. I have been playing around with various way to try and do this based on examples I have see, it is basically a...
View ArticleFeedback 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 Article1.149? DEV Lambda changes? [SOLVED in 1.150 DEV]
I'm getting errors on the (previously fine) lambda for local-blocks only. Code: GridTerminalSystem.GetBlocksOfType<IMyVirtualMass>(massList, (x => x.CubeGrid == Me.CubeGrid)); Results in two...
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 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 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 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 Article