Half-Life: Alyx

Half-Life: Alyx

300 个评价
Flashlight Toggle Button
9
6
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
271.658 KB
2020 年 10 月 15 日 上午 9:50
2023 年 1 月 1 日 上午 9:26
6 项改动说明 ( 查看 )

订阅以下载
Flashlight Toggle Button

描述
This mod depends on the Scalable Init Support addon.

Using this addon, you can toggle the flashlight on your hand anytime during the game (including campaign and custom maps) by pressing the Arm Grenade button on your controller.

The default button can be rebound from the Arm Grenade button to other bindings using the flashlight_toggle_action console variable. One possible way of using this command is by adding a new line to the end of the skill_hlvr.cfg file, which can be found at:
  • steamapps/common/Half-Life Alyx/game/hlvr/cfg/skill_hlvr.cfg
For example, adding the following line to the end of this file will rebind the flashlight button to the Toggle Laser Sight button:
flashlight_toggle_action 13
13 is the index of the Toggle Laser Sight binding, a list of other possible bindings can be found here.
69 条留言
tyreecottman420 9 月 1 日 上午 9:55 
Could you try making the combine suppressor's machine gun? It would be nice
пачка сигарет 7 月 18 日 下午 8:03 
will this work on an htc vive
BBqWoa! 7 月 11 日 上午 9:02 
Why be a button at all? Put the flashlight on your head and make the toggle trigger near your head. (like every single other VR game with a light) God Alyx is so fucking outdated.
nonopakupaku 6 月 7 日 上午 4:38 
found a way: to work you need to start a new game using the menu "play with addons"
FLO 5 月 26 日 上午 9:16 
Doesn't work for me either, Quest 3
nonopakupaku 5 月 24 日 下午 8:09 
does not work on quest 3s
The Horseless Headless Horsemann 2 月 27 日 上午 7:17 
chat what about oculus quest 1?
Пятнистая Рысявка 2024 年 8 月 25 日 下午 9:47 
Does it work still? Cant get it to
Iron 2024 年 7 月 4 日 上午 12:43 
FINALEE
Krotter  [作者] 2023 年 1 月 1 日 上午 9:40 
I've added a cvar for changing the binding, add the following line to the end of steamapps/common/Half-Life Alyx/game/hlvr/cfg/skill_hlvr.cfg

flashlight_toggle_action 13

Index 13 is Toggle Laser Sight, you can replace it with any other binding from this list here:
https://developer.valvesoftware.com/wiki/Half-Life:_Alyx_Workshop_Tools/Scripting_API#Digital_Input_Actions