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

Yet another scripting system

I have been working on a scripting system for in-game programmable blocks for couple years and now again I am asking some feedback from fellow space engineers. I have modeled the execution as a set of...

View Article


Recompile needed upon login

Every time upon restarting to our DS I basically have to manually recompile a couple of PBs that I'm currently scripting in. Either there's something wrong or I'm being stupid here but basically...

View Article


Advanced Modders/Scripters. How would you Scale an Autonomous Fleet?

Hi All, Over the last few years of this game, I've been using the ingame and modder api's to program 'AI' drones as well as the underlying coordination and fleet logistics needed to basically build a...

View Article

Image may be NSFW.
Clik here to view.

Ore refining time script - i have some question, can you help me?

This is my 1 script hello Refinery Last time I was programmed I was kid, I have to program on C64 in BASIC and assembler. Spoiler: Code Toggle Spoiler Code: void Main() { // you need to build the same...

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


How do I compare a block property/how do I find it?

Hello everyone, noob question here. I'm basically programming my own airlock script and want to check if the exterior airlock door is open. But I've got no clue how I can actually check that property....

View Article

How to negate gravity with a missile (forward thrust only)?

I'm trying to miniaturize my intercept script from a drone into a missile. In order to drop excess weight to increase acceleration and decrease time to target, I want to drop all but forward-propelling...

View Article

Image may be NSFW.
Clik here to view.

Ore refine time script

This is my 1 script hello Refinery Last time I was programmed I was kid, I have to program on C64 in BASIC and assembler. Spoiler: Code Toggle Spoiler Code: void Main() { // you need to build the same...

View Article


Log4PB - Logging/Debugging Lib

What is Log4PB? Log4PB is a versatile loggin framework for Programable Blocks Minified Version: Download Current Size: 6355 chars. Please like/subscribe here so I can keep trak of how many people are...

View Article


MDK: Malware's DevKit for Space Engineers

https://github.com/malware-dev/MDK-SE MDK-SE (Malware's Development Kit for SE) A toolkit to help with ingame script (programmable block) development for Keen Software House's space sandbox Space...

View Article

Confused from programmable block

Hello guys, Iam little confused about programming ingame. Iam not using it daily, also my main job is not a programmer. So between two programming attempts I always lost all my knowladge. Every time, I...

View Article

CybillAI Update Thread

Because Steam only allows so many characters in the description and it can be tough to find update posts in the comments section I am going to keep the updates to the script here in this post. Update...

View Article

How to get position of a block? And matrices for dummies.

How to get position of a block? And matrices for dummies. I am little bit puzzled - i wanna get a block's position relative to another block (say - a thruster to a cockpit, to decide - is it on a felf...

View Article


Need help with gyro control logic - Greatly Appreciate any assistance

Hi guys. I write a lot of code related to drones and making them do things like mine, dock, and stuff.. like that. I'm having trouble with some simple... kind of simple logic that keeps tripping me up....

View Article

New Camera Raycast and Sensor API (Update 01.162 DEV)

by Rexxar: -------------------------------------------------------------------- This week brings several big changes to the programmable block API. The major features are:...

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

Monospace in color

How do I get characters to become a different color when using monospace font? I've searched forums/google but can't find anything specific. I see most scripts are using a special character for each...

View Article


Simple Scripts gets "Script Too Complex" error

Hey guys i've been having a problem recently that prevents my script from working correctly. I have a super simple script on a grid of 50 ish blocks that grabs the laser antenna with...

View Article

Early Warning System

On my MP, I have had drones constantly popping up, and causing a bit of damage to my ships. Because of this, I have been trying to find a script which can basically activate an alarm if enemies are...

View Article

PB display all blocks to LCD

Hey guys, Im fairly new to scripting (ha have been for years) and im trying to get started in C# within SE. i wanted to make a simple script that created a list ALL functional blocks on an LCD screen....

View Article
Browsing all 903 articles
Browse latest View live