Space Engineers

Space Engineers

Not enough ratings
Easy Tank Driver
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
5.015 KB
Mar 9, 2020 @ 1:28pm
1 Change Note ( view )

Subscribe to download
Easy Tank Driver

Description
Script for driving tank-like vehicles.
Turn by running wheels on each side in opposite directions.

Usage:
Pop the script in a PB and go, drive like you normally would.
You may want to disable steering on wheels.

Only one cockpit/remote can be used to drive.
If you want a specific cockpit or remote to be the controller, add it in the controller name at the top of the script.

The script supports stridsvagn mode, which means you can pitch the tank up and down using the mouse/arrow keys, this feature is toggled by running the PB with the argument "stridsvagn".

The stridsvagn mode manipulates suspension height to pitch the tank, if you want to exclude a wheel from having its height adjusted, add "nostrid" to its Custom Data

By default, the script will keep the elevation of the tank when going out of stridsvagn mode, this can be disabled at the top of the script. If you just want to reset the elevation, run the PB with the argument "reset"

There are 4 commented variables at the top of the script to tune the behaviour in stridsvagn mode.
6 Comments
Winter [23PzD] Jan 30, 2021 @ 4:17pm 
Is there a way to change the default height offset?
I SWEAR SHE WAS 18 Aug 27, 2020 @ 1:52am 
Caught exception during exection of script: string was not recognized as a valid boolean
Dr4konzWr4th May 12, 2020 @ 9:51am 
Script acts really weird on hills. It tries to level the tank with gravity or something, but it just makes the tank drag its nose or tail into the ground every time it tries to climb or go down a hill. I have tried changing multiple settings but nothing fixes it.
Strong Hoov ✅ Mar 19, 2020 @ 3:12pm 
"The stridsvagn mode manipulates suspension height to pitch the tank, if you want to exclude a wheel from having its height adjusted, add "nostrid" to its Custom Data"
gangstalicious Mar 19, 2020 @ 10:23am 
suspension keeps setting back to 0
Strong Hoov ✅ Mar 9, 2020 @ 1:35pm 
Another amazing script!