Space Engineers

Space Engineers

Not enough ratings
Ship Main Computer (broken)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
17.854 KB
10 Apr, 2015 @ 9:26pm
26 May, 2018 @ 4:18pm
73 Change Notes ( view )

Subscribe to download
Ship Main Computer (broken)

In 2 collections by Elfi Wolfe
Orbital Industrial Services, O.I.S.
47 items
O.I.S. Programing Division
14 items
Description
Main ships computer.

Guide at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=757765029
Example at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=824316746

Replacement script is at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1103394724

Hello,
This is a general purpose program. It covers:
Airlocks
Airpressure
Holding airtanks between two states of fill, giving space for depressurization.
Filling H2 tanks. if this runs it will fill the o2 tanks as well.
1 Hanger Bay
Giving a basic power reading
Locking landing gear if a connector is locked
Turns lights green or white if a landing gear is locked
Auto level in gravity field.
Orbit holding code (can be used to launch from surface of planet)
(Altitude base can be use to launch and land, only supported 1.153 or newer)
Can use GravDrive in orbit.
Sun chaser (can be use in orbit to get under sun)
(can be use to align toward sun in orbit)
(can be used to align a ship front/side/top towards sun in space)

While in an atmosphere greater than 5% O2 both airlock doors and hanger doors can be opened.
If in world with O2 or Pressurization disabled, airlock, airpressure, hanger all set to not run.

Arguments:
Default Makes zone list on game load or each time program block is initilized.
realtime remakes zones each time it is run. Best for ships under construction or damage
hardcoded need to put a list of zones in the code at line 148
autolevel toggle call to turn on/off autolevel feature.
orbit: toggle to turn on/off orbit holding feature
gravdrive: toggle to turn on/off gravdrive for above feature.
orbitaltitude: toggle to turn altitude on/off for orbit feature.
solartrack: toggle to turn on/off 1 axis solar tracking
selectorbitg: to change desired orbit on the fly
selectorbita: to change desired orbit on the fly


To do:
Improve the Guide.
Popular Discussions View All (1)
3
9 Feb, 2018 @ 7:30pm
PINNED: Bug Reports
Elfi Wolfe
52 Comments
Elfi Wolfe  [author] 26 Jun, 2021 @ 12:26pm 
I will take a look at it but this is an old script.
A new script was written to take advantage of all the new API (a few years ago) to replace this script.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1103394724
Storm 26 Jun, 2021 @ 9:39am 
breaking
Elfi Wolfe  [author] 26 May, 2018 @ 4:20pm 
Script should now see if world presurize is turn off. (api fix).
big_blue_4101 29 Apr, 2018 @ 12:31pm 
Hi, I haven't tried out your script yet. Which i'll do momentarily. I was wondering if you could help out with another script. "PMC Main Computer" by pclance. When I try to compile it, I keep getting 'program(674,3): error:: cannot implicitly convert type 'double' to 'float'. An explicit conversion exists (are you missing a cast?)'
The mod author said he would tale a look at it back in Feb, but no new updates have been made to it. Could you please take a look and see if you can spot and correct the error so I can implement it?
Elfi Wolfe  [author] 20 Apr, 2018 @ 6:06pm 
Script should be working again.
Elfi Wolfe  [author] 19 Apr, 2018 @ 9:34pm 
I should be able to fix this again now that most major changes to API are done.
Elfi Wolfe  [author] 9 Feb, 2018 @ 7:30pm 
Broke again....
Elfi Wolfe  [author] 11 Jan, 2018 @ 3:02pm 
Broke again.. I'll need to fix it.
Elfi Wolfe  [author] 26 Dec, 2016 @ 10:32am 
right now it auto figures out zones at compile time so you do not have to go in and list zones. that is only if you are using the hardcoded zones argument. but that is an idea. This program started out in 2015 April. lots of changes to programing blocks since then.