cbtc-1.1.1.jar
Curse Maven Snippet
What's new
## 1.1.1 — 紧急修复 / Hotfix
> 中文:紧急修复智能炮座装在物理结构上(飞行器、移动平台等)时无法正常瞄准的问题。
> English: Hotfix for smart cannon mounts being unable to aim properly when mounted on a Sable physics contraption (aircraft, moving platform, etc.).
### 修复 / Fixes
- **物理结构上无法瞄准 / Cannot aim on physics contraptions**
中文:智能炮座被组装进物理结构后,方块实体坐标位于结构存储区,而目标坐标属于世界坐标系,两者直接相减得到的方向完全错误;现在会先把目标点换算到结构自身坐标系,再计算偏航与俯仰,炮管可正常指向目标。
English: Once assembled into a physics contraption, the mount's block entity sits in the contraption's storage region while the target lives in world space, so subtracting them produced a completely wrong direction. The target is now transformed into the contraption's own coordinate space before yaw and pitch are computed, so the barrel points at the target correctly.
- **智能固定炮座 / Smart fixed cannon mount**
中文:同样按结构坐标系计算偏航/俯仰,滚轮角度不再随结构移动而偏移。
English: Yaw/pitch are now computed in the contraption's coordinate space as well, so the scroll-value angles no longer drift as the contraption moves.
- **火控击杀的可达判定 / Reachability check for fire-control kill tasks**
中文:距离与视线检测改用投影后的世界坐标计算起点,物理结构上的火控单位不再误判目标不可达而一直等待。
English: Range and line-of-sight checks now cast from the projected world position, so fire-control units on contraptions no longer misjudge targets as unreachable and stall in a waiting state.
### 说明 / Notes
- 中文:只影响物理结构上的炮座与火控单位,普通方块上的瞄准行为与之前完全一致。
English: Only affects mounts and fire-control units placed on physics contraptions; aiming on regular blocks behaves exactly as before.
- 中文:不涉及存档结构变动,可直接覆盖升级。
English: No save-data format changes — drop-in upgrade.
This mod has no additional files