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

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

Image may be NSFW.
Clik here to view.

Ingame API Issues

Hi everyone! I'm here to fix the PB API as well as ModAPI! So, give me your problems! Please do not post feature requests in this thread, as they will be handled in another thread! Please describe how...

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


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

Looking for a enemy alert

I'm looking for a script to activate soundblocks "and, or" lights. Do you know a good choice?

View Article

Important information about scripting in the Modding channel!!!

You really should head over here and read this: https://forums.keenswh.com/threads/modapi-and-pb-api-changes-nov-2017.7398158/ There are some very nice things incoming for the programmable block thanks...

View Article


Programmable block API documentation

Topic Permalink EDIT: Keen now generates the documentation and the file Documentation.chm can be found inside the Tools folder in your Space Engineers game folder! This documentation is no longer...

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

PB Scripting Guide: How To Use Self-Updating

Greetings engineers! As you all have (hopefully) read in last week's update post, the PB now has some fancy new self-updating features which means you no longer need timer blocks! This self-update...

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

Programmable Block Inter-Grid Communication Guide

Oh yes, that's right. The single most requested feature for PB is now happening. Programmable blocks can now utilize the antenna system to send data to other grids. We said it was never gonna happen,...

View Article


IMyMotorAdvancedRotor IMyMotorRotor how to attach?

I don't see any function for attaching / detaching rotor heads in IMyMotorAdvancedRotor or IMyMotorRotor. Is it not implemented?

View Article

Programming right click mining

I like to build machines that dig big holes I really do not like to sit in the control station whilst they are doing so I would much rather be more productive. Is it possible to make a drill 'right...

View Article


Image may be NSFW.
Clik here to view.

Complaining about Update60

rexxar said: ↑ you can configure the PB so that it runs its script every 1, 10, or 100 ticks Click to expand... 1, 6, 10, 60 and 100, please !

View Article

code reuse - best ways to do it?

I have all these methods that help me out with stuff. For example, I have my own methods for getting blocks/groups for superior error handling. But to re-use this code across multiple programmable...

View Article


Way to detect landing gears locked to a subgrid?

I would like to detect if a landing gear has been locked to my sub-grid or not. I don't need access to the block information just to know if a landing gear is locked or not. Is this possible?

View Article

Run another PB with argument in script

Hello. How can i run another PB from my script with a custom argument?

View Article

Access Block Constants without Instance

Hello fellow engineers! I have been working on a new script recently and discovered that you can only access block constants if you have an instance of that block. For example, I wanted to access the...

View Article
Browsing all 645 articles
Browse latest View live