/VRMod-Plus

An updated version of vrmod with various bugfixes, added features, and better mod support.

Primary LanguageLua

VR Mod+

This repository is a WIP fork of the original VRMod by Catse. It'll be updated later with documentation.
When this is more finished and polished I'll upload it to the workshop.

Some of the names and functions might change before release so be prepared if you decide to make an addon using it.

If you wish to support the VRMod community, I can't take donations, but you should consider donating to another dev who could use it.


Current Changes (Probably forgot some):

  • Settings

    • Added an option to disable haptic feedback.
    • Added an option and menu to change the floating hands model.
    • Added an option to specify which hand you prefer using.
    • Changing playermodels will automatically recalculate bone info (no more spaghetti people).
    • Floating Hands, Use Worldmodels, and Laser Pointer can be toggled without needing to restart VR.
  • Pickups

    • Objects can be picked up from a distance.
    • Picking up objects too quickly no longer causes them to be desynced on the client (this should also help after lag spikes).
    • Held objects no longer stop rendering if you outrun their physics object and their shadows follow the rendered position.
  • UI

    • Panels now render once per frame rather than 0.1 seconds after clicking them.
    • Menus are drawn using the same material, rather than a separate one for each.
    • Fixed clipping and translucency issues when rendering panels.
    • Added support for translations in the built-in menus.
  • Mod Support

    • Weapons can specify a "Draw Mode" that functions regardless of the "Use Worldmodels" setting. Options are Viewmodel, Worldmodel, and Custom.
    • Weapons can set which hand they use and the controls will adjust to match.
    • The model (+skin and bodygroups) for the floating hands can be chosen with the hook "VRMod_GetHandsModel".
    • Models can be added to the hands menu with vrmod.AddHandsOption().
    • Menus can specify a custom render function that gets called in place of the default.
    • Entities can be picked up and dropped manually with vrmod.DoPickup() and vrmod.DoDrop().
  • QoL

    • Removed the voice permissions prompt upon starting VR. You will still be prompted when activating voice from the chat menu.

To Do Before Workshop Release:

  • Pickups

    • Add hold finger poses. (Might remove this one)
    • Drop object if it's been too far from the hand for too long.
  • Other

    • Improve vehicle support.
    • Improve teleport logic.
    • Remake quick menu.
    • Set finger poses for static weapons.