杰洛特的头灯

杰洛特的头灯

杰洛特的随身光源. Geralt's personal light source.

[size=6]杰洛特头灯[/size]

所有参数在[b]游戏内菜单[/b]调节,改完立即生效:
[b]选项 → Mods → Nyar's Mods → 头灯[/b]

[size=5]功能一览[/size]
[list]
[b]纯照明[/b]:无任何可见模型/粒子/特效,只有光
[][b]两种跟随模式[/b](随时切换,即时生效):
[list]
[
][b]跟随模型[/b]:光源钉在相对身体的固定点位上,[b]不随动作动画晃动[/b](点头、挥剑、翻滚都不动);偏移方向以杰洛特面朝为准[/]
[
][b]跟随视角[/b]:光源锚在头部,偏移方向随镜头转动[/]
[/list][/
]
[][b]亮度[/b] 0150(默认 90)、[b]照明范围[/b] 140 米(默认 8)[/]
[][b]火光闪烁[/b]:默认关(稳定照明),想还原火把跳动感可开[/]
[][b]颜色 9 档预设[/b](选项名带颜色标识):火把(模板原生色)/ 冷白 / 紫苑(偏紫)/ 桃(偏粉)/ 群青(偏蓝)/ 青竹(偏绿)/ 玉子(偏黄);[b]彩虹[/b]约 8 秒循环变色;[b]自定义[/b]用 RGB 三个 0~255 滑条,任何预设下手动拖滑条自动切到自定义[/]
[][b]阴影[/b]:投射开关 + 阴影浓度 0~100%(默认开、50%,越低影子越淡)[/]
[][b]偏移 X/Y/Z[/b]:以面朝方向为准(X 左右、Y 前后、Z 高度),±2 米 / ±1 米,步进 0.1 米[/]
[][b]自动熄灭[/b](总开关 + 单场景开关,主从联动):
[list]
[
]对话/过场动画:压暗处理,结束自动恢复[/]
[
]游泳/潜水:[b]真实关灯事件[/b](渐灭并移除光源),出水保持熄灭,按一次键即亮[/]
[/list][/
]
[][b]白天自动关闭[/b]:白天起止小时可调(默认 6~18 点)。白天在室内手动开灯可[b]屏蔽[/b]白天关/室内关,[b]走出房门瞬间[/b]屏蔽解除;白天在室外手动开灯同样有效[/]
[][b]室内处理[/b]:不处理 / 自动熄灭 / 调整亮度(10~200%,可暗可亮)[/]
[][b]洞穴与地下[/b]:不处理 / 调整亮度——按区域环境名扫描判定,覆盖洞穴、墓穴、下水道、矿井、隧道、地窖、地下室、地牢[/]
[][b]黑暗区域自动亮[/b]:进入黑暗区域(含洞穴/地下)自动 0.55s 渐亮,离开自动渐灭;手动关灯会被尊重,直到离开暗区再进来[/]
[/list]
[size=5]安装[/size]
[list=1]
[]把压缩包解压到[b]游戏根目录[/b],最终应存在:
[list]
[
][font=Courier New]<游戏目录>\Mods\modHeadLamp\[/font](脚本与语言文件)[/]
[
][font=Courier New]<游戏目录>\bin\config\r4game\user_config_matrix\pc\modHeadLamp.xml[/font](游戏内菜单)[/]
[/list][/
]
[/list]
[size=5]按键绑定[/size]

开关灯键需要手动绑定。压缩包内附 [font=Courier New]input.settings.txt[/font],把其中的行加入 [font=Courier New]Documents\The Witcher 3\input.settings[/font] 对应分段的[b]内部[/b](先备份,不要整段替换)。
默认绑定[b]减号键 -[/b](IK_Minus),覆盖探索 / 战斗 / 骑马 / 游泳 / 潜水 / 乘船 / 乘客 / 希里替换模式共十个场景。想换键把 [font=Courier New]IK_Minus[/font] 换成其他键名即可,注意别和已有绑定冲突。

