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

AI Base Defense Drone ( / Modifying the Pirate Drone Script )

So I've been looking at drone defense scripts. I found a couple on here and workshop, but they rely on sensors. The KSH pirate drone script has a GetNearestPlayer() for it's remote, and I understand...

View Article


Read “Yaw” value when a gyro is not override

I want to let a gyro only control yaw. That means when player move mouse left and right, ship turns left and right; when move mouse up and down, nothing happen. My solution: there are two gyro. gyro1...

View Article


Scanner script help.

I messed around with detecting objects with GetFreeDestination. While it works its incredibly slow due to calling the GetFreeDestination-method too often. Here is the script: Code: static readonly...

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

[noob] Weird error with programmable block

I have the following script on a programming block in my world: Code: void Main(string argument) { List<IMyTerminalBlock> blocks = new List<IMyTerminalBlock>();...

View Article


What were the 01.131 improvements to Programmable Blocks?

The changelog ( http://forums.keenswh.com/threads/update-01-131-improved-hud-markers-voxel-optimizations.7383039/ ) is not specific about the improvements to the Programmable Block. What were these...

View Article

Inter-grid comm system and dock system without block reference exploit

From what I understand so far the only possible way to two seperate grids to communicate is by having atleast two laser antennas, and another way is by having them attached to each other and a script...

View Article

Scripting using external software

i am trying to write my programs in MonoDevelop and so far everything works out, the only problem is i can't find the correct .dll for my using statement to get hands on the VRage.MyFixedPoint....

View Article


GetPlayers

Is it possible to use GetPlayers to get a list of connected players via programmable block? Something like MyAPIGateway.Players.GetPlayers. I want to get their position. If so, how do i use it?...

View Article


IMySoundBlock, Is there a way to select a sound?

I am writing a script that detect if a particular system is Online or Offline, which sound its state vocally. Asking why the trouble?, just link timers to turn system on/offf and selecy a sound block....

View Article

question about grids/blocknaming/gts

I write a lot of scripts that use blocks named a certain way (like many do). One problem with this, is that if two ships become connected through a connector and they have blocks that are named the...

View Article

Help, I'm using the in-game editor !

.. but I want to change, really I do. I found this thread http://forums.keenswh.com/threads/g...dio-for-programmable-block-scripting.7225319/ that tell you how to set up VS for editing, and even gives...

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


Converting a TimeSpan to String and Back?

I would like to Convert a TimeSpan to a string, Use the new Save() method to save it to storage when the game is saved. Then Retrieve that string from storage with the new Program() method when the...

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


Will Space Engineers be for mac?

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


Action setup confusion..

Spoiler: Code Toggle Spoiler Code: /* First version of the script. Might be buggy. Will automatically launch a stage rocket from a planet to space. Will handle fuel levels, rotation and pitch of...

View Article

OS cross compatible editor?

Hello I'm a little new to the in-game programing and I wanted to know what is a good cross OS compatible editor for SE programing. I'm running 3 different OS, Fedora 22 for dual boot and the others...

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