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

Accessing Block based on local Position relative to a known block

Hi, Before I describe my problem I would like to take a moment to describe in advance what I am trying to achieve in case there is a simpler method. If there is a thread that has already discussed this...

View Article


Image may be NSFW.
Clik here to view.

XUI - An XML based UI Framework

Greetings alltogether. I present to you the UI framework I've made over the last time. It allows you to create ui pages by writing simple xml code and rendering it directly onto the text panel...

View Article


Need help to get raycast to work

I'm pretty good at figuring this stuff out but I just cannot get the example script by Rexxar to read out anything....

View Article

PB Sensor Feature Suggestions

Greetings programmers! I want to hear your suggestions for new PB features. Disclaimers first: I'm not officially working on PB, it's just a pet project. Anything we discuss here is just for discussion...

View Article

A little suggestion to community about Custom Data field: do not use it in...

All in title. At least, if it possible. Why: There is situations, there one block can be affected by multiple scripts. And all of them can want to read configuration from Custom Data. Example: Airvent...

View Article


-

Old title: A little suggestion to community about Custom Data field: do not use it in exclusive way All in title. At least, if it possible. Why: There is situations, there one block can be affected by...

View Article

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


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

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

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

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


(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


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

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
Browsing all 903 articles
Browse latest View live