Inventory API change after update?
After the update, my inventory script stopped working. The code checker says "The type or member 'string MyObjectBuilder_Base.SubtypeName' is prohibited.'" The code in question is Code: var itemList =...
View ArticleUpdate a script from a different computer
Hey everyone, It's not exactly a programming but a workshop publishing question. When in create a script in a computer A, I can of course download it on a computer B by the workshop but when I try to...
View ArticleAuto pilot
Hi, I want to try to make my own script to stop using the auto pilot. Because I have really too much trouble with that, and the last update seem to make it even worse. Before the update my drone where...
View ArticleIngame API Feature Requests
I know you guys have a million feature requests for the PB, so give them to me! Be aware that the PB is limited by design. You probably won't get access to System classes.
View ArticleSave And Restore State Of A Block
Is there a way to save the state of a block (all its properties and settings) and then at a later point restore it? I am currently saving the On/Off state to the Custom Data field of the block but I...
View ArticleRaycasting Not Working Anymore?
Edit: Figured it out, people on the discord were nice enough to help me. Not sure how to delete this thread.
View Articlefull list of itemids or something equivalent.
hi im coding a control script for my sorters and for that i need a list of all component/ore/ingots ... ids. aka anything that can land into a sorters filterlist. the reason is i want to display a list...
View ArticleIssue terminal commands to another ship?
Is there some script or programming that can access the terminal controls of another ship? What I want to do is activate the Autopilot on a ship from another grid via a button press. You can do this...
View ArticleHow can I roll my ship to align its floor with the floor of a station?
So I'm trying to make an automated ferry that will bounce around between 2 or more stations. To make this work really well, I want the ship to orient itself on the roll axis so that it's idea of "down"...
View ArticleIs there a getTime function?
I would like to know the time the block has been running or the sim time. when I use ray cast from a camera block it gives a timestamp but idk where to grab time to compare the timestamp to. I would...
View ArticleChange Button Panel Via A Script?
Is it possible to change what the buttons on a button panel activate via a script?
View ArticleChange Color Of A Block Via Script?
Is there a way to do this and if so what effect would it have on server performance.
View ArticleCreate And Edit Block Groups Via Script?
I am wondering is there a way to create and edit block groups via a script?
View ArticleSet Share Inertia Tensor?
Is it possible to set the "Share Inertia Tensor" via the Program Block for the Rotor and Piston? On this page it doesn't list the property at all for either the Rotor or the Piston:...
View ArticleIngame scripts on online server (dedicated) not working as expected
Hey everyone, I have a script which couldn't be any simpler: public void Main(string argument, UpdateType updateSource) { IMyFunctionalBlock thruster = GridTerminalSystem.GetBlockWithName("Atmospheric...
View ArticleCryo Chamber Properties
According to API Cryo Chamber's have the following properties: Code: Actions Name Description ControlThrusters Control thrusters On/Off ControlWheels Control wheels On/Off DampenersOverride Inertia...
View ArticleOverride Detailed Info
I think it would be quite handy if players could override the detailed info for a block and it replace it with some custom text. For example the turret block currently displays nothing but you make a...
View ArticleSet Block Ownership To Neutral?
I know ages ago they removed the ability to "hack" blocks you didn't own but is it possible to assign a block you own to ownership: neutral or space pirates? You can do this via the terminal but you...
View ArticleGeneric GetValue Option?
I have been trying to do something like the following: Code: myBlock.GetValue<T>(prop.Id); Basically I want to be use GetValue on the property of a block without first knowing if its boolean,...
View ArticleHow Does CubeGrid.GetHashCode Work?
I have been trying to find out a way to check a grid to see if it has been physically changed ie if a new block has been added or one has been deleted. Currently I am simply fetching all the terminal...
View Article