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

Possibilities of scripts to align ships on sets of axis(es?) based on cockpit...

With the introduction of scripting, there seems to be quite a few possibilites for scripts to do things. Sadly, I'm not familiar with in-depth scripting, or the language in general. What I was...

View Article


Triggering timer blocks with wasd trough cockpit.

Has anyone written a script for this? This should apparently be possible with current api changes. This would be very useful for all direction gravity drives. I also suspect i am able to create a mech...

View Article


Times Chat messages

Hello there, I want to send a Chat message to all players before my dedicated server restarts. Is this possible? Can I send a Broadcast by a Programmable block?

View Article

Programmable Block TryRun kills script?

I feel like I may have missed a notice somewhere. This script invariable returns as too complex... Even stripped down to just the find a programmable block and use TryRun methods, it still is too...

View Article

Load blueprint into projector?

I can't seem to find any way to load a particular blueprint into a projector.. I can see all the manipulations to move one, but nothing to actually drop the blueprint in there to start with. Anyone...

View Article


Any documentation?

Hello everyone, I just got started with the programmable blocks in SE and I wanted to know if there's any documentation for the API, as I can't find any, just the wiki with some brief info. Note:I have...

View Article

GetOxygenLevel?

I see that GetOxygenLevel float was added to Air Vents and Oxygen Tanks. A quick look through the workshop and here and I can't find anyone putting it to use. I am a VERY novice coder and have no idea...

View Article

Reusable Utility Classes

I thought this forum might enjoy some reusable classes to make writing various types of scripts easier. I've included a short description of the most functionality included in each of files. Note: this...

View Article


Changing rotor velocity by 0.5 via sensor/timer

Hello everyone. I made an elevator with 6 rotors and light armor blocks. It works well enough except for one thing: when it reaches the top (or if I stop it anywhere midway) it shakes a bit too much. I...

View Article


Pulling Info from the HUD display...

Hi, Im trying my first attempt at a few scripts, and I was wondering if there is anyway to pull information from the hud display? You know the two boxs that hold the information for the character and...

View Article

[Question] Emulating hardware and creating a virtual OS = feasible?

Hi, first time poster here. I've done a search in the in-game programming for this topic but the best I could find was a state machine, which would be the first step I guess into what I want. Link -...

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

Can PB get list of signals from Antenna?

I am wanting to create a script counts/displays/logs signals around me. Is it possible to extract this data from the antenna block via the BP or can I only do this with a sensor or camera block...

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

-

Old title: A little suggestion to community about Custom Data field: do not use it in exclusive way All in title. At least, if it possible. Why: There is situations, there one block can be affected by...

View Article


Idea: Formations

Not to put this on a particular person but this might be a good one for Trevish and his revamped GPS+nav script. It would also (probably) involve using coded message in beacons/antenna names. I would...

View Article

[Beta] Space Engineers Workbench - A feature rich IDE for Space Engineers...

Hello all. My name is Tim and I'm a professional and hobbyist software developer. I had posted my original thread in the modding forum, but I think this forum may be more appropriate. For the last few...

View Article


Ship Printer Scripting.

Would anyone know if its possible to use the programmable block to detect the health/build state of all blocks on a grid? Or ideally a subgrid attached via a merge block. I want to be able to use a...

View Article

Is there no "IMyAirVent" ?

Hello, in a script I need the oxgen value and ste the pressurisation on or off. But there is no IMyAirVent Interface? How can I access the Airvent to get Information and set some stuff? IN Visual...

View Article

Linq Wrapper

UPD: Like @JoeTheDestroyer noticed - linq already whitelisted, but not listed in usings; So, I changed code to wrap original System.Linq methods. It allows to use linq as extentions and also (quite...

View Article
Browsing all 903 articles
Browse latest View live