Better Locking

Removes Breaking Ground's "servo is moving" restriction — lock hinges, pistons, rotators and rotors at any time.

License: MIT

ML/AI: 

Game Version: 1.12.5

Author: KerBee

Downloads: 24

Followers: 0

Better Locking v1.0

Lock Breaking Ground robotic servos while they are moving. Removes the stock "servo is moving" restriction without adding buttons, hotkeys or new parts.

A Harmony patch for KSP 1.12.5. Not affiliated with SQUAD, Breaking Ground or Harmony.

What it does

  • PAW: the stock Locked toggle stays usable while a hinge, piston, rotator or rotor is moving.
  • Action groups: Lock / Unlock / Toggle Lock succeed while moving.
  • KAL-1000: lock actions no longer fail with the "servo is moving" message.

It does not bypass the part's angle or travel limits: locking freezes the servo at its current position, exactly as the stock lock does when the servo is at rest. IsMoving() itself is not changed, so construction and other systems keep their stock behaviour.

Requirements

  • KSP 1.12.5 (1.12.x expected; older versions untested)
  • Breaking Ground DLC
  • Harmony 2.x — bundled here as 000_Harmony 2.2.1

Installation (close the game first)

  1. Merge the GameData folder from this zip into <KSP>\GameData. Do not replace your whole GameData.
  2. Harmony:
  3. Already have Harmony (KSPCF or another mod)? Do not copy 000_Harmony; copy only ZZ_ServoForceLock.
  4. No Harmony? Copy both 000_Harmony and ZZ_ServoForceLock.
  5. After launch, KSP.log should record: [ZZServoForceLock] patched. allowLockWhileMoving=True

Configuration

GameData/ZZ_ServoForceLock/settings.cfg

  • allowLockWhileMoving = True (False restores stock behaviour)
  • verbose = False (True logs every forced lock)

Restart the game after editing.

Notes

  • Locking while moving stops the servo instantly; joint impulse can be large — test with light loads first.
  • Compatible with KSPCF's RoboticsDrift fix.

Uninstall

Delete GameData/ZZ_ServoForceLock. Keep 000_Harmony if other mods use it.

Source & license

  • Source is included under GameData/ZZ_ServoForceLock/Source/ (with build.ps1).
  • This mod: MIT. Bundled Harmony 2.2.1: MIT, Copyright (c) 2017 Andreas Pardeike; full text in 000_Harmony/LICENSE.
  • Requires the Breaking Ground DLC; no KSP/SQUAD assets are included.

Version

  • 1.0 (2026-11-28) — BetterLocking-1.0.zip, 13 files, 380,067 B
  • SHA256 938b19e90c248449ad6c6f82677f564105bb2ac7ebfe6370457ed3076a6698eb

中文说明

更好的锁定 v1.0:解除 Breaking Ground 机械伺服“移动中禁止锁定”的限制。不使用新按钮、新热键或新部件,直接复用原版锁定功能。

面向 KSP 1.12.5 的 Harmony 补丁。与 SQUAD、Breaking Ground、Harmony 无隶属关系。

功能

  • PAW:铰链/活塞/旋转伺服/转子移动中,原版 Locked 开关仍可点。
  • 动作组:Lock / Unlock / Toggle Lock 运动中生效。
  • KAL-1000:锁定动作不再报“伺服正在移动”。

不突破部件的角度/行程上限:锁定会让伺服停在当前姿态,和原版静止时锁定完全一致。IsMoving() 本身未改,建造与其它系统保持原版行为。

依赖

  • KSP 1.12.5(1.12.x 预期;更旧未测试)
  • Breaking Ground DLC
  • Harmony 2.x(本包附带 000_Harmony 2.2.1)

安装(先关游戏)

  1. 把本包 GameData 合并到 <KSP>\GameData;不要整包替换自己的 GameData。
  2. Harmony:
  3. 已有(KSPCF 或其它 mod):不要复制 000_Harmony,只复制 ZZ_ServoForceLock;
  4. 没有:两者都复制。
  5. 启动后 KSP.log 应记录: [ZZServoForceLock] patched. allowLockWhileMoving=True

配置

GameData/ZZ_ServoForceLock/settings.cfg

  • allowLockWhileMoving = True(False 恢复原版行为)
  • verbose = False(True 每次强制锁定写日志)

改完重启生效。

注意

  • 移动中锁定会让伺服瞬间停住,关节冲击可能较大,先轻载测试。
  • 与 KSPCF 的 RoboticsDrift 修复兼容。

卸载

删除 GameData/ZZ_ServoForceLock;Harmony 若被其它 mod 使用请保留。

源码与许可

  • 源码随包:GameData/ZZ_ServoForceLock/Source/(含 build.ps1)。
  • 本 mod:MIT;附带 Harmony 2.2.1:MIT,Copyright (c) 2017 Andreas Pardeike(全文见 000_Harmony/LICENSE)。
  • 需要 Breaking Ground DLC;包内不含 KSP/SQUAD 资产。
Loading changelog...

Stats for Better Locking

Downloads over time

Downloads per version

New followers per day

Top Referrers

  1. spacedock.info
  2. www.google.com
  3. sd-prod-live.52k.de
  4. yandex.com
  5. sd1b.52k.de

Export Raw Stats

Export Downloads

Export Followers

Export Referrals

Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.