AllViewmodelFOV
Configure separate viewmodel FOV values for weapons, melee, tools, and resource/consumable/objective items in GTFO.
By nazelto
| Date uploaded | 16 hours ago |
| Version | 1.1.0 |
| Download link | nazelto-AllViewmodelFOV-1.1.0.zip |
| Downloads | 4 |
| Dependency string | nazelto-AllViewmodelFOV-1.1.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_GTFO
BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.
Preferred version: 3.2.2README
All Viewmodel FOV for GTFO
作者:nazelto
一个由 BepInEx 6 加载的客户端 Mod。它可以分别修改以下四类第一人称物品的普通(非瞄准)视图模型 FOV:
- 主武器与特殊武器
- 近战武器
- 工具(炮台、布雷器、生物追踪器等职业槽工具)
- 资源包、消耗品、口袋/拾取物和任务携带物
分类使用 GTFO 原生的 InventorySlot,不依赖物品显示名称。黑客工具归入工具配置;没有有效物品槽位的内部对象保持游戏原始 FOV。
本 Mod 沿用 TisButAScratch-ViewmodelFOV 的转换公式:
最终 FOV = 物品原始 FOV ×(配置 FOV ÷ 55)
因此某一类配置为 55 时保持该类物品的原始 FOV;配置为其他数值时,会按比例缩放该类物品,并保留不同物品原本的 FOV 差异。
安装
将 AllViewmodelFOV.dll 放入当前 GTFO 配置的 BepInEx/plugins/AllViewmodelFOV/,然后启动游戏。
建议移除旧的 ViewmodelFOV.dll,避免同时安装两个功能相同的 Mod。即使两者同时存在,本 Mod 也会以最低 Harmony 后置优先级写入最终值。
配置
首次启动后编辑:
BepInEx/config/com.gtfo.allviewmodelfov.cfg
示例:
[General]
Enabled = true
[FOV]
1. Primary and Special Weapon FOV = 90
2. Melee Weapon FOV = 80
3. Tool FOV = 75
4. Resource, Consumable and Objective Item FOV = 70
有效范围为 1 到 179,游戏默认值是 55。本 Mod 只修改普通持握视图模型,不修改 ADS/瞄准倍率或世界相机 FOV。修改配置后重新进入游戏;如果安装了 BepInEx ConfigurationManager,也可以在其界面中即时修改配置项。
编译
要求安装 .NET SDK,并让 BepInEx/r2modman 配置至少成功启动 GTFO 一次,以生成 BepInEx/interop。
默认使用 r2modman 的 Default 配置:
dotnet build -c Release
使用其他配置时:
dotnet build -c Release -p:GameProfilePath="C:\path\to\GTFO\profile"
输出 DLL 位于 bin/Release/net6.0/AllViewmodelFOV.dll。
CHANGELOG
Changelog
1.1.1
- Remove developer build instructions from the Thunderstore README.
1.1.0
- Add separate FOV settings for primary/special weapons, melee weapons, and tools.
- Add a fourth setting for resource packs, consumables, pocket/pickup items, and objective carry items.
- Classify items with GTFO's native inventory slots instead of display names.
- Treat the hacking tool as a tool; leave only objects without a recognized inventory slot unchanged.
1.0.1
- Use the same conversion formula as
TisButAScratch-ViewmodelFOV:original FOV * (configured FOV / 55). - Apply that formula to every
ItemEquippable, while preserving each item's original FOV difference.
1.0.0
- Initial release.
- Applies the configured normal viewmodel FOV to every
ItemEquippablewithout weapon-name or inventory-slot filtering. - Leaves ADS/zoom and world camera FOV unchanged.