Space Engineers

Space Engineers

1,769 lượt đánh giá
Whip's Subgrid Thruster Manager
5
4
7
6
4
4
2
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Nhãn: other_script
Kích cỡ file
Đã đăng
Đã cập nhật
1.014 MB
3 Thg09, 2016 @ 1:47am
16 Thg07, 2023 @ 8:12am
38 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Whip's Subgrid Thruster Manager

Trong 1 bộ sưu tập tạo bởi Whiplash141
Whip's Scripts
22 vật phẩm
Mô tả
Formerly Named "Whip's Rotor Thruster Manager"


  Update
  • Added custom data configuration. You no longer need to open the code and change variables!
  • Added cute little animated running screens :D




  Description
Howdy!

This script allows you to control thrusters over subgrids. This code will also work with inertial dampeners!

This script does not control subgrids themselves, it simply allows you to control subgrid thrust like regular thrusters. Also, if you change the angle the of subgrid thruster, the code will automatically adjust the movement keys that fire it.

As always, I will continue to improve this code :)


  Setup Instructions
  1. Place a seat or remote on the main grid.
    • NEW - If you want only specific ship controllers to be considered, add the name tag "Reference" to the name of the block.
  2. Put this code in a programmable block.
  3. Attach thrusters to your subgrids. If you are using rotors or hinges, I suggest you lock them because there are some strange physics bugs associated with thrust on rotors.
    • You do not need any thrusters on your main grid! However, if you wish to enable/disable dampeners, you'd need to use the dampener toggle arguments.
    • Thrusters on grids with connectors are IGNORED by default. This is to avoid taking control of docked grid's thrusters. To change this, configure the corresponding key inside the custom data.

  4. Enjoy!


  Ship Controller Prioritization
The script will automagically detect what seat you are controlling on your ship and begin controlling subgrid thrust. If you have name tagged ship controllers, only those ship controllers will be considered for prioritization. If you have multiple ship controllers on your ship, it will select them based on the following priority.
  1. Main seat/remote
  2. The first seat that was controlled


  Arguments
Argument
Function
on
Turns program control of subgrid thrust on
off
Turns program control of subgrid thrust off
toggle
Toggles program control of subgrid thrust off/on
dampeners_on
Turns dampeners of sub-grid thrust off
dampeners_off
Turns dampeners of sub-grid thrust off
dampeners_toggle
Toggles dampeners of sub-grid thrust off/on


  Author's Notes
I designed this code to make flying with VTOL and thrust vectoring craft much easier and much more fun. I truly hope that this code brings you as much joy as it does to me!

Remember to lock your subgrids or you will get torque :)

If you notice any bugs/want to make suggestions feel free to leave a comment! This code is by no means perfect; I will continue to update and fix any issues that this code has to make it the best as possible :)

This should also go without saying, but do not reupload without explicit permission from me, not even to mod.io.

- Whiplash141
Thảo luận nổi bật Xem tất cả (20)
276
7 Thg05 @ 10:54pm
ĐÁNH DẤU: Bug Reports
Whiplash141
33
6 Thg03 @ 9:33am
ĐÁNH DẤU: User Creations
Whiplash141
1
12 Thg12, 2023 @ 10:24am
Compatibility with other scripts and autopilots
¤Foxtrot¤
1.516 bình luận
Pumpkin 17 Thg09 @ 1:49am 
thank you works great
Whiplash141  [tác giả] 16 Thg09 @ 9:39pm 
i forget, but do thrusters have ownership now? if so, ensure all ownership is the same
Vetmitar 16 Thg09 @ 8:48pm 
I set connector detection to true, but it is stilll not recognizing my thrusters, any aidea why? I am on the new update.
Whiplash141  [tác giả] 15 Thg09 @ 12:44am 
yes, your physics stability may vary though, nothing the script can do to fix that heh
Pumpkin 14 Thg09 @ 11:46pm 
do this work on multiple rotors ? Like my ship is Main body , rotor , rotor , rotor , thrusters
Space_Aquila 7 Thg09 @ 2:30am 
Very easy to use and works instantly, amazing! :steamthumbsup:
dRuPpI 21 Thg08 @ 8:08pm 
is it possible to make a mod out of this as own block? so admin can add it and Programmable blocks don't need to be active on servers?
evanthegamer2023 15 Thg08 @ 11:05am 
yo how do i get the code?
Killer66 9 Thg08 @ 2:43pm 
You are a god! Thank you, now I can realize all my engineer fantasies!
Autumn 19 Thg07 @ 2:16pm 
I think my subgrid thrusters are draining fuel in space while drifting. I turn off inertia dampeners and unless I also turn off the thrusters, I still lose fuel.