NEED HELP A script to shoot rockets in sequence
Hi, I've been asked to make a script that basically makes rocket launchers fire one after another. I am not familiar with this game's command block's methods and I have no clue of what I am doing since...
View ArticleShip 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 ArticleIs 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 ArticleAutomated 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 ArticleVirtual 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 ArticleNo 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 ArticlePlease 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 ArticleTerrible 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 ArticleShould 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 ArticleScript 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 ArticleTurn 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 ArticleIMySensorBlock 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 ArticleuserID 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 ArticleRemote 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 ArticleUsing 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 ArticleDebugging 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 ArticleVector3D 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 Articleneed 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[Help] Overriding or reordering waypoints in remote block.
Is there a way to take the list of waypoints in the remote block and reverse their order so the last entry is now the first and the first the last? I know of the functionality to add a waypoint via the...
View Article1.135 Major Scripting changes
Major scripting changes are listed for 1.135: Drui said: ↑ “Features - modders can now create their own terminal interfaces (by Tyrsis) - production API changes (by Tyrsis) - projector ModAPI changes...
View Article