True First Person
Adds an advanced First Person camera mode
截圖 共 1 張
模組介紹 作者原文
First Person camera mode
To enter first person press O while playing. Keybind can be changed in config
The camera will be placed in survivors head if it finds one.
Preview
Field Of View
Change FOV value in config (90 by default).
You can also change FOV value in game while in first person by holding + or - button
Clipping
First person camera will clip by a configurable value.
Different survivors have different default clipping values that will be used on first person camera activation. If the survivor doesn't have its default clip value then a value of 0.3f will be used
You can also change clipping value by holding and + or - button while holding Left Shift button.
Custom Emotes API Compatability
When emoting first person camera will copy lock user rotation and copy it from Humanoid Head bone.
This can be disabled by setting Emote Camera Lock to false.
Head Finder: How It Works
Head Finder has several steps to find an object to put first person camera to. If a step fails to find one, it will proceed to the next step.
- If current survivor has its path override string value it will try to use it to find an object
- Checks for sniper weakpoint hurtbox object and checks if it's not the main hutbox
- Checks for a transform pair object in Child Locator that contains "head" in its name and doesn't contains "cannon" in its name
- Checks for a transform pair object in Child Locator that contains "chest" in its name
Path Override
If first person camera placement on the current survivor is wrong, you can manually set designated path where to place first person camera in config.
Example for Huntress: HuntressArmature/ROOT/base/stomach/chest/head.
Example for Paladin: Armature/base/spine.001/spine.002/spine.003/spine.004/neck/head.
Use Unity Explorer to inspect game elements and use it to find an object of the survivor you want to set path override to.
You can share configurated values with me under Github Issues of this mod or in Risk of Rain 2 Modding Discord (or personally @brynzananas)
Setting Default Values in Your Character Mod
To set default clip value for your modded survivor use survivorClipDefaultValues dictionary. First value is body name of your survivor. Second value is default clip value.
Example for Biden: survivorClipDefaultValues.Add("BidenBody", 0.1532053f);
To set default path override value for your modded survivor use survivorDefaultBoneOverride dictionary. First value is body name of your survivor. Second value is path override string.
Example for Paladin: survivorDefaultBoneOverride.Add("RobPaladinBody", "Armature/base/spine.001/spine.002/spine.003/spine.004/neck/head");
Known Issues
Hugging a wall will clip first person camera into it if near clip value is high.
Captain bones shake for some reason, thus shake first person camera too.
Item displays may block your vision in first person mode.
First person mode doesn't persist between character changes, so you must enable it again.
No damage indicator when in first person.
Can't enter first person on Rocket survivor
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: