An open-source, community-run framework that provides enhanced Darktide modding support.
Find a file
FireSiku 7a08f1c32b Refactor API to use generic function for argument checking/handling
A lot of the code ended up being duplicated between the four api calls,
on top of that some type handling checks had to be made in both create_hook and get_orig_function.
This lead to a very messy state of things, so combine all of the handling into a single function,
then we can proceed with the rest of the code expecting one thing.

Having a single entry point made it very easy to add support for delaying hook cleanly.

Also add support for "Obj.Method" notation for backward-compatibility with old hooks.
I initially tried to use string.split provided by fatshark's code, but it creates a table, and requires a lot of supporting code that is all avoided by using a simple string.sub call.
2018-06-07 18:10:59 -04:00
assets Host vmf logo in repository (#12) 2018-06-07 10:40:51 -06:00
vmf Refactor API to use generic function for argument checking/handling 2018-06-07 18:10:59 -04:00
.gitignore Updated workshop info 2018-05-19 20:53:50 +03:00
.luacheckrc Updated .luacheck-file 2018-05-19 20:53:50 +03:00
.travis.yml Added Travis CI configuration file (#10) and updated Readme 2018-06-06 13:51:15 -06:00
CONTRIBUTING.MD Added Travis CI configuration file (#10) and updated Readme 2018-06-06 13:51:15 -06:00
LICENSE Added contributing and license files 2018-06-01 21:54:41 +03:00
README.MD Host vmf logo in repository (#12) 2018-06-07 10:40:51 -06:00

Vermintide Mod Framework

Build Status

Welcome to the Vermintide Mod Framework (VMF) Repository!

The Vermintide Mod Framework is an open-source, community-run framework of modules that provides enhanced modding capabilities and support. The framework is designed to be both independent and lightweight; making no changes to gameplay on its own.

Mods created for the project may utilize:

  • Mod options
  • Shared function hooks
  • Chat commands
  • Keybinds
  • Mutator support (for now available only in Vermintide 1)
  • Network calls
  • QHD+ UI re-scaling
  • Rewritten, lightweight mod functions
  • An on-event call system

The Vermintide Mod Framework originally started in Warhammer End Times: Vermintide as an unofficial modding platform. In the time since, VMF has been rewritten and redesigned with contributions from many unique members of the community; culminating in this unified project made for the arrival of official mod support.

For more information, check out the framework's wiki pages.

Building the Framework

Prerequisites:

Building Steps:

  1. Navigate to your VMB directory. Let's assume it's unpacked into a folder named vermintide-mod-builder.
  2. Create a folder inside vermintide-mod-builder (we'll call it vermintide-mod-framework) and clone in the VMF repository's contents.
  3. Open a console/Command Prompt/Powershell window inside your vermintide-mod-builder directory and use the following VMB command: vmb build vmf -f vermintide-mod-framework --ignore-errors -g [1|2], where the number after -g indicates the target Vermintide game.

You can find more VMB mod-building information in the Vermintide Mod Builder documentation.