Warhammer: Vermintide 2

Warhammer: Vermintide 2

评价数不足
[BROKEN] Execute External Lua File
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
224.347 KB
2018 年 6 月 2 日 上午 11:54
2019 年 10 月 27 日 上午 5:30
11 项改动说明 ( 查看 )

订阅以下载
[BROKEN] Execute External Lua File

在 prop joe 的 1 个合集中
Prop Joe's mods
26 件物品
描述
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)