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

Taleden's Inventory Manager

Latest version: 1.5.0 (2016-05-24) Steam Workshop Page User's Guide Taleden's Inventory Manager (TIM) is an in-game script which automates the management of your inventory, refineries and assemblers....

View Article


Simple way to avoid null pointer when showing terminal blocks on hud?

Not all terminal blocks have the "ShowOnHUD" value to set, and thus if you do foreach(IMyTerminalBlock block in blocklist) { if (damaged) block.SetValue("ShowOnHUD", true); } it will invariably throw a...

View Article


Image may be NSFW.
Clik here to view.

Aligning ship to planet gravity

Does anybody have any clue on how to approach this?

View Article

Turn Off/On Rotor Safety Lock Override

I can't find anything in the programming api about how to do this, is there a way to do it?

View Article

Someone explain this

Can someone explain why this code doesn't function: Code: public Program() { AirlockState = true; GridTerminalSystem.GetBlockGroupWithName("Airlock Vents").GetBlocks(Vents);...

View Article


Getting Relative Blocks On Another Grid?

I am making a missile launch system but I have run into an issue when trying to get blocks a certain distance from another block without knowing their name. I have been using vectors combined with...

View Article

I would like to have something like a IMyScriptAction implementing base class

I made a simple action system .. see: https://github.com/kummahiih/SpaceEngineersScripts/blob/master/ActionSystem.cs or http://steamcommunity.com/sharedfiles/filedetails/?id=707936391 Whenever I want...

View Article

Hidden Radio/Remote Control Methods for missile tracking script?

Hey guys, I was wondering if there was a way to store waypoints of ships outside a local grid. Take this scenario for instance. A missile is running a script that needs 4 waypoints: the current...

View Article


What are settings for Visual Studio 2015 project for unstable branch?

I'm trying to compile my old project, but not able todo: Error CS0246 The type or namespace name 'Sandbox' could not be found (are you missing a using directive or an assembly reference?) Reference...

View Article


cargo managment

One of the things my OS script has to do is to manage cargo via LCD screen. What I'm trying to achive now is the following points: 1) Get a list of all onboard cargo containers (and only them, no cargo...

View Article

Please help with programing IMyRemoteControl 'Forward Direction'

I've been struggling with this for some time now and just can't seem to get it right. I want to change the forward direction of a remote control via a script. According to me, my code should work and I...

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

Accessing Modded Blocks?

The server I currently play on uses modded thruster blocks in addition to the regular blocks. I want to set manual overide for a few modded thrusters on my ship. Would I be right in guessing that...

View Article


How to use methods within void Main?

Good day, I am bad at programming. Recently I've been reverse engineering a power display script. It's a fairly long code, so I'll just post the problematic part of it. Code: Void Main() { ......

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 Article


Get ores position

Hello, is it posible to get ores position (X,Y,Z coord.) from a source detected with a ore detector? I would like somebody (even I), develop a in-game script similar to Rav's Fleet Command. I would...

View Article

Debugging thrown Exceptions

So I've got a ~2700 line script that is very shiny, but which has apparently broken in the last few weeks. It's throwing a couple different exceptions in a couple different situations, and I noticed...

View Article


[Released] Racing Script

Hello programmers of SE. I wish I can count on one of you guys to write some sort of script to detect ships going through gates, saving OR displaying lap times and a way to know when someone doesn't...

View Article

Transfering cargo to other containers

After some reverse engineering of Taleden's Inventory Manager I've figured out how to read the item list from each container and update a dictionary with the item name and amount. This is the code I...

View Article

Is the "Illegal one-byte branch" thing fixed ?

I only ask because I am getting it in my code. Worse, it seems to be appearing due to code that previously worked, when I added code to step through a dictionary. What is the current wisdom on this...

View Article
Browsing all 645 articles
Browse latest View live