一个仅适用于客户端的模组,用于 Better Than Adventure!,
允许你独立于玩家角色控制摄像机,使其成为检查建筑和机器的便捷工具。
请注意,freecam 在某些服务器上可能被视为作弊行为,因此
请确保它被规则允许,或者先询问服务器管理员!
兼容性与依赖项:
本模组为 BTA! 8.0 版本开发,并将为未来的
发布版本进行维护。它是仅客户端模组,这意味着当
安装在服务端时它将没有任何作用。
除了 BTA! 本身之外,唯一的依赖项是 Fabric Loader。你可以从 此处 (github) 获取包含 Fabric 的预构建 BTA! 实例。
使用方法:
该模组添加了两个新的按键绑定,切换自由视角(key.freecam,默认为 F6)
和 切换自由视角控制(key.freecam_ctrl,默认为 F7),
你可以在游戏设置中的 控制 > 视图 下找到它们。
在自由视角模式下,你可以像在使用 noclip 模式时一样控制摄像机——也就是说,你也可以使用 ctrl(或你配置的 noclip 按键绑定)和鼠标滚轮来改变飞行速度。
切换自由视角 可以在进入和退出自由视角之间切换,并在重新启用时重置你的自由视角位置和旋转角度,按住 ctrl 可以防止这种情况发生。
切换自由视角控制 让你在处于自由视角时重新获得对玩家角色的控制权。
与其他自由视角模组的区别
与大多数其他自由视角模组不同,此模组不会修改你的摄像机位置,
而是直接变换透视矩阵,从而产生让你穿过天空盒飞行的酷炫效果 :3。
出于同样的原因,自由视角的位置存储为玩家摄像机的偏移量,
而不是像大多数其他自由视角那样的绝对位置。如果你希望后者也能实现,请告诉我!
此模组还让你在处于自由视角时可见玩家模型,这与 Tweakeroo 的自由视角以及(我认为)大多数其他模组一致——只不过当自由视角过于接近时会隐藏玩家模型!
值得一提的是,BTA! 还有另一个自由视角模组,
Apollointhehouse 开发的 CameraMan,
它为了极简主义(我假设)而不显示玩家模型。
安装/从源代码构建。
要安装,只需导航到 发布页面,
并安装与你 BTA! 版本兼容的版本——或者直接选择
最新 的发布版本。
要从源代码构建,通过 git 将仓库克隆到本地,并在仓库的工作目录中运行 ./gradlew build。然后可以在 build/libs/ 中找到构建产物。
A client-only mod for Better Than Adventure!,
which allows you to control your camera isolated from your player, making it a
convenient tool for inspecting builds and machines.
Please note that freecam might be consdered cheating on some servers, therefore
please make sure that it is allowed by the rules, or ask the server owner first!
Compatibility and Dependency:
This mod is developed for BTA! release 8.0, and will be maintained for future
release versions. It is cliend-only, meaning that it will do nothing when
installed server-side.
The only dependency other than BTA! itself is Fabric Loader. You can obtain a
pre-built BTA! instance with Fabric included from here (github).
Usage:
The mod adds two new keybinds, Toggle Freecam (key.freecam, default F6)
and Toggle Freecam Control (key.freecam_ctrl, default F7),
which can be found in the game setting under Control > View.
While in freecam, you can control the camera similar to how you would control
while in noclip mode -- meaning you can also use ctrl (or your configured
noclip keybind) and mouse wheels to change your fly speed.
Toggle Freecam toggles you in and out of freecam, and additionally resets
your freecam position and rotation when re-enabling it, which can be prevented
by holding ctrl.
Toggle Freecam Control returns you control of your player character while in
freecam.
Differences Compared to Other Freecam Mods
Unlike most other freecam mods, this mod does not modify your camera position,
instead transforms the perspective matrix directly, which leads to the cool
effect of allowing you to fly through the skybox :3.
For the same reason, the freecam position is stored as an offset to your player
camera, instead of an absolute position like most other freecams. Let me know if
you want the latter to be made possible!
This mod also makes your player model visible while in freecam, which
aligns with Tweakeroo's freecam and (I believe) most other mods -- with the
catch that it is hidden when the freecam is too close!
It's worth noting that there exists another freecam mod for BTA!,
CameraMan by Apollointhehouse,
which does not make the player model visible for the sake of minimalism (I
assume).
Installing / Building from Source.
To install, simply navigate to the release page,
and install the version compatible with your BTA! version -- or just the
latest release in
general.
To build from source, clone the repo locally via git, and run ./gradlew build
while within the working directory of the repo. The build artifacts can then be
found in build/libs/.
评论 0
登录后参与评分
还没有评论,来抢沙发吧