Space Engineers

Space Engineers

Not enough ratings
CyberVic's In-Game Programming API Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.059 KB
8 Jan, 2015 @ 10:35am
8 Jan, 2015 @ 11:04am
3 Change Notes ( view )

Subscribe to download
CyberVic's In-Game Programming API Script

Description
Basically this is a giant API with a sample Main method which demonstrates the capabilities of the API.

I will add a change log here and add more documentation as needed.
I am thinking about putting a visual studio solution up on Github and linking to that as well.

Features of the API are broken into 4 sections
1. Functions - Common functions I use in various other operations
2. BlockOperations - Personallized common methods I use on a lot of ships
3. Block Actions - Extensions of base classes which allow for explict method calls of actions or
4. Selectors - Extensions to the GridTerminalSystem for getting either single hard cast objects by name or collections of objects by the type

Example uses of the API
-----------------------------------
Fleet Status Report - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=371708872
Active Mode - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=371708554
Dormant Mode - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=371708735
Work Ship - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=371712921
Fighter Ship - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=371712776


Please as usual, like, favorite, subscribe, and share with your friends!
2 Comments
CyberVic  [author] 8 Jan, 2015 @ 11:06am 
Renamed selectors for RadioAntenna(s) to just Antenna(s)
Added seperate selectors for GravityGenerator(s) and SphericalGravityGenerator(s)
CyberVic  [author] 8 Jan, 2015 @ 10:46am 
Updated for the 2015/01/08 patch.

New entry in workshop since old one is no longer revisable. (appologies to subscribers)
Added support for selecting Projectors or a Projector by name.
The sample code in the main function no longer enables or disabled projectors.
Other minor bug fixes.