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

Image may be NSFW.
Clik here to view.

Vanilla Animated GIF Player for LCDs

Thanks to everyone who worked on getting the monospace font (with color pixels) added to the game. I created an animated gif player script which plays an animated gif on an LCD screen using the new...

View Article


Image may be NSFW.
Clik here to view.

Need a little conceptual help with IMySlimBlock

So here's my problem - I know what an IMyTerminalBlock is. Refineries, LCD panels, lights... Makes sense. I even figured out that conveyor tubes and passages are IMyCubeBlocks... But what about...

View Article


Easy Automation (In Game Script)

Hello there, I just finished a script that I have been working on for a while now called Easy Automation. It allows you to access a bunch of different functionality by writing simple instructions in an...

View Article

Assign a sound id to a sound block

I have over a 100 sounds I want to use in the game, mostly AI/warning sounds I created. As I understand there is currently no way to assign a sound to a sound block via script using the sound ID/name....

View Article

PB Unlimiter plugin

Hi all, I threw together this super simple plugin for MMaster and decided I may as well share it with the forum. This plugin does one thing; it removes the character limit from the programmable block....

View Article


get list of all components, which can be produced by an asssembler

Hello, i´m currently making a small script for my ds and for that script i need a list of components a assambler can produce. I have no clue where i could get it. I hope you can help me Yours Lukas

View Article

Centered Text on an LCD Panel

This thread gave me some ideas on how to center text on an LCD Panel. Using the data in FontData.xml (Content/Fonts/white_shadow), I pull the width of each character and put them into a...

View Article

Ingame Programming missing API and functions and known issues

So i've decided to sum up, what i'm mostly missing on blocks in ingame API Please add things you want to see, or that should be here Before i list missing APIs i add few known issue and possible...

View Article


Image may be NSFW.
Clik here to view.

how to set rotor's upper and lower limit to unlimited???

how to set rotor's upper and lower limit to unlimited Code: rotor.SetValue("LowerLimit", ??? ); rotor.SetValue("UpperLimit", ??? ); thx

View Article


(request)Kamikaze Pirate script.

My community have been talking about having a sorta PvE server event using the Pirates as the main enemy. The idea is for us to create a particularly nasty pirate ship that spawns drones. Using all the...

View Article

Setting Jump Coordinates

I've been searching around to find out if it is possible to set jump drive coordinates using a programming block, but most of the information I've found seems to pertain to people wanting to execute...

View Article

How do i get a Dedicated multiplayer server's game time/ticks?

How do i get a Dedicated multiplayer server's game time/ticks using a program block?

View Article

Speed Governor?

is there a way via programming blocks or something to govern the top speed of a vehicle BELOW the game max?

View Article


LCD/Text Panel Monospace font column/line count.

I just thought i'd leave this here... Potentially saving others the hassle of calculating these themselves. Code: Columns Font size Lines 4 6.4 2.857142857 5 5.12 3.571428571 8 3.2 5.714285714 10 2.56...

View Article

Getting a Vector3D in front of a Raycast Target

I am trying to finish up an autopilot script that flys to the currently detected target using a camera raycast. The difficult part I'm finding is how to get a position that is on the same vector as the...

View Article


initialization vs. destroyed blocks

How does your script handle one or more of the blocks of script interest getting destroyed? Do you get the blocks only at initialization, to save memory? Are you ok with the script likely erroring out...

View Article

Maximum acceleration limit?

Is it possible to mod a 8000% thrust modifier? I know the speed limit is 999,999 m/s (which is ~4 times the speed of light. No reason to go that fast anyways). Is there a way to use the atmospheric...

View Article


Need help with assembler item move script

My goal with this program is to scan all the assemblers in the grid and then send all the items from output inventory to the main storage which is called - "Main Storage - BASE". My code seems to be...

View Article

[In-game Script]How can I get the current suspension height?

Really want to get CURRENT suspensions height. Yes, IMyMotorSuspension.Height can return the height offset. I don't need the offset. You know, current height is not equal to height offset when...

View Article

Display the amount of uranium in reactor on LCD

Could someone help write so code for displaying the amount of uranium in reactor on LCD? So I have a reactor called ReactorEB and as LCD called LCDReactor. I want to display on the LCD the reactor...

View Article
Browsing all 645 articles
Browse latest View live