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

Can someone help with this basic script.

I'm trying to simply create a script that gets all the warheads on my given grid and set's them to detonate. I've made scripts like this in the past but I think some of the classes and/or behavior...

View Article


Understanding inter-grid communication

So I made a simple script last night that runs as intended and isn't nothing special. PHP: voidĀ Main(stringĀ argument){Ā Ā Ā Ā Ā List<IMyWarhead>Ā warheadsĀ =Ā newĀ List<IMyWarhead>();...

View Article


Help Needed Understanding inter-grid communication

So I made a simple script last night that runs as intended and isn't nothing special. PHP: voidĀ Main(stringĀ argument){Ā Ā Ā Ā Ā List<IMyWarhead>Ā warheadsĀ =Ā newĀ List<IMyWarhead>();...

View Article

How can I disable ship drills ?

Hi, Is there a way to disable a drill so that it cannot be operated manually? I have a "ship full" script which turns lights on when full. I have been trying to make it disable the drills when the ship...

View Article

Ingame API Feature Requests

I know you guys have a million feature requests for the PB, so give them to me! Be aware that the PB is limited by design. You probably won't get access to System classes.

View Article


Beginner questions about in-game programming

Hi everyone, I just started to (try to) learn programming because of that game (starting from scratch so wish me good luck) and when writing my first code I'm having a problem. I copied the exact same...

View Article

Buy(Whatsapp:+447459294174)Passport,Id cards,Driving...

Buy(Whatsapp:+447459294174)Passport,Id cards,Driving License,Certificates,IELTS,TOEFL and many others Whatsapp:+447459294174 cell : +441618506062 Email: diplomaticdocsassistance@yahoo.co.uk Skype:...

View Article

LCD Image Changing Script Errors

Hi there. I've been trying to use the Visual Script Builder for setting up a basic alarm system script, changing images shown on LCD's depending on what argument the programmable block is run with: -...

View Article


Newbie help

Been programming a long time, but never in C#. I'm trying to do the simplest of things in this language and just keep getting stone-walled at every attempt. I thought, as a way of getting introduced to...

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

GetItems() wrong usage

Hi, I tried make a script which show the amount of refinery ores and display to the LCD panel. But i get a error for the GetItems(). I am junior C# programmer and i cant use the API well. Code:...

View Article

Ship Leveling Script?

Hey guys, I am looking for a way to constantly check if my ship is level with the horizon, and to use the gyro's to fix itself if it needs to. Ideas anyone?

View Article

[1.190.0] Memory issues when calling another PB from a script

Since reconstruction one of my drone scripts I constantly have performance issues. The idea was to separate the code into several modules. Targeting module encapsulates all target data acquisition...

View Article


Auto landing script help

Hello dears engineers ! I am trying to make an auto landing script for every ship with any kind of thrusters. But I have some question about it, I use this formula : DistanceToStop = CurrentVelocity^2...

View Article

Options for MySprite constructor

The required data string in the MySprite constructor doesn't match up exactly with the .dds filenames. Is there a list of the allowed strings? So far I've found SquareSimple SquareHollow Circle...

View Article


Acceleration vector

Hello engineers ! I would like to calculate in c# the acceleration vector of my ship in accordance with the gravity vector. Especially I just want the acceleration of my thrusters up. Then I will have...

View Article

Finding asteroids with an AI

Hopefully this is helpful. I have not found any posts about this subject, so I figured I'd share. One of the main problems with creating a self-sufficiƫnt AI in space engineers is its ability to gather...

View Article


Basic 3-Axis Piston Mining

I'm trying to automate mining for survival game starts. I would have 1 piston moving in the x-axis, 1 piston moving in the y-axis and another moving down (z-axis) to drill. What I would like to do is...

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

[Bug?] IMyBatteryBlock.CurrentOutput

Hi there, i recently started getting into scripts of SE and doing some simple exercises to gather experience. Currently i'm trying to calculate the lifetime of a battery until it's depled. Example a...

View Article
Browsing all 645 articles
Browse latest View live