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

Is it possible to calculate the mass of a ship?

I am trying to make cargo containers that will be shipped all across my server, however I have a limit on how much one can hold, simply because the ship design can't carry that much mass. So is it...

View Article


Taleden's Inventory Manager

Latest version: 1.1.0 (2015-11-06) Steam Workshop Page User's Guide Taleden's Inventory Manager (TIM) is an in-game script which automates the management of your inventory, refineries and assemblers....

View Article


Ship and block mass

Is there a way I could get/calculate a ship's mass using in-game scripting? I have had a look at the API as well as some of the GitHub sources but found nothing. Searching this forum gave me either no...

View Article

Terrible at this sort of thing

What's the least code I need to Press a button, have some flashing interior lights turn on, wait a second or two and then begin cycling some hangar doors and then wait however long to turn the flashing...

View Article

Should this be working ? (string.Format() )

This code works in VS but not in SE. public static void SetRotorAngle(string name, double angle, double velocity) { Echo(string.Format("SetRotorAngle : name={0} : angle={1} : velocity={2}", name,...

View Article


Please help with programing IMyRemoteControl 'Forward Direction'

I've been struggling with this for some time now and just can't seem to get it right. I want to change the forward direction of a remote control via a script. According to me, my code should work and I...

View Article

Turn NPC pirate drone into defense drone

I've been playing this game for a month or two and I just started messing around with the programming. I can't quite figure it out how to reference certain ship components; is there like a...

View Article

Little help please?

Is there any reason why this would work too cycle pages of data on one LCD but would start to bug out when trying to use the exact same code in a method to display a different set of data, I tried...

View Article


Script for PB that detects distance to planet

Like the title says i need someone to help me if possible, I need a script that detects distance to a planet or object like a station. I would use this for to deploy parachutes at a certain distance...

View Article


userID recognition?

Is there anyway to recognize and track a specific player, whether it is by sensors or turrets? The only way I have so far is having the player finish welding a block and then accessing it's ownerID,...

View Article

Virtual mass

I am a bit confused about virtual mass. I've found out the following through experimentation with spaceballs: 1) Virtual mass does not count in the info tab in the terminal window, but the base mass...

View Article

No more Documentation.chm in the game folder?

Hello guys, Since this last update, I've lost access to that file. Was that intended? If so, where can I find the complete API? Sorry for my ignorance and thanks!

View Article

Automatic Planetary Landing Script

Hi All, I tried a few searches but couldn't find what I was looking for. I'm making a drop ship and I wanted to make it a full automated landing via pushing 1 button. For example - Sitting in dropship...

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

Remote control autopilot stops responding.

I'm using autopilot to perform some maneuvers after disconnecting from a connector. The problem is all thrusters stop working and the ship just points in the direction of the way point it's suppose to...

View Article


IMySensorBlock LastDetectedEntity

Hi guys, As you are all aware, there's an exploit currently possible through the Sensor Blocks API via LastDetectedEntity. Since it returns a direct IMyEntity reference it is possible to do all kinds...

View Article

Using the programming block to set Gravity Field Width/Depth/Height

I've been trying to modify a gravity generators gravity field using the programming block, but I seem to be running into an issue with the Field properties. Here's the code I'm using: Code: void Main()...

View Article


Debugging Scripts: Request For Input

We all know debugging scripts is a pain. What could be done to improve your debugging experience? Obviously things like breakpoints is not possible. I suggest moving the output from the small...

View Article

Vector3D tutorial.

I've read the docs on the Vector3D but I need a tutorial on the application of the methods. I believe the class is particular to Vrage or Keen so the notes are pretty basic. So I'm really looking for a...

View Article

need alternative to Remote Control block autopilot

I'm having multiple issues with RemoteControl blocks, namely the autopilot. Trying to control a drone from a PB. Problems are: 1. There is no control over collision avoidance. Can't turn it on or off,...

View Article
Browsing all 645 articles
Browse latest View live