Space Engineers

Space Engineers

Isy's Suspension Toggle
57 条留言
Warlocc 7 月 9 日 下午 3:25 
The toggle function of this script no longer works.
Spartan 2024 年 5 月 23 日 上午 9:55 
Can strength be adjusted ? i think strength is more important than heights
Warlocc 2023 年 8 月 28 日 下午 6:53 
I spent way too long looking for something to do this. This is great.
kennet0508 2023 年 4 月 1 日 上午 8:41 
Would it be hard to ammend this script to also set suspension strength %?

Im trying to build a big bertha like canon, Pistons are too slow to mimic a firing recoil, but a suspension with rotor head is really fast moving, so this script is perfect for the "firing retraction" sequence

but for "retraction" im looking to set suspension strength to say 2.5% and set -1.50 offset which should allow a slow extension back to original position
WileyCoyote 2021 年 10 月 25 日 下午 5:19 
Is there a way to configure this script to control two sets of wheels with different suspension settings (e.g. One set down, the other set up)?
death.panther 2021 年 10 月 25 日 下午 5:02 
I love how simple this script is and it works so well. The only improvement that would be nice is if you had an Exclude option like in your inventory manager script. Your scripts make this game so much more fun. Great Job man.
Isy  [作者] 2021 年 9 月 3 日 上午 1:07 
Not really.. This script is dead simple and does not have any advanced features..
Schmetterling 2021 年 9 月 2 日 下午 11:37 
Dear Isy, I use a hover ATSR-4 SAVANNA and the structure of its suspension is such that you should not touch the wheel suspension on the rotors. You need to control the height of its suspension through a shock-absorbing suspension. Can your script ignore any specific wheel suspension? Subgrid support is encouraged.
Schmetterling 2021 年 9 月 2 日 下午 11:37 
Уважаемый Isy, я использую ховер ATSR-4 SAVANNA и строение его подвески таково, что не стоит трогать подвеску колес на роторах. Управлять высотой его подвески нужно через амортизирующую подвеску. Может ли ваш скрипт игнорировать какие-то конкретные подвески колес? Поддержка подсеток приветствуется.
xpgx1 2021 年 8 月 25 日 上午 3:49 
Hmmm... makes me look stupid that I didn't thought about it that way, huh? =)
I see. It's just that your scripting is hardcore user friendly. Y'know? It's simple, compact, elegant. That's why I pushed the idea here. Maybe you find the time and inspiration - I'd imagine it's a rather niche case, why build Rovers when we could replace their role with another flying grid? I just like the feeling of "realistic" rovers. :Baserunner: Thx for replying, have a gr8 day.
Isy  [作者] 2021 年 8 月 25 日 上午 2:33 
I mean you could just put the programmable blocks multiple times into your hotbar with different arguments.. And then, with a simple press of a button, the height is accordingly.. What the script currently can't do is to switch suspension strength or other parameters of the wheels.. Maybe, I'll implement that someday..
xpgx1 2021 年 8 月 23 日 上午 4:43 
Gr8 script, has been for many years =)
I'm wondering - would it be possible to update the script with profiles for specific suspensions? I'm building a rock-climber, and depending on the load and incline, i need to switch between different presets =) The other suspension scrip i found is UNBELIEVABLY complicated in its usage. If not, I'd understand ^^
Isy  [作者] 2021 年 8 月 10 日 上午 1:31 
No it shouldn't since it doesn't run continuously..
Schmetterling 2021 年 8 月 8 日 上午 7:29 
Уважаемый Isy, будет ли ваш скрипт конфликтовать с "DAS - Driver Assisting System" во время его работы? Или стоит ваш скрипт включать только для проведения нужных действий?

Dear Isy, will your script conflict with "DAS - Driver Assisting System" while it is running? Or should you include your script only to carry out the necessary actions?
Schmetterling 2021 年 3 月 21 日 上午 9:59 
I was running out of words to describe my admiration.
YeahKinda 2020 年 6 月 4 日 上午 8:49 
Ah, it was at the 6% default when I did it
Isy  [作者] 2020 年 6 月 4 日 上午 3:16 
That's an indication of too high suspension strength.. Try lowering it a bit so that it's not as stiff..
YeahKinda 2020 年 6 月 3 日 下午 7:03 
Hey, Isy, Could I ask for maybe some instructions on how to make it change slowly between 0.26 and -0.32? It needs to maybe just stop at 0.00 before going to the other end, Right now it jumps the whole craft
Isy  [作者] 2020 年 6 月 3 日 上午 9:47 
No advanced functions here.. Just a little toggle script ;)
UKmadman2 2020 年 6 月 3 日 上午 2:55 
Question, the script is used to change specific heights, can it also control strength to re-adjust height based on increased load, or way to auto mate adjustment based on monitoring the current load/load group
YeahKinda 2019 年 10 月 25 日 上午 2:48 
Ah, I don't know anything about coding or else I would've jerry rigged it into the script, but it's a really great and useful code!
Isy  [作者] 2019 年 10 月 24 日 上午 1:48 
Not right now, but I could add that pretty easily..
YeahKinda 2019 年 10 月 20 日 下午 10:22 
Yeah but is there any way to opt out certain lights when you do it? That's what I'm meaning. I had headlights on a drone using this script to compact the wheels further, but the script kept nabbing control of the color of the spotlights I was using as headlights and changing them as well.
Isy  [作者] 2019 年 10 月 13 日 上午 6:42 
But changing the light color is optional..
YeahKinda 2019 年 10 月 8 日 下午 2:28 
Script*
Man I wish you could like edit posts.
YeahKinda 2019 年 10 月 8 日 下午 2:27 
Lovely mod that's helping me build a small scout drone! I don't necessarily like the fact that it will change the color of all the lights though...
OctoBooze 2019 年 8 月 21 日 上午 11:54 
Would be an absolutely fantastic addon to be able to define which lights to toggle along with the script. Other than that an absolute lifesaver. Awesome work!
Duke Venator Mythis 2019 年 2 月 22 日 下午 6:11 
When ever I run the script with the arguments I get a script is too complex error?
DaRa 2018 年 10 月 14 日 上午 10:33 
Yeah that's what I do currently but I need a lower change than the increase/decrease function perform.
It's also why your script is awesome ;)
Shouldn't be too hard to tweak your script to do the same for strenght no ? Isn't it "just" a different parameter/variable ? I mean you have done all the hard work, I would guess tweaking it for my need should be doable by me ?
Isy  [作者] 2018 年 10 月 14 日 上午 10:31 
Use vanilla wheel increase/decrease functions (pull down to a toolbar and choose your settings). This also works for groups of wheels..
DaRa 2018 年 10 月 14 日 上午 9:22 
thanks a lot for this, I have been looking for something like that for a while.
Now I know you said you won't spend more time on it, but is there any way you could make the same exact thing but just change the suspension strenght instead of height ?
If you really can't you think I could tweak it myself ?
Thanks again
Cheers
RangeRunner 2018 年 9 月 25 日 上午 4:47 
Well as you said in the description this script only effects the suspention hight
Isy  [作者] 2018 年 9 月 25 日 上午 4:31 
You can change wheel settings by using groups and the built in increase and decrease actions.. Absolute values are of limited use here and as this is a "mini-script", I won't add any more bulk to it.. Sorry..
RangeRunner 2018 年 9 月 25 日 上午 3:55 
Hey iv been looking for a script where i can toggle all wheel settings with 1 press of a butten.
Basicly set the wheel settings you want on the program block and it will set those settings to the designated wheels when you hit RUN onec.

