Warhammer: Vermintide 2

Warhammer: Vermintide 2

Not enough ratings
[BROKEN] Execute External Lua File
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
224.347 KB
2 Jun, 2018 @ 11:54am
27 Oct, 2019 @ 5:30am
11 Change Notes ( view )

Subscribe to download
[BROKEN] Execute External Lua File

In 1 collection by prop joe
Prop Joe's mods
26 items
Description
14.11.2021. update:
the latest patch that disabled file system operations from inside Vermintide broke this mod

Faster mod reloading method for modding convenience.

Binds a reload hotkey to a exec.lua file in your Vermintide 2 Steam folder.

Manually create a mods folder inside C:\Program Files (x86)\Steam\steamapps\common\Warhammer Vermintide 2, and exec.lua inside the mods folder.

You can use local mod = get_mod("Dofile") and mod:pcall and mod:hook.
Or use your own get_mod("mod_name") and overwrite its hooks.
Mod needs to have
allow_rehooking = true
in mod_data for rehooking!

Nest files inside exec.lua with:
local pl = require'pl.import_into'() loadstring(pl.utils.readfile("../mods/other.lua"))()

To dump a table onto the screen:
ddraw(table)