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

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


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

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

[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


[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

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

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

Where to find latest source code?

EDIT: Solution: Download ILSpy (http://ilspy.net/) open SpaceEngineers\Bin64\Sandbox.Common.dll with ILSpy, go to Sandbox.ModAPI.Ingame and there you have the overview I was looking for. Thanks to...

View Article


PB Sensor Feature Suggestions

Greetings programmers! I want to hear your suggestions for new PB features. Disclaimers first: I'm not officially working on PB, it's just a pet project. Anything we discuss here is just for discussion...

View Article

Taleden's Inventory Manager Auto Deployment Script, Type Less!

Github link: https://github.com/Therianulf/SpaceEngineersScripts Steam Workshop link: http://steamcommunity.com/sharedfiles/filedetails/?id=847583443 I love Taleden's Inventory Manager, but I hate...

View Article


Get Blocks with name Tag

Hello, is there a common solution to get Blocks by a Nametag. for Example all Blocks with "Test - " in thier name. I know there a multiple ways, but wich one is the most performant?

View Article

Setup visual studio for SE programming

Latest update finally broke SE Workbench which I used for writing scripts, King, the user who made SE Workbench was last seen online few months ago and so I'm not sure if when when he will fix it. I'm...

View Article

Image may be NSFW.
Clik here to view.

"Strafing" ships

Hey, nvm, fixed it I'm trying to get a ship to "strafe" without rotating to a given point but something is behaving silly. At first it worked, but then i turned the drone around and it didn't work...

View Article
Browsing all 645 articles
Browse latest View live