Space Engineers

Space Engineers

Jetpack Mk3 [VANILA][SCRIPTED]
32 Comments
UnCheat  [author] Jun 11, 2019 @ 10:04am 
Я вспомнил почему забросил скрипт. Как раз из-за Скаута. Он в атмосфере вел себя нормально, а в космосе паршиво из-за специфики алгоритма по стабилизации тяги только векторными трастерами. Из-за торка и смещения основной части корабля при повороте движков, корабль приобретал скорость, из-за чего движки бешенно пытались компенсировать всё это дело. Т.к. я не хотел использовать фиксированные трастеры я решил переписать скрипт с нуля :) Но времени уже стало совсем мало на это
UnCheat  [author] Jun 11, 2019 @ 9:59am 
Если интересует коптроль аргументами то в ArgumentReader функции
UnCheat  [author] Jun 11, 2019 @ 9:53am 
Attila Jun 11, 2019 @ 6:20am 
В блоке скрипт есть. Есть вариант в Jetpack Mk.3 и в U.C.S. Scout Mk8. Причем скрипты похожие, но разные. В скауте новее. Сам скрипт можно взять там, но команды управления из кокпита не знаю как посмотреть. Фактически нужен список команд для управления скриптом.
UnCheat  [author] Jun 10, 2019 @ 11:24am 
А я минимизированный вариант выкладывал? В блоке есть, что прочитать?
UnCheat  [author] Jun 10, 2019 @ 11:22am 
Привет, боюсь времени на игру не было и скрипты я потер :/ Если найду бэкап - залью, если не забуду.
Attila Jun 10, 2019 @ 9:47am 
Выложи скрипт с описанием. Пожалуйста.
Sorry for my english.
Lay out a script with a description, please.
UnCheat  [author] Oct 14, 2018 @ 10:11am 
Random rotations happen again today with no reason.
No idea waht is going on with rotors. Full of it
UnCheat  [author] Oct 14, 2018 @ 2:32am 
Note:
Last update also fixed the low user rotation input sensivity and boosted the roll input to be as effective as pitch or yaw
UnCheat  [author] Oct 13, 2018 @ 7:30pm 
Script Update (2.0 Alpha).
New controls:
1. "1" now switches from any to Damp mode and then between Damp or Cruise.
2. "4" now has rest damp modes as AnriGrav and NO damp at all
New Features:
1. Save function (saves sleep mode and control modes on recompile and reload)
UnCheat  [author] Oct 13, 2018 @ 9:43am 
Some news:
Well I tried different ways of rotors control scripting and nothing changed with random rotor madness when scripted ship has been hard connected to the heavy mass grid.
The exeption was the ion thrusted in max natural gravity (it was stable)
After that(took massive amount of time) I tried just to set the power of rotor to the maximum and it fixed it!
What does this all mean?
Well these means that subgrid hard connection(any connection type) to a heavy mass causes rotors to get some unpredicted rotation that is relevant to: mass value, connecting position, rotors position, gyroscopes and max effective thrust.
Why max power of rotors fix it? Well, max power means the rotor will do it best to avoid torque moment and work by the commanded signal almost as intended.

Also this investigation helped me to improove the rotors control logic.

Now I'll work on planned features
UnCheat  [author] Oct 10, 2018 @ 9:27am 
Known issue:
Rotors rotate randomly when landed and locked on static grid or heavymass large grid.
Temprorary fix is to leave the Jetpack and autosleep will fix it on a static grid. Or manually put it on Sleep if grid will be moved
UnCheat  [author] Oct 10, 2018 @ 9:25am 
Critical fix:
Changed the effective thrust calculation to achive max thrusters performance when their effective thrust drops below 100%. Now you can rich the max altitude and hover there (For the Earth it's about 6500m! )
Also it means that jetpack will be much more stable at lower altitude
UnCheat  [author] Oct 6, 2018 @ 3:12pm 
Also I plan to add new Stabilize modes:
Surface (this one will aim by gravity direction that is the shortest way to the surface)
Space (this one will aim by opposite gravity direction that is the shortest way to the space)
UnCheat  [author] Oct 6, 2018 @ 3:02pm 
New systems I plan to add:
1. Improove gyro stabilize by adding the go to the last aimed by user direction(the same was on my THe Knight project)
2. {Still think should it be}Improove Dampeneers system to make them use only gravity force to damp the up speed (this will improove the hover mode as well because rotors won't turn up and back down with a delay to damp down speed)
3. Add follow mode and autopilot(could be with a separate programm block)
UnCheat  [author] Oct 6, 2018 @ 2:44pm 
To make it more perfomance friendly:
Updated the script with AutoSleep Mode
LordBrocktree4 Oct 5, 2018 @ 6:26pm 
Ok,will do
UnCheat  [author] Oct 5, 2018 @ 5:25pm 
Now it's playable!
Fave fun =)
Report errors and rate please
UnCheat  [author] Oct 5, 2018 @ 4:40pm 
Script Update:
Updated: Cruise mode to been able to get above 100 m/s acelerated by gravity
Updated: Hover mode to be more responcive on surface change
New: now when you turn off Horizon mode if Hover mode was on then the Hover mode will be turned off and dampeneers will turn on (this will allow you to fast switch to a fly mode than before)

Tips: With new Hover mode the safe fly height will be 20+ meters with 100m/s at almost flat surface and 10-20 m/s if you will want to climb up the 75 degrees hill (but I recomend to use normal fly mode in such situations)

Have fun =)
LordBrocktree4 Oct 5, 2018 @ 4:33pm 
Ok
UnCheat  [author] Oct 5, 2018 @ 4:32pm 
For now You can find on ctrl-2 bar 2 hotkeys(not scripted) to change rotor displacement
LordBrocktree4 Oct 5, 2018 @ 4:32pm 
Ok. No need for.that,just thinking of a fast assault craft that would drop some of these and then support them
UnCheat  [author] Oct 5, 2018 @ 4:28pm 
It is not made of sliding (door) blocks so expect heavy collision.
But if you change rotors displacement
to -11 (default is 0, but recomended
working value is +11) one craft will fit in
a one large block
(I'll add a screnshot to the project)
If it's needed I can add the command to toggle it by a hotkey (like you can do hover mode toggle)
LordBrocktree4 Oct 5, 2018 @ 12:41pm 
Would it be possible to store this in a 1x2 space alongside another one for use when a ship comes into atmo? Or will I need a bigger space?
UnCheat  [author] Oct 5, 2018 @ 12:30pm 
Reworking cruise and hover height again =)
UnCheat  [author] Oct 5, 2018 @ 12:30pm 
Thank you =)
LordBrocktree4 Oct 5, 2018 @ 6:59am 
Very nice, I like it!
UnCheat  [author] Oct 4, 2018 @ 2:00pm 
Please rate if you like
UnCheat  [author] Oct 4, 2018 @ 1:25pm 
Updated:
1. Cruise mode (now it will focus to keep the total speed that was saved not just the front)
2. Now you could change the hover height by up-down keybinds (even on passenger seat)
3. Reworked hover mode:
a) Now the UP signal will be relative to the total speed, this will rise faster to the saved heigth on high speed
b) The DOWN signal will be lesser means there will be less chance crush landings on holes you fly above on a high speed
UnCheat  [author] Oct 4, 2018 @ 4:30am 
Please report scripts errors and fails