This can be very usefull when driving a vehicle in differant types if terrain,

You can toggle it to instently set the wheel settings more apropirate when reaching an steep hill and run the other program block to set the settings more fitting on a flat desert.

I would like to try to do this myself but i cant code for crap. So if you make this very simple script im sure some people inclooding me will be more then gratfull.
Isy  [作者] 2018 年 8 月 24 日 上午 4:09 
Be sure to have enough clearance under the vehicle.. Also, too powerful suspension settings could cause this behavior, so try lowering your suspension strength..
SurfinCowboyGaming 2018 年 8 月 23 日 下午 5:02 
When I switch between the 2 heights, it flips the vehicle. Is there a way I can fix that?
Isy  [作者] 2018 年 7 月 26 日 下午 4:18 
Not right now, but maybe soon ;)
BLU MIMI Sentry 2018 年 7 月 26 日 下午 4:08 
Is there a way to make the script ignore certain wheels? I have a tank that is using this for sitting on it's connector, and I do not want the raised (front and back) wheels to be adjusted since they are already up.
Wolf 2018 年 7 月 25 日 下午 2:49 
Amazing ! thanks
Isy  [作者] 2018 年 7 月 25 日 上午 7:34 
Update!
Version 1.0.2:

- Fixed: Offsets of large grid wheels can now be set properly.
- Changed: The script can now be executed in programmable blocks on rotors or pistons and will still find all wheels and lights.
- Changed: Wheels and lights are now also detected on rotor or piston connected subgrids.
Isy  [作者] 2018 年 7 月 19 日 下午 2:07 
Thanks ;-)
Wolf 2018 年 7 月 19 日 下午 12:43 
Okay, have a good one then ^^
Isy  [作者] 2018 年 7 月 19 日 上午 10:47 
I will try to publish something next week.. Right now I'm on vacation ;-)
Wolf 2018 年 7 月 19 日 上午 6:02 
Allright, the edit was just something as easy it was lazy tbh ^^
And yeah, my trailers are connected with rotors, since it's working as intended in my current case, I can now patiently wait for your update to come :)
Isy  [作者] 2018 年 7 月 18 日 下午 1:43 
I could build in something like that. But by searching for all wheels on all connected grids, this could lead to the problem, that unwanted wheels are changed. For example if you are connected to a station with other connected vehicles, it would change them all which will probably lead to horrible clang explosions.. If your trailers are connected via rotors there is a way to manage that in a more intelligent way, which is already used in other scripts of me..
Wolf 2018 年 7 月 18 日 上午 10:55 
Well, I added something to support sub-grids that works so far by checking your script myself, even though, I don't know if you'd have done that. Here it is if you want to check, changes are around the "getBlocksOfType" functions.
The modifications : https://pastebin.com/G4a7tYtm
The fully edited script : https://pastebin.com/FZx0c6mh
Wolf 2018 年 7 月 18 日 上午 8:43 
Hello my good Sir, it is indeed, a really practical mod.
I'd like to know if it would be possible to also affect sub-grid(s) suspensions as well ? I have a certain amount of different trailers to hook on some cars/trucks, and it could be even more practical to be able to toggle at the same script execution.
Isy  [作者] 2018 年 5 月 30 日 上午 5:15 
Update!
Version 1.0.1:

- Changed: the suspension settings are no longer done by editing the script but by giving the script parameters to execute. How the new system works is documented in the instructions inside the script.
- Changed: with the new system, the script is now able to set one specific height rather than always toggling between two.
- Changed: light colors are setable for one height, both or as a toggle between two heights.
McTec Ind. 2018 年 5 月 20 日 上午 1:57 
nice one.very practical...prevents me from having to adjust the entire parking lot rather then just change the height of the vehilce.
Hanadon 2018 年 5 月 18 日 下午 12:42 
*winks* - i just didn't show my appreciation. When I ask a favor, it's also a compliment in disguise with certainty. Ty.