IK CRANE OS
Фото и видео: 1 из 4. Материалы автора из Steam Workshop.
О материале
«IK CRANE OS» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
IK CRANE OS
IK CRANE OS is a Space Engineers crane script with IK arm control, parking mode and automatic tool changing.
Required blocks
-
Programmable Block with this script
-
Cockpit or Remote Control
-
Rotors/hinges: Base Rotor, Shoulder, Elbow 1, Elbow 2, Wrist
-
Optional: QERotor, MouseXRotor, MouseYRotor
-
For ATC: Attacher rotor/hinge and landing gear plates for tools
-
Optional: lights with the crane tag
-
Status is shown on the Programmable Block screen
Default block names
Cockpit
Base Rotor
Shoulder
Elbow 1
Elbow 2
Wrist
QERotor
MouseXRotor
MouseYRotor
Attacher
On the first run, the script creates its settings in the Programmable Block Custom Data. If your blocks use different names, change them there.
Script commands
-
on - enable crane mode
-
off - disable crane mode
-
toggle or switch - toggle crane mode
-
park - move the crane to its parking position
-
reset - reload blocks and reset the script state
Cockpit controls
-
W/S - move the arm forward/backward
-
Space/C - move the arm up/down
-
A/D - rotate the base
-
Q/E - rotate QERotor
-
Mouse - control MouseX / MouseY rotors
Automatic Tool Changer
-
In Custom Data, make sure Attacher has the correct block name. This is the rotor/hinge that physically holds or releases the tool.
-
To save a tool position, the tool must already be mounted on the crane.
-
Move the mounted tool to its landing gear plate.
-
Name the landing gear plates Plate 1, Plate 2, Plate 3, or change these names in Custom Data: Tool_1, Tool_2, Tool_3, etc.
-
When the crane is in the correct position, run setup.
-
Then run tool 1 to save the position for Tool 1. Use tool 2, tool 3, etc. for other tools.
-
After setup, run tool N to automatically pick up or drop the selected tool.
Important: if Attacher is missing or has the wrong name, ATC will not be able to release the tool correctly. Check the Attacher name in Custom Data before setup.
IK hinge orientation
-
IK arm hinges: Shoulder, Elbow 1, Elbow 2, Wrist.
-
Their orientation mark should face the opposite direction from the crane bend. Basically, the mark points to the working side of the hinge.
-
If a hinge is already installed the wrong way and rotates incorrectly, add invert to that hinge's Custom Data.
Useful notes
-
If any rotor or hinge rotates the wrong way, add invert to that block's Custom Data.
-
The script can hold the ship with gyros while crane mode is active. This is controlled by GyroHold.
-
For correct IK movement, set the arm lengths in ArmLength_L1 and ArmLength_L2.
-
Start testing with low speeds, then increase them for your build.
Troubleshooting
-
Crane does not move - check block names and make sure you are controlling the cockpit.
-
ATC does not start - check that the tool position was saved.
-
Tool does not release - check the Attacher name in Custom Data.
-
Tool plate not found - check the landing gear plate name in Custom Data.
-
Arm bends incorrectly - check arm lengths and rotor/hinge direction.
example of a ship with a script https://steamcommunity.com/sharedfiles/filedetails/?id=3732106290
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.