Giter VIP home page Giter VIP logo

l4d2vr's Introduction

L4D2 VR Prototype

Use this mod at your own risk of getting VAC banned. Use the -insecure launch option to help protect yourself. (Also contains lots of flashing lights)

Things that work

  • Singleplayer and multiplayer (see below)
  • 6DoF VR view
  • Motion controls for guns and melee weapons
  • Workshop content

Things that need fixing

  • Interactions and throwables require you to aim with your face
  • Roomscale needs work
  • CPU is underutilized

How to use

  1. Download L4D2VR.zip and extract the files to your Left 4 Dead 2 directory (steamapps\common\Left 4 Dead 2)

  2. Launch SteamVR, then launch Left 4 Dead 2 with these launch options:

    -insecure -window -novid +mat_motion_blur_percent_of_screen_max 0 +crosshair 0 -w 1280 -h 720 +mat_queue_mode 0 +mat_vsync 0 +mat_antialias 0 +mat_grain_scale_override 0

  3. At the menu, feel free to change these video settings.

  4. Load into a campaign.

  5. To recenter the camera height, press down on the left stick. To see the HUD, aim the controller up or down.

How to play multiplayer

  • The host must have the mod installed and the server must be set to local. Other players can play in VR too (if they also installed the mod).
  • To host a local server, click Play Campaign -> Play With Friends -> Create new campaign lobby -> Server Type: Local Server
  • You can make your game public if you want.
  • Versus works but it's barely been tested.

Troubleshooting

If the game isn't loading in VR:

If the game is stuttering, try:

  • Steam Settings -> Shader Pre-Caching -> Allow background processing of Vulkan shaders

If the game is crashing, try:

  • Lowering video settings
  • Disabling all add-ons then verifying integrity of game files
  • Re-installing the game

Build instructions

  1. git clone --recurse-submodules https://github.com/sd805/l4d2vr.git
  2. Open l4d2vr.sln
  3. Set to x86 Debug or Release
  4. Build -> Build Solution

Note: After building, it will attempt to copy the new d3d9.dll to your L4D2 directory.

Utilizes code from

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.