DrChat / Gmod-vphysics

Replacement vphysics module for the Source engine (originally meant for Garry's Mod)
Other
92 stars 15 forks source link

Gmod-vphysics

Replacement vphysics module for the source engine (formerly just garry's mod)

Users

Download

You can download vphysics here (courtesy of Gran PC)

Installation

  1. Copy vphysics.dll to the engine bin directory (parent folder is the one that contains hl2.exe, e.g. \<username>/garrysmod/bin)
  2. Run the game.

You may have to repeat these steps if the game updates!

Developers

Libraries Required

Git Submodules

This library uses git submodules. In order to set those up, after cloning the repository, issue these commands:

git submodule init

# And to update submodules:
git submodule update

Alternatively, you can also clone the repository with the --recursive switch, as so:

git clone --recursive <url>

Submodules will need to be compiled separately from vphysics if required (atleast until a script is setup)

Windows Setup

Linux Setup

Automatic Copying

On Windows, you can set the environmental variable "VPHYSICS_GAME_PATH" to the directory that contains hl2.exe and vphysics will automatically be copied over.

Pull Requests

Please make the code in your pull requests look neat, and have the commits be granular (handle one thing at a time). They will only be pulled if they're in the same coding style as the surrounding code (don't make your code stand out!)