Code Monkey home page Code Monkey logo

opengloves-half-life-alyx-scripts's Introduction

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

opengloves-half-life-alyx-scripts's People

Contributors

lucas-vrtech avatar danwillm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.