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

Extension Methods and Properties

This may seem trivial but is there a way we can use C# extension methods and properties? Like a static class with static methods doing all the customizing work. I've been using Visual Studio to build...

View Article


Changing Light Intensity with PB's

Quick Question here, is it possible to change the intensity of a light using a programmable block? And if so, How?

View Article


Closing door then turning it off

Hello, I have a script which (eventually) will control airlocks on my ships and stations, but I have come across a problem. As the title suggest, I want to close the doors and then when they are...

View Article

Align text to right side of screen

One of the features my ScreenDriver class has is the ability to write text on both corners of a line. This is the following code that I wrote: Code: public string AlignToRight(string textOnLeft, string...

View Article

I Made a Cargo Drone Script

Hi everyone, I made a script for cargo drones on planets. If you have a mobile drill(or ship) with a connector On top (facing upward) and a sorter block directly under that, you can lock a cargodrone...

View Article


Finally!! lag free VANILLA FLEET AUTO-Pilot concept! @@

After spending a year and a half and a lot of frustration in attempting grid to grid auto pilot, (not 700 seconds of lag in commands that is), learning that NO you CANNOT use the magic CONTROL action...

View Article

IMyTextPanel Properties: How do they work

I've been trying to remake my textpanel warp class , and after some digging I still don't understand how exactly text works. Clearly, the default font has some not-the-same sized letters, and I already...

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


parallel processing, is pb capable of doing this?

Some scripts, like mine for example, fake a loading screen before proceeding doing whatever they were designed for. However I'm sure that even the simplest of real life programs actually preform...

View Article


Spawn Spiders per Script.

Is it possible to spawn spiders or dogs per in-game script? any ideas?

View Article

IMyTextPanel: API Method Change?

I've noticed after the update, IMyTextPanel has a method changed, particularly WritePublicText() (or GetPublicText() I can't tell). The change is really subtle but it did break one of my scripts. I've...

View Article

How to determine how much ship rotation happens per second based on gyro...

I want a script to set a gyro override values to turn my ship to a target point that is X degrees in exactly one second. So the override value should be perfect so that the ship is pointing at the...

View Article

User Interface in Programmable Block

Hi everyone, first time here (but long time player of Space Engineers). I finally started tinkering with the programmable block, and I already created a couple of simple scriptsto get the hang of it...

View Article


Image may be NSFW.
Clik here to view.

Find Pitch and Yaw to target

Hello. i want to understand to know pitch and yaw for facing to target by gyro. like how guidance missile work but i don't understand how it work. please explain me how these math algorithm work ......

View Article

Is it possible to create a block group?

Sadly my last copy of the old API documentation.chm got lost in a cleanup frenzy so can anyone tell me if it's possible to group a couple of IMyTerminalBlocks to a group and check if a group with some...

View Article


Ideas on lagfree auto-mining and asteroid-finding

The last two weeks I have been working on an auto-miner and I have some ideas I would like to share. I succeeded in creating an autominer script that causes very little lag and can cause its ship to...

View Article

Help Request: IMySlimBlock

I have an array of rocket launchers that I want to check the health of and if any of the blocks are damaged then to perform an action (like turning on the welders right behind them). I managed to make...

View Article


Programming with groups

Hey guys, All of my scripts are broken. What's the most recent syntax for programming with block groups? for example, I would like to make a group of lights flash while a group of hangar doors are...

View Article

Feedback on upcoming PB changes

Hey guys, I've been working on some big changes to the programmable block API and I would really like to get your feedback! First off: reference exploits. I've removed two such exploits:...

View Article

While we wait for sensor changes... Turret as sensor

This is my current wingman AI, which uses the LastEntity semi-cheat for sensor stuff, so I gotta merge the above into the below. /*WingmanDrone with Fixed Weapon by Spiritplumber based on Sunoko*/ //...

View Article
Browsing all 645 articles
Browse latest View live