Space Engineers

Space Engineers

Landing Gear Balancer
21 条留言
silverbluemx  [作者] 7 月 6 日 上午 4:33 
New update today !
-Supports up to 100 landing gear kits
-Detects and warns about obstructed cameras (the screen says "Obstructed camera on kit#" when this happens)
-Shows on screen if in long legs or short legs mode
silverbluemx  [作者] 4 月 15 日 上午 9:57 
@Vaygrim : strange.
Can you share pictures of how your ship is built, or share it on the workshop ?
A few troubleshooting suggestions :
- Is it large grid or small grid ? It should work for both but I did more testing with small grids
- What does the programming block says when you compile the script ? It should say "Group +name+ found !" and "Group +name+ has the correct setup (1 camera, 1 piston, 1 gear)" for each of your landing kits
- What does the display screen say ? Is "ground uneveness" always 0 or something else ?
- Does each landing kit have a dedicated camera ?
- Does each camera have a direct line of sight to the ground ? (if you display the view from each of them, do you see the ground right in the middle of the screen, and not a part of the ship ?) For example, with the ship in the pictures, if I use a Large Magnetic Plate (round one from Heavy Industry DLC) on the legs then it would block the view, and I'd need to offset the camera more.
Vaygrim 4 月 11 日 上午 8:13 
Setup and implemented script as instructed above, end result was all four piston 'legs' always extending to the exact same length collectively. No real 'balancing' for uneven terrain to speak of.

Would love to get this working, please advise.
XzOmBieKiLla6X 3 月 20 日 下午 12:35 
Absolutely love this! Thank you!
Space_Captainface 3 月 16 日 下午 8:38 
@RYGUY27 Under Installation >> "- install the script in a programmable block"
RYGUY27 3 月 15 日 下午 8:51 
does it need a pb? id doesn't say in the description
silverbluemx  [作者] 2 月 21 日 下午 11:23 
@GoldMiner177.
Probably yes although leveling would be more approximate (cameras may end up further away from the landing gear/magplate). There's also more variety in the hinges arrangements. Do you have a specific setup in mind ?
GoldMiner177 2 月 16 日 上午 10:29 
@silverbluemx
have a question, could this be updated for hinges too? if you're up to the challenge that is
TheKeixs 1 月 17 日 下午 8:03 
el diavlo que genialida
Invention64 1 月 7 日 上午 6:15 
@silverbluemx technically you could use a PID to achieve this, as it doesn't need to know which direction a control will move it, just that there is controls and a measurable goal.

But like you said definitely overcomplicated for a script like this.
silverbluemx  [作者] 1 月 5 日 上午 6:30 
@Sarianos : What you suggest would probably be more complex than what I've done.
At this point this script relies on the pilot or another script (such as Flight Assist for example) to level the ship (*). Then each landing leg (or "kit") individually adjusts its own length based on:
- the distance to the ground that it locally measures
- the minimum and maximum distance of all other legs.
The legs (or "kits") don't know if they're at the front of the ship, the left, etc. so they don't know how they should extend/retract to *make* the ship level.

(*) This piece of info wasn't in the description before, I've added it.
[RTB] Sarianos 1 月 4 日 下午 9:30 
@silverbluemx
In theory could this be used with wheels on pistons instead of mag-pads to create a self levelling rover?
lnadon005 1 月 4 日 下午 12:27 
Thank you, the fix works perfectly, Great Work
lnadon005 1 月 4 日 上午 5:47 
Thank you for your quick response, will test and report back
silverbluemx  [作者] 1 月 3 日 上午 11:34 
@Inadon005 : Well... looking at the code, I don't understand how it might have worked during my tests. Maybe I overlooked something.
Anyway, I've uploaded a fix. Now when using the "retract" and "extend" commands, the script waits roughly 5sec before turning everything off.
Let me know if you have any issue remaining after that.
lnadon005 1 月 2 日 下午 1:47 
Nice been looking for something like this, only one problem, when retracting the script turns off before the movement starts, have to select each kit and manually turn them on to retract. any advice?
zen 2024 年 12 月 31 日 上午 11:56 
I have 2 stacked suspension blocks with wheels replaced with rotor heads, those rotor heads are attached to a grd with a landing gear

I have 5 of those that act as my ships cushioned landing gear
ditb3 2024 年 12 月 31 日 上午 9:04 
I don't realize what SE script we are still missing yet until you release this script, impressive work! I've not tested this on subgrids yet but I believe the script's method will work without much modification if all subgrid landing gears are symmetrically placed at all four angles, assuming the script will handle the subgrids
silverbluemx  [作者] 2024 年 12 月 31 日 上午 7:23 
@CroNAK : thanks !

@ZEN : I may add support for that at some point, but don't get your hopes up, I'm not using such a solution on my own ships. What does it look like ?
zen 2024 年 12 月 25 日 下午 8:03 
I could really use this but for my wheel suspension based landing gear
CronNaK 2024 年 12 月 23 日 上午 9:48 
Dude... where have you been all these years! Ive been dying for something like this to be used on my outriggers for my Crane!!! <3