[size=6]Geralt's Headlamp[/size]

All parameters are tuned from the [b]in-game menu[/b] and apply instantly:
[b]Options → Mods → Nyar's Mods → 头灯 (HeadLamp)[/b]

[size=5]Features[/size]
[list]
[][b]Pure lighting[/b]: no visible model, particles or FX of any kind — just light[/]
[][b]Two follow modes[/b] (switch anytime, applies instantly):
[list]
[
][b]Follow Model[/b]: the light is pinned to a fixed point relative to Geralt's body and [b]never bobs with animations[/b] (nodding, sword swings, rolls — nothing moves it); offsets use the direction Geralt faces[/]
[
][b]Follow Camera[/b]: the light anchors to the head and its offsets rotate with the camera[/]
[/list][/
]
[][b]Brightness[/b] 0–150 (default 90) and [b]radius[/b] 1–40 m (default 8)[/]
[][b]Fire flicker[/b]: off by default (steady illumination); enable it to recreate the torch's dancing light[/]
[][b]9 color presets[/b] (preset names shown in their own colors): Torch (native template color) / Cool White / Shion (violet) / Momo (pink) / Gunjyo (blue) / Aotake (green) / Tamago (yellow); [b]Rainbow[/b] cycles through colors in about 8 seconds; [b]Custom[/b] uses three 0–255 RGB sliders — dragging any slider automatically switches to Custom[/]
[][b]Shadows[/b]: cast toggle + softness 0–100% (default on, 50%; lower means softer shadows)[/]
[][b]Offset X/Y/Z[/b]: relative to facing direction (X left/right, Y forward/back, Z height), ±2 m / ±1 m in 0.1 m steps[/]
[][b]Auto-off[/b] (master switch + per-situation switches, linked together):
[list]
[
]Dialogue / cutscenes: dims the light and restores it automatically afterwards[/]
[
]Swimming / diving: a [b]real turn-off event[/b] (fades out and removes the light source); after surfacing the light stays off — one key press relights it[/]
[/list][/
]
[][b]Daytime auto-off[/b]: configurable day hours (default 6:00–18:00). Manually lighting the lamp indoors [b]shields[/b] it from day/indoor rules; the shield lifts the moment you step out the door. Manual lighting outdoors during daytime works too[/]
[][b]Interiors[/b]: no action / turn off / brightness adjust (10–200%, darker or brighter)[/]
[][b]Caves & underground[/b]: no action / brightness adjust — detected by scanning active area environment names, covering caves, catacombs, sewers, mines, tunnels, cellars, basements, crypts and dungeons[/]
[][b]Auto-light in dark places[/b]: entering a dark area (including caves/underground) fades the light on in 0.55 s; leaving fades it off. A manual off is respected until you leave and re-enter the area[/]
[/list]
[size=5]Installation[/size]
[list=1]
[]Extract the archive into your [b]game root folder[/b]. You should end up with:
[list]
[
][font=Courier New]<Game>\Mods\modHeadLamp\[/font] (scripts and language files)[/]
[
][font=Courier New]<Game>\bin\config\r4game\user_config_matrix\pc\modHeadLamp.xml[/font] (in-game menu)[/]
[/list][/
]
[/list]
[size=5]Key binding[/size]

The toggle key must be bound manually. The archive includes [font=Courier New]input.settings.txt[/font] — add its lines into the matching sections of [font=Courier New]Documents\The Witcher 3\input.settings[/font] (back up first; do not replace whole sections).
Default: [b]Minus (-)[/b] (IK_Minus), covering exploration / combat / horse / swimming / diving / boat / boat passenger and all three Ciri replacer contexts (ten sections in total). To use a different key, replace [font=Courier New]IK_Minus[/font] with another key name — make sure it doesn't conflict with existing bindings.