Quantcast
Channel: Programming (In-game)
Browsing all 903 articles
Browse latest View live
↧

Where to find latest source code?

EDIT: Solution: Download ILSpy (http://ilspy.net/) open SpaceEngineers\Bin64\Sandbox.Common.dll with ILSpy, go to Sandbox.ModAPI.Ingame and there you have the overview I was looking for. Thanks to...

View Article


PB Sensor Feature Suggestions

Greetings programmers! I want to hear your suggestions for new PB features. Disclaimers first: I'm not officially working on PB, it's just a pet project. Anything we discuss here is just for discussion...

View Article


Taleden's Inventory Manager Auto Deployment Script, Type Less!

Github link: https://github.com/Therianulf/SpaceEngineersScripts Steam Workshop link: http://steamcommunity.com/sharedfiles/filedetails/?id=847583443 I love Taleden's Inventory Manager, but I hate...

View Article

Get Blocks with name Tag

Hello, is there a common solution to get Blocks by a Nametag. for Example all Blocks with "Test - " in thier name. I know there a multiple ways, but wich one is the most performant?

View Article

Setup 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 Article


Problems with IMyTextPanel

Hello there. I think there is something wrong, Visual Studio dont know about the CustomData proberty of a IMyTextPanel. Ingame the code compiles with no errors

View Article

Image may be NSFW.
Clik here to view.

"Strafing" ships

Hey, nvm, fixed it I'm trying to get a ship to "strafe" without rotating to a given point but something is behaving silly. At first it worked, but then i turned the drone around and it didn't work...

View Article

Obtaining 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 Article


Scripting Autopilot Forward Direction

Is there a way to designate the forward direction of a remote control via scripting? EDIT: Got it, remote.ApplyAction("Forward");

View Article


Getting World Vector of a point 20 meters below current

I'm trying to create a Vector3D coordinate using GetPosition() of a block, and I want this new point to be 20 meters directly under it. I'm having trouble understanding the linear algebra methods to...

View Article

Is there any way using only 2 programable blocks to make a timer like block?

I am trying to work around the bug where a projected/built timer block does not remember its actions (like a call to a programmable block, and then to itself to create a loop). In the past I would use...

View Article

Load blueprint into projector?

I can't seem to find any way to load a particular blueprint into a projector.. I can see all the manipulations to move one, but nothing to actually drop the blueprint in there to start with. Anyone...

View Article

Is the foreach loop working in game

haven't done ingame programming in a while has this problem gotten fixed

View Article


Get grid length, width, height

Is there a scripting method to get the volume of space a grid is occupying?

View Article

Raycasting Implementation

Is anyone planning to revive script concepts (such as GFCS), rebuilt to rely on raycasting? I'd like to have some options for targeting PMWs that utilize this new system.

View Article


myAirVent.Status.ToString() unexpected report

If the air vent cannot pressurize (the air vent is exposed to vacuum), it will report whether it is attempting to pressurize or depressurize. It will not report "depressurized" at any point. If the air...

View Article

How can I use Linq extension methods?

Hello everyone. I've been playing the game for a couple of weeks and recently I discovered the programmable blocks. Luckly, I don't have too much difficulty making scripts since I'm a C# developer for...

View Article


Image may be NSFW.
Clik here to view.

Rotor's attached grid

Is there a way to find out which grid is attached to a rotor? Something like connectors: Code: List<IMyShipConnector> connectors = new List<IMyShipConnector>();...

View Article

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 Article

Image may be NSFW.
Clik here to view.

Natural Gravity as an Integer

Hey guys I have somewhat of a problem scripting... I want to have the natural gravity as an Integer for further calculations, but the problem is I am not able to find a way to use the result of...

View Article
Browsing all 903 articles
Browse latest View live