Space Engineers

Space Engineers

Not enough ratings
[Modular]Workspace Control of Nanobot Systems
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
17.169 KB
19 Mar, 2020 @ 7:25am
31 Mar, 2020 @ 5:25am
6 Change Notes ( view )

Subscribe to download
[Modular]Workspace Control of Nanobot Systems

Description
Script Version 0.9

En

Now the script is universal and in a similar way controls the "Nanobot Build and Repair System".

The script for managing the workspace is "Nanobot Drill and Fill System", then simply "DrillSystem".

The script transfers control of the size and position of the "DrillSystem" workspace to any controller
control (cockpit, pilot's seat, control station, passenger seat and remote control),
further simply "Controller".

Installation:
- Put all the "DrillSystem" in the group (the name of the group is arbitrary).
- Add the controller (s) from which you want to manage the workspace: to the group with "DrillSystem".
- Download the script to the programmable unit, replace "Drills" with the name of the group you created with "DrillSystem" and the controllers.

When using a passenger seat (recommended), the control is activated immediately as soon as you sit in it.
When using any other controller, to activate the control, you need to start the programmable block with the argument "on",
To deactivate control, you need to start the programmable block with the argument "off".

Notes:
Registers in passed arguments are not taken into account.

The orientation of the "DrillSystem" or the controller is not important.

At the first start, the working area of all "DrillSystem" is positioned in the center of the grid, in the future the position is saved.

The control is carried out by the control keys of the controller relative to its orientation (similar to controlling a ship).

Workspace size:
[Roll to the left] - Decrease by 1;
[Roll to the right] - Increase by 1;

Workspace Position ::
[Forward] - Offset by 1 forward;
[Back] - Offset by 1 back;
[Left] - Offset by 1 left;
[Right] - An offset of 1 to the right;

[Up] - Offset by 1 up;
[Down] - Offset by 1 down;

****************************************************************************************************

Ru

Теперь скрипт универсален и аналогичным способом управляет "Nanobot Build and Repair System".

Скрипт для управления рабочей областью "Nanobot Drill and Fill System", далее просто "DrillSystem".

Скрипт передаёт управление размером и положением рабочей области "DrillSystem" любому контроллеру
управления (кокпит, кресло пилота, станция управления, пассажирское кресло и дистанционное управление),
далее просто "Контроллер".

Установка:
- Поместите все "DrillSystem" в группу (имя группы произвольное).
- Добавьте контроллер(ы) с которых Вы хотите управлять рабочей областью: в группу с "DrillSystem".
- Загрузите скрипт в программируемый блок, замените "Drills" на имя созданной Вами группы с "DrillSystem" и контроллерами.

При использовании пассажирского кресла (рекомендовано), управление активируется сразу, как только Вы сядете в него.
При использовании любого другого контроллера, чтобы активировать управление нужно запустить программируемый блок с аргументом "on",
чтобы де активировать управление нужно запустить программируемый блок с аргументом "off".

Заметки:
Регистры в передаваемых аргументах не учитываются.

Ориентации "DrillSystem" или контроллера не важны.

При первом запуске, рабочая область всех "DrillSystem" позиционируется в центре сетки, в дальнейшем положение сохраняется.

Управление осуществляется клавишами управления контроллера относительно его ориентации (аналогично управлению кораблём).

Размер рабочей области:
[Крен влево] - Уменьшить на 1;
[Крен вправо] - Увеличить на 1;

Положение рабочей области::
[Вперёд] - Смещение на 1 вперёд;
[Назад] - Смещение на 1 назад;
[Влево] - Смещение на 1 влево;
[Вправо] - Смещение на 1 вправо;

[Вверх] - Смещение на 1 вверх;
[Вниз] - Смещение на 1 вниз;

****************************************************************************************************

The script is under testing.
Suggestions, comments and information about bugs found are welcome.

Скрипт на стадии тестирования.
Предложения, замечания и информация о найденных багах приветствуются.
7 Comments
Lexx Lord  [author] 9 Oct, 2021 @ 10:11pm 
Check if you have added the cockpit to the "Nanobot Systems" block group.
Check if you added the block group correctly to NSAC.Run(this, argument, "your_group");
Tsundra 9 Oct, 2021 @ 7:03pm 
does this script even work as intended anymore? I've set everything up, I clicked run with "on" as the arguement, the working area appears when I sit in the cockpit, but it doesn't respond to my controls.
D-Kay 21 Jul, 2020 @ 7:21pm 
Thank you, I'm fucking dumb
Lexx Lord  [author] 18 Jul, 2020 @ 11:18pm 
In the script instruction written:
*When using a passenger seat (recommended), the control is activated immediately as soon as you sit in it.
*When using any other controller, to activate the control, you need to start the programmable block with the argument "on",
*To deactivate control, you need to start the programmable block with the argument "off".
D-Kay 18 Jul, 2020 @ 6:53pm 
area is not moving
Lexx Lord  [author] 28 May, 2020 @ 7:48am 
В инструкции скрипта написано:
* При использовании пассажирского кресла (рекомендовано), управление активируется сразу, как только Вы сядете в него.
* При использовании любого другого контроллера, чтобы активировать управление нужно запустить программируемый блок с аргументом "on",
* чтобы де активировать управление нужно запустить программируемый блок с аргументом "off".

Вы вероятно не запустили Пр. Бл. с аргументом "on" ( без кавычек)
Max Hass 28 May, 2020 @ 3:12am 
область бурения не двигается с места