JJL772 / half-life-alyx-scripts

Scripts for the game Half-Life:Alyx. This repo only provides some simple scripts at this point. As of the v1.4 update, valve ships vscripts with the game, so installing this is not required anymore :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Half-Life: Alyx Scripts

NOTE: THIS REPO IS LARGELY OBSOLETE SINCE VALVE SHIPS SCRIPTS WITH THE GAME. IF YOU WANT A JUMP FIX OR FLASHLIGHT SCRIPT FOR NON-VR GAMEPLAY, YOU CAN STILL INSTALL THIS

Installation

  1. Create the directory game/hlvr/scripts

  2. Copy the folder vscripts into this new folder. (It should look like this: game/hlvr/scripts/vscripts)

  3. Add a script_reload_code init-scripts.lua to hlvr/cfg/skill.cfg or some or CFG that is automatically loaded.

  4. Load up the game, and you're done!

Installing user scripts

All scripts in the user/ directory are custom scripts by me. If you wish to install more user scripts do the following:

  1. Copy the script to scripts/vscripts/user

  2. Add include_script(user/myscript.lua) to the end of init.lua in the vscripts directory

  3. That's all!

Running

Some of these script won't work unless you run the game under developer mode.

To do this, follow these instructions:

  1. Right click on Half-Life Alyx in the steam library
  2. Click Properties
  3. Click "Set Launch Options"
  4. Add -dev in that box
  5. Click OK.

About

Scripts for the game Half-Life:Alyx. This repo only provides some simple scripts at this point. As of the v1.4 update, valve ships vscripts with the game, so installing this is not required anymore :)


Languages

Language:Lua 100.0%