Space Engineers

Space Engineers

평점이 부족합니다.
Auto Recharge (coming home)
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
2.868 KB
2016년 8월 1일 오전 9시 30분
2016년 8월 20일 오전 3시 26분
변경 사항 6개 ( 보기 )

다운로드 위해 구독하기
Auto Recharge (coming home)

설명
Auto Docking / Recharge Script

(Coming Home Function)

Short description:
Tired of switching off Thrusters and setting battery to recharge after
docking your small ship? This script takes care of that and comes with
some useful additional functionality.

= Features:
  • Set your batteries to recharge as soon as your're connected and leave the cockpit
  • Automatically turns off not needed blocks (Thrusters, Reactors, Gyros)
  • Optional: Delay for turning the spotlights after X seconds off
  • Optional: You can restrict the script`s functionality to special named connectors
  • Easy installation!
  • No mods used!

= Requirements:
  • Programmable block
  • Timer block
  • Not docked on first script execution

= Installation:

To Install this script, just import it from workshop into your programmable block and press "remember & exit". Caution: The installation process runs automatically on the first execution of the script. Your ship mustn't be connected to any other grid (ship and/or base) during the first run. All blocks should be owned by you.

Lastly, you've to set a timer block as usual: Set the timer block to execute the programmable with "default argument" block and the timer block every second.


Special thanks to xlodx for many good ideas and for testing this script.


Feel free to put questions in here, if you've any problems with this script.

Have fun! :-)
댓글 18
DJ_Apfel  [작성자] 2017년 8월 14일 오전 8시 08분 
Hi Rìgh, did you consider the installation part? It looks like, that your ship was connected to some other Grid at the first execution. Does the script runs on the ship?

greetz Apfel
Westrum 2017년 8월 9일 오전 7시 38분 
Is this broken, or am I fucking up? It seems like the script puts my BASE batteries in recharge, not my ships....
Aschran 2016년 9월 12일 오전 8시 48분 
Yaaaay cool, , because i have commerce stations in my survival server and...you said it, we have like 10-20 small ships inside, +4-6 cruisers,, could be better... ;)
waiting for an upgrade, thanks
DJ_Apfel  [작성자] 2016년 9월 12일 오전 8시 39분 
Hey guys,

at the moment the script doesn't support gyros, but we can implement ist in version 1.3. The script should work with drones which doesn't have a cockpit (i haven't test it yet).

@Aschram: Yep, that's a good idea. We thougth about such a concept. With 30 ships and more it makes sense to implement a "base"-script which controls all docked ship central. This could be a function in version 2.

Bye :steammocking:
Stratigus 2016년 9월 11일 오후 3시 06분 
i like it but how do i get it to turn off the gyros? Also will it work say on drones that dont have cockpits?
Aschran 2016년 9월 5일 오전 8시 28분 
lol you should make a script that work for the station and turn off everything that connect to it ^^
--> can eat a lot of cpu to run this script on 30 ships, than 1 script on the station
xlodx  [작성자] 2016년 8월 21일 오전 10시 39분 
It it has to run on the ship(s) not the base.
Bobisback 2016년 8월 21일 오전 9시 34분 
Ok that does not really anwser my question, sorry I may not be clear in my question hahaha. If I have two ships, one being a station and the other being a small ship, which ship does this script run on? The station or the small ship or both?
DJ_Apfel  [작성자] 2016년 8월 21일 오전 1시 58분 
Yep, you've to start it on your ship to which the programmable block is running.
Bobisback 2016년 8월 20일 오후 2시 31분 
Does this script get started on the mothership or do I have to put it on each ship i dock?