Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
FlashlightFocus
Client-side flashlight focus: hold E + mouse wheel to adjust the beam, press X to toggle it. Keeps the vanilla flashlight model. English / Chinese.
By Mao_die_H
| Last updated | 4 days ago |
| Total downloads | 396 |
| Total rating | 0 |
| Categories | AI Generated Quality Of Life Client-side |
| Dependency string | Mao_die_H-FlashlightFocus-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
FlashlightFocus 手电筒聚焦
A client-side R.E.P.O. mod that lets you focus the vanilla flashlight beam with E + mouse wheel, and switch the beam on/off with X. The flashlight model, material, halo and intensity are untouched — only the spotlight's beam width and on/off state are changed.
一个 R.E.P.O. 客户端模组:按住 E + 鼠标滚轮 调节原版手电筒的光束聚焦,按 X 开关手电筒。手电筒模型、材质、光晕和亮度都不改动,只调整聚光灯的光束宽度和开关状态。
English
Features
- Adjustable focus — hold
Eand scroll the mouse wheel. Scroll up for a tighter beam, scroll down for a wider beam. - Flashlight toggle — press
Xto turn the beam off or on. The vanilla flashlight stays in the character's hand; only the light and halo are switched off. - Vanilla look preserved — no mesh, material, texture, halo shape or light intensity changes. Focus only changes the spotlight's cone angle.
- English / 中文 — the language can be set to
Auto,Englishor中文in the config menu or the config file.Autofollows the game language. - Client-side only — every player who wants the effect installs the mod. It does not send any network messages and does not change gameplay for other players.
- Configurable — focus key, toggle key, wheel step, narrowest/widest angle, inverted scroll, HUD and messages.
Controls
| Action | Default key |
|---|---|
| Hold + scroll to adjust focus | E + mouse wheel |
| Toggle flashlight | X |
Both keys can be changed in BepInEx/config/com.yanyan.repo.flashlightfocus.cfg or in REPOConfig.
Configuration
| Setting | Default | Meaning |
|---|---|---|
| Language | Auto | Auto follows the game language; otherwise English or 中文 |
| Enable mod | true | Master switch |
| Focus key (hold) | E | Hold while scrolling the wheel |
| Flashlight toggle key | X | Toggle the beam |
| Show on-screen messages | true | Short ON/OFF message |
| Show focus indicator | true | Beam-width bar while adjusting |
| Focus width | 0 | Current angle in degrees; 0 = vanilla width |
| Wheel step (degrees) | 2.5 | Change per wheel notch |
| Narrowest angle | 8 | Lower limit |
| Widest angle | 120 | Upper limit |
| Invert scroll direction | false | Scroll up widens instead of narrows |
The beam width is saved in the config. Set Focus width = 0 to return to the exact vanilla width.
Installation
- Install BepInEx 5.4.23.x (the standard BepInExPack for R.E.P.O.).
- Copy
plugins/FlashlightFocus.dllintoR.E.P.O./BepInEx/plugins/. - Start the game. The config file is created automatically.
Notes
- The mod only affects the local player's flashlight. Other players keep their own beam settings.
- Because
Eis also the game's interact key, holdingEwhile interacting will make the focus shortcut available; the wheel is only used for focus whenEis held. - If
XorEconflicts with another mod, change the keys in the config. - No host installation is required, and no gameplay values are changed.
中文
功能
- 可调聚焦 —— 按住
E滚动鼠标滚轮。向上滚动收窄光束,向下滚动放宽光束。 - 手电筒开关 —— 按
X关闭或打开光束。原版手电筒仍然拿在角色手上,只关闭灯光和光晕。 - 保持原版外观 —— 不修改模型、材质、贴图、光晕形状或灯光亮度,只调整聚光灯的光束角度。
- 中英切换 —— 可在配置菜单或配置文件中将语言设为
Auto、English或中文。Auto跟随游戏语言。 - 纯客户端 —— 想要效果玩家各自安装即可。模组不发送任何网络消息,也不会改变其他玩家的游戏体验。
- 可配置 —— 聚焦按键、开关按键、滚轮步进、最窄/最宽角度、反转滚轮、屏幕指示和提示均可调整。
操作
| 操作 | 默认按键 |
|---|---|
| 按住 + 滚轮调节聚焦 | E + 鼠标滚轮 |
| 开关手电筒 | X |
两个按键都可以在 BepInEx/config/com.yanyan.repo.flashlightfocus.cfg 或 REPOConfig 中修改。
配置项
| 配置项 | 默认值 | 说明 |
|---|---|---|
| Language / 语言 | Auto | Auto 跟随游戏语言,也可选 English 或 中文 |
| 启用模组 | true | 总开关 |
| 聚焦按键(按住) | E | 按住时滚动滚轮 |
| 手电筒开关按键 | X | 开关光束 |
| 显示屏幕提示 | true | 开关时的简短提示 |
| 显示聚焦指示 | true | 调节时显示光束宽度条 |
| 聚焦角度 | 0 | 当前角度;0 = 原版宽度 |
| 滚轮步进(度) | 2.5 | 每格滚轮改变的角度 |
| 最窄角度 | 8 | 下限 |
| 最宽角度 | 120 | 上限 |
| 反转滚轮方向 | false | 开启后向上滚动变宽 |
光束宽度会保存在配置中。将 聚焦角度 设为 0 即可恢复完全原版的光束宽度。
安装
- 安装 BepInEx 5.4.23.x(R.E.P.O. 常用的 BepInExPack)。
- 将
plugins/FlashlightFocus.dll放入R.E.P.O./BepInEx/plugins/。 - 启动游戏,配置文件会自动生成。
说明
- 模组只影响本地玩家的手电筒,其他玩家仍使用各自的光束设置。
E同时也是游戏交互键,因此按住E交互时聚焦快捷键会处于可用状态;只有按住E时滚轮才用于聚焦。- 如果
X或E与其他模组冲突,请在配置中改键。 - 不需要主机安装,也不修改任何游戏数值。