
CC:CBC Compact Mount
Adds a CC: Tweaked peripheral for CBC: Compact Mount.
Оцените первым
548
4
Do you use CC:CBC? Do you use CBC: Compact Mount? Would you like CC:CBC to work with compact cannon mounts as well? Then this mod is for you!
CC:CBC Compact Mount turns compact cannon mounts into peripherals for computers from CC: Tweaked, recreating the functionality of CC:CBC.
Note: This mod does not replace CC:CBC, you can use them separately.
Lua API
Peripheral type: compact_cannon_mount
| Method | Parameters | Returns | Description |
|---|---|---|---|
setComputerControl | enabled: boolean | nil | Enables/disables computer control mode. |
isComputerControl | - | boolean | Current computer control mode status. |
setTargetPitch | pitch: number | nil | Sets vertical angle only. |
getInfo | - | table | Returns cannon telemetry/state. |
assemble | enabled: boolean | boolean | true = assemble, false = disassemble. |
fire | enabled: boolean | boolean | Controls fire signal (true keeps firing signal active). |
getInfo() fields
| Field | Type | Description |
|---|---|---|
computerControl | boolean | Whether computer control mode is active. |
assembled | boolean | Whether the cannon is assembled on the mount. |
pitch | number | Current vertical angle. |
targetPitch | number | Target vertical angle. |
pitchShaftSpeed | number | Pitch interface shaft speed. |
x, y, z | number | Cannon Mount position in the world. |
Часто задаваемые вопросы
Совместимость
Ссылки
Создатели
Детали
Лицензия:
Опубликован:1 месяц назад
Обновлён:1 месяц назад
