Space Engineers
Оценок: 111
Turret displacement system
   
Наградить
В избранное
В избранном
Удалить
Метки: other_script
Размер файла
Добавлен
Изменён
905.870 KB
2 фев в 22:42
4 фев в 16:56
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
Turret displacement system

Описание
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
FMHikari 7 фев в 7:51 
That's one way of compensating for the issues an oscillating turret causes.
Agent 9 5 фев в 21:12 
depress with ease... can i cheer him up with ease?
Bum 4 фев в 20:47 
I'm very good with depression, I've got so much of it.
Eminov 4 фев в 4:47 
I'm good at depressing with ease thanks
OutLook 3 фев в 16:33 
Yes
DeltaWing  [создатель] 3 фев в 16:00 
Bro ever wanted to be hull down behind a 2 storey building
OutLook 3 фев в 11:59 
"hit it from the back, thats its blind spot"
*turret elevates by 1 meter*
"Ah.."