Space Engineers

Space Engineers

Heli Assist
55 Comments
Grebanton1234 28 Jun @ 4:08pm 
Hey there, may I use your script for the current research bunker competition? I think legally I have to ask you for permission because I think by submitting the build I give Keen the right to use it how they want to.
ArrIvvA 19 May @ 9:24pm 
is there opinion to show mode on screen?
Nyxborne 9 Oct, 2024 @ 9:24am 
Whenever I load the script, I'm getting an error that says:
"Error: Failed to Read Config: Expected
section definition on line1"

Does anyone know how to fix this?
Wayupinu 31 Aug, 2024 @ 4:38pm 
All my craft seem to drift down at varying speeds. Any ideas? Ive grouped all thrusters, removed all mods etc.
MARHWIN 16 Jul, 2024 @ 9:30am 
@Computermatronic

Hiya,
Props on the mod. I wondering if you could make it better at simulation the helicopter flight model and physics. I got few feature sugestions formated below. If you decide to start on I'll be happy to help with testing and with helicopter magic explaining.

1. Alternate control keybinds with roll being changed from Q/E to mouse left/right and yaw taking the Q/E keys.
This feels out of place because MOUSE controls pitch and yaw and Q/E does the roll, in rotorwing craft the cyclic stick (the mouse) operates both pitch and roll and, foot pedals (Q/E keys) work the yaw. This is further weird because yaw losses effectiveness as the forward speed increase.

2. When X forward speed is reached, helicopter rotates its nose to the direction of the movement and should follow the rolling input.
When the certain airspeed over the fuselage is reached the drag wins and adjusts the nose to the flight direction. Helicopters are just giant weathervanes in that regard.
MARHWIN 16 Jul, 2024 @ 9:30am 
3. Replace vanilla 0/1 throttle input with progressive throttle control like with the collective stick.
4. Flight mode should counteract way slower (like 5 or 8 times, maybe more) when pitching down from the hover position.
5. Flight mode should lose it's corrective strenght as the speed increases and eventually lose it compeletly at cruising speed.
6. Flight mode should allow to lose some alltitude when pitching up and down.



Also I've have issue / found bug when I used it on my helicopter build. PB says this, second line is in yellow:

Error: Failed to Read Config: Expected
section definition on line1
Volg 24 May, 2024 @ 12:28am 
any chance we can get an auto land command? Basically it will just land the ship as gently as possible, wherever it is hovering. Then we can set an action that says if no pilot is in the seat auto land. Or trigger it via the new signal blocks etc.
Morbitz 8 Apr, 2024 @ 9:06am 
I just started to mess with this... and I am impressed... a combination of simplicity and finesse. Thank You
Lokkart-37 9 Jan, 2024 @ 1:21pm 
This is awesome. I have crashed several chopper by now and with this script the movement is intuitiv!
Dankeschön!
Hickel 4 Jan, 2024 @ 7:43am 
Does this script have a mode of hovering on a point, with no gyro control?
Either I'm dumb and didn't find it, or it really doesn't exist
Volg 2 May, 2023 @ 2:48am 
Sorry Screen shot link not working.

this should be better
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2970345721
Volg 2 May, 2023 @ 2:46am 
i am looking for this script basically, but would like it to take into account forward thrust if present. So forward flight could be controlled by a second thruster thus keeping the ship level in flight. this would allow the script to try and keep the ship level to counter any pitch and roll i give it while maintaing forward flight. Also a cruise mode where i press W and S to set a cruise speed and it will maintain this speed then pressing the landing mode or what ever will dampen all motion to bring the grid to a stop.

I want it to use on this grid, and would be happy to work with you on getting it working.
https://steamhost.cn/steamcommunity_com/id/76561197981957072/screenshot/%p1%/
Astronaut Rogier 21 Jan, 2023 @ 2:56am 
@Computermatronic Glad I could help :)
OperatorNaut 28 Dec, 2022 @ 9:27pm 
edit: yes they work with remote control
Rusted Droid 28 Dec, 2022 @ 7:56pm 
Can your script work with Remote Control bock?
Computermatronic  [author] 26 Dec, 2022 @ 6:31pm 
@Astronaut Rogier Thank you for your initiative, I've applied your fix in v1.15
OperatorNaut 23 Dec, 2022 @ 11:07pm 
so curious, does this work with drones? like remote control blocks
Astronaut Rogier 4 Oct, 2022 @ 9:05am 
PSA

If your craft happens to slowly drift up (or possibly down?) when you're sitting in it, this might be due to the weight of your player inventory.

The script calculates the thrust for the weight of the craft itself + all inventories including the player's inventory. Now, correct me if I'm wrong, but SE's physics engine does not account for the weight of the player's inventory when calculating the total weight of the craft. This means that the script thinks the craft weighs more than the physics engine thinks. The script overcompensates in hovering thrust, which leads to the slow upward drift.

I have found 2 solutions:
1) Empty your player inventory into a container/seat/whatever, or;
2) On line 564 in the script, change `TotalMass` to `PhysicalMass`.

This has worked for me so far but I can't guarantee that it works for everyone. I hope this helps.
TheDoomLordd 2 Sep, 2022 @ 2:16pm 
This script is great, just got back into playing Space Engineers and starting on any of the planets with just the drop pod makes it so much easier to get around
Computermatronic  [author] 24 Jul, 2022 @ 3:22am 
@Sir Connery Heli Assist's config is stored in the PB's custom data, if it's failing to read the config, delete the PB's custom data, and Heli Assist will regenerate it.
Sir Connery 15 Jul, 2022 @ 4:36pm 
Although I didn't get the script to work this is something I've always wanted.

