Space Engineers

Space Engineers

163 ratings
Skid Steering Suspensions
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
41.750 KB
12 Jun, 2017 @ 10:42pm
11 Feb, 2019 @ 2:00am
14 Change Notes ( view )

Subscribe to download
Skid Steering Suspensions

Description
**Translated by Google Translation**

Description

This script is for controlling wheeled vehicle like a tank.
In addition, subgrid wheel control, active body tilt control, friction control for preventing rollover etc can be used.
*The above function can also be used in a wheeled(not tank-style) vehicle.

Setup

Required blocks :

-Programmable block
-Cockpit
-Gyroscopes()
-Suspensions(If there are suspension you do not want to control with this script, please write "Ignore" in Custom Data.)
(Option)Remote control block on each sub grid

Initial setup:

After placing all the required blocks, run PB once with "Setup" argument.

Features and usage

+Important+
Be sure to enable parking brake(P key) before changing the suspension setting.
The settings will be restored while parking brake disabled.

+Skid Steering
When press A or D key, vehicle rotates on the spot like a tank. With press A/D and W/S key to rotate faster.
You can disable it by setting vehicleMode=WheeledVehicle in PB custom data.
Also you can disable gyro override by setting gyroAssist=false.
Change yawRPM=1 value to rotation speed.
And you can change the setting of the suspension while turning with change skidFrictionCenter=100,skidFrictionSlide=0,and skidPower=100.
(I recommend that you do not change unless you really need it.)

+Active body tilt control
Script can tilt the vehicle. This is useful when turning the gun further up and down.
Press P to reset position.
You can choose from 6 mode to change keyAssign=C valiable.Set hydroneumatic=false if you want disable it.

-keyAssign=C, keyAssign=Q, keyAssign=E
When press W/A/S/D kew while pressing C/Q/E key, vehicle body will tilting.

-keyAssign=QE
Press Q/E key, Change the pitch angle of the vehicle. Roll angle can not be changed.

-keyAssign=Mouse, keyAssign=MouseQE
You can change vhecile pitch angle by mouse. also plessQ/E to change roll angle when choose MouseQE mode.

+Strength adjust(Suspension collection)
When enableStrengthAdjust=true, script controlling suspension strength for correct the subduction of the vehicle body.
You can change the position to start compensation with change offset=0.05 value.
strengthProportional=50 is amount of correction.strengthLowerLimit=5 is minimum amount of suspension strength.
When synchronizeStrength=true, all the suspension strengths are synchronizing.

+Anti flip friction control
At the turning, to avoid falling by delaying the return of friction of the outer suspensions.
Change frictionRestoreOutsideDelay=2 to returning delay.

(Under construction)Cruise control
Enable cruise control to run programmable block with "AutoCruise" argument.
Note: Speed change function is currentry broken. Please change suspension setting manually when you want to change the speed.
87 Comments
Liquighost 14 Aug, 2024 @ 3:09pm 
Put the script on my tank and the front and back wheels are freaking out when accelerating and steering at the same time. Didn't have these issues using normal SE car controls
Rightraoedhelontidae Minima 11 Jul, 2023 @ 8:50am 
Can't get the body tilting to work, could you explain how to use it?
Boldtaar 12 Mar, 2022 @ 12:01pm 
Suggestion allow active body tilt control to adjust pitch angle and use gyros to help with the pitch when in parking mode (pressed P). Reset wheels on release of parking brake.
It hard to aim using pitch control of vehicle if it's starts rolling down the hill
Boldtaar 9 Mar, 2022 @ 12:12pm 
Boldtaar 9 Mar, 2022 @ 9:16am 
Cant get Active body tilt control to work. No difference in pitch angle when pressing C/Q/E key The description is a little confusing. What the 6 different modes?
LadyLime 21 Jan, 2022 @ 1:21pm 
Does anybody know how to make this work with 1x1 wheels?
Goobs 21 Sep, 2021 @ 9:05pm 
Seconding speed setting. Not sure why this script is even adjusting that setting. Otherwise, it's pretty good.
CLTST 28 Aug, 2021 @ 11:54am 
Could you make it possible to define a speed limit? I somehow feel uncomfortable driving my 150 ton tank at 360km/h :D
Crazy IVAN 27 Aug, 2021 @ 9:49am 
How I can iignore some cockpits/RC? Or set only 1 RC to control suspension?
Mercair 29 Jun, 2021 @ 5:05pm 
I think its just a problem with steering not returning to absolute 0°, not sure if its even fixable. (by a modder that is)