Half-Life: Alyx

Half-Life: Alyx

190 ratings
Sprint Button Mod
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.656 MB
15 May, 2022 @ 2:13am
16 May, 2022 @ 10:55am
9 Change Notes ( view )

Subscribe to download
Sprint Button Mod

In 1 collection by CementStairs
CementStairs - Mod Portfolio
23 items
Description
Sprint Toggle Button

Adds a long-time requested freature - the ability to run quicker with just press of a button!


Was Half-Life: Alyx always too slow for you?
Are you a person who enjoys action and a bit of adrenaline?
Do you want to quickly empty your stomach?

Then this mod is just for you!



IMPORTANT NOTICE!

To toggle the sprint, press the "Grip"(eject pistol clip) or "Weapon Switch" button on your non-dominant hand

Make sure you have subscribed to the Scalable Init Support mod!



Features
  • Press Grip(eject pistol clip on opposite hand)/Weapon Switch button on your non-dominant hand to toggle the sprint

  • A hud that is attached to player's dominant hand(close to your weapons), showing the current stamina value; the hud disappears if the sprint is not active after reaching 100% stamina

  • The stamina is drained only if the player moves; when not moving or when having sprint disabled, the stamina regenerates by itself

  • As the player reaches low stamina, a heartbeat sound and a slight screen blur notifies them, so they won't have to always look at the hud

  • Left-Handed Support

  • Scalable Init Support - Meaning the mod works on all maps!



Customisation

The Sprint can be customised with these commands:

Command
Function
Default Value
sprint_drain_speed
How quickly does the stamina deplete(drain happens 5 times more often than regen, so multiply the value by 5)
0.02
sprint_regen_speed
How quickly does the stamina regenerate
0.05
sprint_max_stamina
How much stamina can you have at once
5
sprint_speed_multiplier
How quickly do you move with sprint active
1.75
sprint_hud_scale
The scale of the stamina hud(0 to disable hud)
1 (0 to disable hud)
sprint_low_stamina_warning_disabled
If enabled, disables the heartbeat sound and screen blur warning, when the stamina is low
0

You can create custom configs by adding "sprint_config.cfg" to your "\Half-Life Alyx\game\hlvr\cfg\" directory.
Put the commands above into the cfg file to have effect in game.

For more customisation options, see the beta version here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2808938697



What can I do if I liked this mod?
If you liked the mod please consider rating/adding it to favourites, It helps me as a creator to gather feedback and motivation for my future content - Thank you!



Huge thanks to Skummeh and SIBBO for playtesting and special thanks to FrostEpex for help with VScript.

I appreciate any form of feedback, be it a rating or comment. I always want to improve my mods, so if you encounter any issues, let me know so I can fix them.
Popular Discussions View All (2)
16
3 May @ 8:28am
Feedback
CementStairs
0
6 Oct, 2023 @ 11:36am
PINNED: How to enable Alyx mods
CementStairs
76 Comments
CementStairs  [author] 21 Nov, 2024 @ 4:07pm 
@chicken paste

You might want to use the "beta" version of the mod here:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2808938697

It has options for fully custom bindings or some straightforward binding presets.
In this case, you should be changing what buttons the script is tied to, rather than changing the bindings of the buttons themselves through SteamVR.

Take a look at the beta and let me know if you figured it out.
chicken paste 21 Nov, 2024 @ 1:34pm 
I'm not sure what you mean, am I not supposed to manually bind those on the left controller? I went into them and bound my left stick click to open inventory/eject mag so that sprint would work.
CementStairs  [author] 21 Nov, 2024 @ 1:30pm 
@chicken paste
Hi,
did you by any chance modify your SteamVR bindings for Alyx?

By default, the identical buttons on the other controller should not trigger the action as the other hand (such as, non-dominant hand's 'open inventory' button will not open inventory, but trigger crouch, if it is enabled). Though the changed bindings might affect this, so let me know.

You might also want to try different values listed on the wiki, as some of the actions share buttons, but not all are detected (for instance Arm Grenade and Toggle Health pen).
chicken paste 21 Nov, 2024 @ 1:03pm 
And yes it's on my non dominant hand. Using Quest 3.
chicken paste 21 Nov, 2024 @ 1:01pm 
If I use the bindings for inventory or mag eject the sprint function works but it also does those actions too, how do I stop that?
Skummeh 22 Oct, 2024 @ 1:18pm 
@Battlefeelz You can turn it off with sprint_hud_scale 0. Read the description.
Battlefeelz 22 Oct, 2024 @ 12:57pm 
WHY is there a dumb number attached to my wrist when theres already sound cues to let us know when we're runnning low on stamina?
Nekotaku 24 Sep, 2024 @ 6:16pm 
The UI needs to be better.
CementStairs  [author] 17 Feb, 2024 @ 4:20am 
@MacMashPotato

Apologies, Steam included the brackets as a part of the link.

Hey, you can use the "beta" (latest version) that is linked in the Customisation section: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2808938697

It has a convar "sprint_control_disable_grip" just for that.
MacMashPotato 17 Feb, 2024 @ 1:14am 
@CementStairs

That link got flagged.