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

Ingame namespace and Projector RemainingBlocksPerType

Hi guys, I have been playing with the programmable block for a month now and noticed some oddities. I hope you will be able to explain them to me. TL;DR: should I, or should I not use .Ingame namespace...

View Article


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


Cryo occupied?

I'm unable to test this due to being away from a windows computer with the game installed on it for another week or so .. but I wonder if I can check if a cryo chamber is currently occupied with an...

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

Script enviroment and deploy project for VS

I decided to publish my dev/test envitonment for SE scripts It allows to: Maintain separate files (no more 1-file mess) Debug scripts in simple emulation outside of SE, currently it emulates grid with...

View Article


Testing outside of the game - possible?

Visual Studio is great for writing in-game script, however for testing the script I need to run the game. I was wondering if its possible to test scripts outside of the game, by testing I mean seeing...

View Article

Object Reference Not Set Error

Lately I have many problems with my OS script. While finally I got the rendering part right with alot of help from @Georgik, right now the script does not run at all. As the title say that is the error...

View Article

Displaying output one char at a time?

Typing one char at a time from a string is nice and sci-fi-y. Is it possible? Since we can't do any thread manipulation? In psuedo: Code: IMyTextPanel tp = getBlockWithName("bla bla"); string myString...

View Article


Updated Guide?

hey guys, finally i want learn some programming in SE. i know some fortran and did some microcontroller and SPS things...so i already know something about the logic behind. i read several guide from...

View Article


New Drone AI / Behaviors - Spill It

Can we get a running start on the drone behavior? Even if it's just a list of features or new methods... something to get our little tinkering imaginations working. Also, will this AI behavior be...

View Article

Linq Mini

In some reason (unreachable for my understanding) Keen don't want to whitelist Linq Because Linq is such usefull tool and timesaver - I decided to decompile and minimify it:...

View Article

Linq Wrapper

UPD: Like @JoeTheDestroyer noticed - linq already whitelisted, but not listed in usings; So, I changed code to wrap original System.Linq methods. It allows to use linq as extentions and also (quite...

View Article

[wip] [MAJOR SETBACK] kScript; a flowchart based graphical programming...

kScript (the K stands for Keen) is a little project I have been working on for the past few weeks, which will hopefully make ingame programming much more accessible. Most of you already know that a...

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

Get OxygenLevel

Hey guys, have a question regarding my first selfmade script (using kscript^^) undependent from the airvent status it passes first two cases and the doors are always off. programm can turn them off if...

View Article


how to get GPS relative to position & direction?

Hi there, I'm currently on a drone script and it's almost finished. All i need is how to calculate an actuale GPS Coordinate. I have a Position to which it should relate. What I need to know is how can...

View Article

Image may be NSFW.
Clik here to view.

Getting Font type

Code: IMyTextPanel panel = GridTerminalSystem.GetBlockWithName("panel") as IMyTextPanel; string selectedFont = panel.GetValue<string>("Font"); Echo(selectedFont); panel.SetValue("Font", "Red");...

View Article


Class for work with lcd as char grid

This class represents text as characters grid https://gist.github.com/krypt-lynx/ba92afbc316f63bf887389da47003697 It is a part of bigger project, but it can be usable by itself. All drawing methods...

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

Image may be NSFW.
Clik here to view.

Vanilla Animated GIF Player for LCDs

Thanks to everyone who worked on getting the monospace font (with color pixels) added to the game. I created an animated gif player script which plays an animated gif on an LCD screen using the new...

View Article
Browsing all 645 articles
Browse latest View live