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

[Solved] Rare exception when compiling code.

Whenever i try to make this: Code: List<IMyTerminalBlock> ListName = new List<IMyTerminalBlock>(); GridTerminalSystem.GetBlockGroupWithName("Group of blocks to get").GetBlocks(ListName);...

View Article


[Solved] IMyInventory.CanItemsBeAdded usage

Some time have passed since last question about it so I wonder if today exists any possibility to use a method IMyInventory.CanItemsBeAdded and how to do that. This metod requires an argument of type...

View Article


Costum sound in scripts

Hello, I have a game script,where I want to add costum sounds can anyone help me? //red alert alertArgs[1] = "red"; alertNames[1] = "Red alert"; lightColor[1] = new Color(255, 50, 50); blinkInterval[1]...

View Article

I Need a little Debug Help

My code is below this Line, the Error I get is in the instance I'm not able to call the MyGrid Program terminal block stuff.. any advice or knowledge would be great... thanks. also most of the code...

View Article

Programmable Block script help

hi i had an idea but i dont know how to go about implementing it my idea is to create a script that updates other programmable blocks through block name

View Article


Check altitude

Hi, I try to make a drone who get in space and then come back to land. I usually use "Visual Script Builder" to make my scripts and it's work fine. But I want something that isn't possible with this...

View Article

Gravity Acceleration formula help.

Hello community. Iam trying to write a script for, lets say, sub-orbital aproach with less fuel consumption possible. The goal is to have a shuttle/pendling cargo ship from ground of the planet to an...

View Article

New Camera Raycast and Sensor API (Update 01.162 DEV)

by Rexxar: -------------------------------------------------------------------- This week brings several big changes to the programmable block API. The major features are:...

View Article


CybillAI Update Thread

Because Steam only allows so many characters in the description and it can be tough to find update posts in the comments section I am going to keep the updates to the script here in this post. Update...

View Article


Would this work - working to reduce char count in a Visual Script Builder code

I put together a script to run a hangar airlock system on with the script builder at Visual Script Builder.(so much faster than typing it out myself. I repair syntax and smooth out logic after the fact...

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

Camera overlay in the View mode

In the View mode, in the upper left corner of the screen there is a "label" with CustomName of camera. Unfortunately, changes of the CustomName will be not affected until reactivating the View mode....

View Article

Programmable Block script help 1001

Hello. can somebody help little moor that usually. So little information. I tray make 1 carrier, that carry 4-6 ship. Carrier main goal is to be only use jump drive to space location, deploy ships and...

View Article


Request for access to wheel propulsion override (Steering angle as a bonus)

To whom it may concern, Request: I am hoping that we can get access to wheel propulsion through in-game scripting, like we have access to the "Override" property on a Thruster. Considerations: I am...

View Article

Image may be NSFW.
Clik here to view.

Automated assemblers keep inventory level

Hey all, I just finished building an automated assembler setup that I'm pretty happy with. Basically, it's a system that lets you specify how much of a given item you want to have in inventory, and...

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

Broken Rotor script...

Hi everyone, I've managed to write this script below which works.... once. the idea is when a button is pressed the rotor moves in that direction by 1 degree from its last position. Currently the first...

View Article


Image may be NSFW.
Clik here to view.

Request for smaller scripting improvements

Ok, here's my request for a few things that I stumbled upon while trying stuff with the ingame API First there are missing whitelist entries for ingame scripting:...

View Article

How to find values/properties of a block

To start off, yes I know how to find the basic terminal properties (I think thats what they're called) that look like this: Laser Antenna Implements IMyLaserAntenna IMyFunctionalBlock Properties OnOff:...

View Article

Find Weld/Grind Speed with in-game script?

Can a script look up tool speed? I really would love it if my auto welders had an idea of how fast they are able to finish a job so they don't skimp on the armour blocks which they cant check the...

View Article
Browsing all 903 articles
Browse latest View live