Space Engineers

Space Engineers

111 ratings
Turret displacement system
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
905.870 KB
Feb 2 @ 10:42pm
Feb 4 @ 4:56pm
3 Change Notes ( view )

Subscribe to download
Turret displacement system

Description
Got a weird spot on your tank where you can't quite depress/elevate and you don't want to set up piston control groups? This script is for you!

Demonstration Vehicle


OPERATING INSTRUCTIONS
-----------
This script is intended to work with custom turret controllers, or turret scripts like MART.

Create a group of blocks named "Turret Displacer" containing at least one rotor/hinge named "Azimuth" and another named "Elevation" (or whatever you have set the name to in the script), and as many pistons as you need.


Define your keyframes below. For hinges, and rotors with predefined limits, you will need to use keyframes between -180 and 180.
For rotors without limits, you must use numbers between 0 and 360.

If you aren't sure, use the same numbers as seen in the terminal.

You can also set the combination type.
The different types are:

Add: Adds the values of the keyframes together.
SubtractAzimuth: Subtracts the azimuth value from the elevation value.
SubtractElevation: Subtracts the elevation value from the azimuth value.
Max: Uses the highest value of the keyframes.
Min: Uses the lowest value of the keyframes.
Average: Averages the values of the keyframes together.
Multiply: Multiplies the values of the keyframes together.

Everything else in the script should be self explanatory.
7 Comments
FMHikari Feb 7 @ 7:51am 
That's one way of compensating for the issues an oscillating turret causes.
Agent 9 Feb 5 @ 9:12pm 
depress with ease... can i cheer him up with ease?
Bum Feb 4 @ 8:47pm 
I'm very good with depression, I've got so much of it.
Eminov Feb 4 @ 4:47am 
I'm good at depressing with ease thanks
OutLook Feb 3 @ 4:33pm 
Yes
DeltaWing  [author] Feb 3 @ 4:00pm 
Bro ever wanted to be hull down behind a 2 storey building
OutLook Feb 3 @ 11:59am 
"hit it from the back, thats its blind spot"
*turret elevates by 1 meter*
"Ah.."