This script would also really benefit from a vertical auto lander of some sort.

Integrating this with Spug's Easy Auto-Docking 2 would be a dream.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2146371052
Sir Connery 15 Jul, 2022 @ 4:18pm 
Error: Failed To Read Config: Expected [section] definition on line1

That's after I compile the script.
mppc2001 28 Jun, 2022 @ 7:48am 
This has rocked my world, amazing work!
RoboPenguin 9 Jun, 2022 @ 8:41pm 
@Dante Dravon yeah me too and its getting annoying
Dante Dravon 26 May, 2022 @ 3:29pm 
anyone seeing where the script wants to climb
at a near constant 0.4m/s when stationary
Acirno 7 May, 2022 @ 11:42am 
I nosedive strait to the ground when I move forward.:steamthumbsup:
Bush Pearce 30 Apr, 2022 @ 8:35pm 
I just used the script in a boat with the water mod 3.0 I changed the following in custom data.

max_pitch=0
max_roll=0
max_landing_pitch=0
max_landing_roll=0

Works like a dream.
BIV 19 Oct, 2021 @ 3:18am 
Well done, soon I could have a heli on standby to deal with issues and get around without all that death and destruction that usually goes with my flying. Thanks for putting your time and effort into this creation. Cheers mate.
Computermatronic  [author] 2 Jul, 2021 @ 9:36am 
@when adler is sus Should be fixed as of v1.14
Computermatronic  [author] 27 Jun, 2021 @ 12:01am 
@Warden Eternal, @fyhring, @OctoMoose, @FireManDan Hopefully the issue with inverted controls / uncontrollable craft should be fixed with v1.12.
Frosty 24 Jun, 2021 @ 1:24am 
Would it be possible to make a version of this script where A/D yaw the craft instead of of side to side movement?
Starlight Warden 16 Jun, 2021 @ 10:47am 
Until a more easy fix has been identified, I've found a way to correct the helicopter from inverting it's pitch. It seems to be connected to the axis that the seats/cockpit used to pilot it faces. For me, the red axis when mirroring is the one that will let the helicopter fly properly, but this might differ for people. I simply just changed the direction the cockpit faces on the helicopter to find which way it want's to fly properly.

Afterwards, you can simply rebuild the front of the helicopter and then paste the rest of the whole helicopter onto the new axis, and it should work just fine. :) If you're in survival, you can always use merge blocks or connectors and then weld the whole thing together.

Not a fast fix, but it will be faster than completely building from the ground up, especially if you build huge helicopters.
fyhring 27 Feb, 2021 @ 8:07am 
@Computermatronic I've made a PR to your git repo of this script. It enables Q/E (roll) and pitch control to be inverted and thereby fixes that invert issue.
Computermatronic  [author] 19 Jan, 2021 @ 4:38pm 
@OctoMoose can you possibly upload a blueprint of the ship you're using it on.
OctoBooze 17 Jan, 2021 @ 2:57am 
For me Q/E apply to pitch and horizontal mouse input is inverted. Not sure what I'm doing wrong since WASD works as intended however. Help would be appreciated
FireManDan 20 Dec, 2020 @ 12:37am 
My key commands are backwards. Q/E roll the helicopter in the opposite directions. Seems related to the script
Computermatronic  [author] 19 Aug, 2020 @ 5:53am 
@andbruu, you can have thrusters in any direction without consequence, as the thrust dampening code is designed to account for phantom thrust (as it was designed to be compatible with the aerodynamic drag & re-entry mod).
andbruu 12 Aug, 2020 @ 6:37am 
What is the effect of having directional thrust, in addition to upwards? Can I put on some forward thrust for better acceleration, while depending on the script to slow me down and strafe?
DogwaterGaming69 13 Jul, 2020 @ 9:55pm 
the custom data once the script is started is empty. bruh
Mattler~~ 22 Jun, 2020 @ 2:05pm 
it would be great if this would have support for a status lcd where you can see what's toggled and what is not
FireManDan 27 Apr, 2020 @ 6:06pm 
in flight mode lateral dampeners wont work unless ship dampners is on, which in that case it stops the ship without me holding w
Computermatronic  [author] 25 Apr, 2020 @ 1:36am 
@FireManDan delete everything in the PB's custom data.
FireManDan 24 Apr, 2020 @ 9:06pm 
when loading into a PB getting an error saying it failed to read config
Malacanth 5 Apr, 2020 @ 9:20am 
Ooo I will check it out =)
Computermatronic  [author] 5 Apr, 2020 @ 6:32am 
Apologies for not updating this in a while. The code responsible for dealing with individual gyroscopes was bugged, meaning that certain gyroscope configurations would cause instability. Hopefully v1.11 should fix this.
Malacanth 5 Sep, 2019 @ 8:42pm 
Love the script but yeah, you made it so that up and down with the mouse cause it to jink, and it is really sensitive, it is very easy to put a chopper into an unrecoverable roll. However, I did find that using the arrow keys to control the left and right turning made it more bearable.
Jetfire 4 Aug, 2019 @ 12:37pm 
I encountered a problem while using this script: mouse controls works like if my cockpit was turned 90 degrees to the left (up and down results in roll, q and e results in pitch and left/right - in yaw). How can i solve that? Is it a bug?
Mogol 21 Jul, 2019 @ 2:36pm 
Computer, I've built a Helicopter with this and i'd like to give you credit for it.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1811365410
conKORD 20 Jul, 2019 @ 10:34am 
Hypogriph 20 Jul, 2019 @ 5:18am 
@Jonathon594, why even bother leaving a comment? You are using this guy workshop entry to announce yours. This is quite low.