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

Drones [Solved]

Hey all, I've recently started modding space engineers, but I haven't really gotten into the in-game scripting yet. I've read this tutorial and have gotten everything right until it comes to the drone...

View Article


Precision Drill Speed Script needs some LOVE

Hi fellow Engineers, one of my favorit scripts stoped working as of late and i need some help fixing it. when started with the proper setup it should move the ship with about 0.1-0.3m/s forward...

View Article


I need an idea: how to select all block of type, specified by user?

My script allows for user perform operations over block groups. It have multiple filters to select a group and I want to add one more: "select all blocks of specified type". But there is a question:...

View Article

Quick Introduction to Space Engineers Ingame Scripts

I have created a quick introduction tutorial on how to create Space Engineers scripts. https://github.com/malware-dev/MDK-SE/wiki/Quick-Introduction-to-Space-Engineers-Ingame-Scripts Got any questions?...

View Article

MDK: Malware's DevKit for Space Engineers

https://github.com/malware-dev/MDK-SE Currently at Release Candidate. I'm just one guy, I need your help to test this! MDK-SE (Malware's Development Kit for SE) A toolkit to help with ingame script...

View Article


Easy Automation (In Game Script)

Hello there, I just finished a script that I have been working on for a while now called Easy Automation. It allows you to access a bunch of different functionality by writing simple instructions in an...

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

Adding Needed Projector BP Components to Assembler

First post here. I'll jump right in. All the code in this post in a prototype state, but working. I wanted to make a script to automatically add components to an assembler's queue, based on what blocks...

View Article


Projector programming needs love

I've tried to search for this, but have yet to see anything newer than 2015, so I'm asking anew. For the projector, the API documentation does not define how things work, such as the .LoadBlueprint...

View Article


MyDefinitionBase and Projector RemainingBlockPerType

I know that MyDefinitionBase is restricted and was wondering if there was some magical way to access say the DisplayNameString or something that gives me an idea of the block type when getting the...

View Article

Help with variable casting - Airlock Pressurize script

I am trying to create one snippet of code that will change which LCDs the ouput is displayed on, based on which Airlock is tasked to Pressurize/Depressurize. Currently, I have this: Code: public void...

View Article

[SOLVED] Help with Exception handling - Vent Pressure snippet

So I'm writing a script for my airlocks, and I have a method for converting the % pressure from the vent's DetailedInfo into an int for status checking. Code: public int VentPressure(IMyAirVent vent) {...

View Article

Beacon and Antenna GPS

I think I may have found a way for drones to extract Vector3D info and create waypoints from Broadcasts (like Beacons and Antennas) Each Beacon and RadioAntenna block creates a MyRadioBroadcaster...

View Article


[SOLVED] Help implementing complex numbers

I've finished coding the equations for quartic and cubic polynomials, but I'm running into an issue during execution of the code since the equation calculates a complex value. I have a class that I...

View Article

Help, is it possible to check if a laser anttena has broken its laser...

So like the title explains is it possible too check if a laser connection is broken. For example if the active laser connection is broken trigger an alarm. As of this moment iv'e only been able to...

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

Need we "ingame time since world creation" variable for ingame scripts?

There is ongoing discussion about request to add a way to obtain ingame time since world creation. Saying in another way, to add Internal variable which represent count of logic ticks passed in the...

View Article


Gravity drive control comparison

A few remarks at the beginning: Though you won't find any code in this thread, this is about programming. Specifically the control algorithm used in the two different solutions presented here without...

View Article

Translate position of a Ship using thrusters

Given a current position and a target position i'm trying to apply thrust to a ship to cause it to move toward the target position without changing the orientation(arbitrary) of the ship. I'm not even...

View Article

Characters created when copying code?

When copying a script from one programming block to another, I am getting the issue that extra characters appear to be created in the copy. Script was fine before, copy over and suddenly its got about...

View Article
Browsing all 903 articles
Browse latest View live