Skip to content

LucidVR/opengloves-half-life-alyx-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

OpenGloves Half-Life: Alyx Scripts

Half-Life: Alyx provides the ability to script. OpenGloves uses this ability to provide a force feedback integration with Half-Life: Alyx.

There are some required steps in order to get this integration to work.

Required Steps

1. Install Scripts

  • The game folder of this repository contains the files needed for the integration, and has the same file structure as that of Half-Life: Alyx
    • Download the repository, unzip, and copy the game directory into the root Half Life Alyx game install directory. When prompted, click "Replace the files in this destination" image
  • As a sanity check, you can navigate to Half-Life Alyx\game\hlvr\scripts\vscripts. There, you should see opengloves.lua

2. Set Half-Life: Alyx Launch Properties

  • Open the Half-Life: Alyx Properties page:
    • Half-Life: Alyx Properties
  • Add -condebug to the launch options image

3. Install Half-Life: Alyx Force Feedback Integration

The role of the middleman is to act as a way for the Half-Life: Alyx scripts to interact with the driver. Installing the program is vital to the force feedback in the game working.

  • Navigate to OpenGloves Library Page

    • Ensure that OpenGloves is installed
  • Navigate to "Manage My DLC" (This can also be found in Properties->DLC)

    • Manage DLCs
  • Install the "OpenGloves - Half-Life: Alyx Force Feedback Integration"

    • Install DLC

When installed, you will have a new launch option when clicking "Launch" on OpenGloves to launch the middleman. It is important to make sure that the middleman is launched before you go to lauch Half-Life: Alyx.
Launch
Launch Options

  • When launched, you should be presented with a screen which looks like this: image

  • Copy the root Half Life Alyx install directory into the path input

    • Click Save to save these settings for your next launch
  • Clicking Begin Half-Life: Alyx Integration to start the force feedback integration

  • Launch Half-Life: Alyx and force feedback will be activated

Troubleshooting

  • If you have only one glove built, you might run into issues with the force feedback activating on the wrong hand. If you go to pick up an object and nothing happes, try enable the "Invert Hands" setting in the integration configuration

Feel free to open an Issue if you run into problems, or join our Discord Server: https://discord.gg/RjV9T8jN2G

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages