Ports mod_overrides
, DB:create_entry
, DB:remove_entry
and DB:reload_override_mods
from PAYDAY 2 and RAID to PAYDAY: The Heist.
How does it work?
It works exactly the same as it does for PAYDAY 2: create a folder inside of the assets
folder called mod_overrides
.
Does this depend on any other mods?
No, it does not require any other mods to work.
Installation Guide
Download the zip folder, and unpack DINPUT8.dll
and PDTHModOverrides.dll
to your install folder.
For those playing on Linux: add WINEDLLOVERRIDES="DINPUT8=n,b" %command%
to your launch options.
To Uninstall: Delete DINPUT8.dll
and PDTHModOverrides.dll
.
Updating from the previous release
Those who are updating from the previous release (uses VERSION.dll
), delete VERSION.dll
and update as normal.
How can I port my PDMod mods to this?
Rename the .pdmod
file to .zip
and extract its contents into its own mod_overrides folder with the password 0$45'5))66S2ixF51a<6}L2UK
.
Or: use .pdmod Extractor
What files can I override with this?
All file types can be overriden.
.dds
and .bik
files will be interpreted as .texture
and .movie
respectively.
Can this add any new files to the game?
Yes! With version 2.0 DB:create_entry
has been backported and is available via Lua. This is not bound to any mod loader, anything that can execute Lua in-game can access these functions.
Backported Lua Functions
DB:create_entry(type, name, filepath)
filepath must be relative to the game's install folder, not your mod folder. type and name accept Idstrings and normal strings. Overwriting existing game files is supported. Example:DB:create_entry("unit", "units/myunit/myunit", "./mods/mymod/myunit.unit")
Custom packages can be added by just setting the type increate_entry
topackage
and providing it a valid package file.DB:remove_entry(type, name)
type and name accept Idstrings and normal strings. Removing a file critical to the game and not replacing it will crash the game. Example:DB:remove_entry("unit", "units/characters/bain/bain")
DB:reload_override_mods()
(will reload themod_overrides
folder)
Source Code
Source Code: https://github.com/HW12Dev/PDTHModOverrides