problem with script
I encountered this error on the debug console:cannot open LUA\postrequire_attach.lua: No such file or directory when trying to run the game with DMC Weapon Overhaul and yes, I do have a hook with it.
My script folder is named WpnOverhaul with the following lua files in it:
YML folder looks like this:
My script folder is named WpnOverhaul with the following lua files in it:
postrequire_attach.lua, realnames.lua, rebalance.lua, rebalance_attach.lua, shotgat_physics.lua
Config:
OutputMode: 7
OutputFile: PD2Hook.log
PrintOffsets: true
ExtraCols: 10
ExtraRows: 10
#The line below is optional, If you don't know what it is for, comment it out or remove it.
# FirstRunScript: LUA\newtests.lua
# Format is - [KeyCode, ScriptFile]
KeyBindings:
# - [VK_F1, LUA\somescript.lua]
# - [VK_F2, LUA\somescript.lua]
# - [VK_F3, LUA\somescript.lua]
# - [VK_F4, LUA\somescript.lua]
# - [VK_F5, LUA\somescript.lua]
# - [VK_F6, LUA\somescript.lua]
# - [VK_F7, LUA\somescript.lua]
# - [VK_F8, LUA\somescript.lua]
# - [VK_F9, LUA\somescript.lua]
# This would give you a "run last script" key on F10
# - [VK_F10, "*"]
# This would give you a global toggle key on F11.
# - [VK_F11, ""]
# - [0x7B, LUA\somescript.lua]
# - [0xDC, LUA\somescript.lua]
# - [0x21, LUA\somescript.lua]
# - [0x22, LUA\somescript.lua]
# - [0x7A, LUA\somescript.lua]
#Persist scripts are optional, if you don't know what they are, remove/comment the entire section below.
PersistScripts:
- [RebalanceScript, LUA\rebalance.lua]
- [RebalanceAtchScript, LUA\rebalance_attach.lua]
- [Shotty, LUA\shotgat_physics.lua]
- [ReelNames, LUA\realnames.lua]
PostRequireScripts:
- ['lib/managers/weaponfactorymanager', LUA\postrequire_attach.lua]
OutputMode: 7
OutputFile: PD2Hook.log
PrintOffsets: true
ExtraCols: 10
ExtraRows: 10
#The line below is optional, If you don't know what it is for, comment it out or remove it.
# FirstRunScript: LUA\newtests.lua
# Format is - [KeyCode, ScriptFile]
KeyBindings:
# - [VK_F1, LUA\somescript.lua]
# - [VK_F2, LUA\somescript.lua]
# - [VK_F3, LUA\somescript.lua]
# - [VK_F4, LUA\somescript.lua]
# - [VK_F5, LUA\somescript.lua]
# - [VK_F6, LUA\somescript.lua]
# - [VK_F7, LUA\somescript.lua]
# - [VK_F8, LUA\somescript.lua]
# - [VK_F9, LUA\somescript.lua]
# This would give you a "run last script" key on F10
# - [VK_F10, "*"]
# This would give you a global toggle key on F11.
# - [VK_F11, ""]
# - [0x7B, LUA\somescript.lua]
# - [0xDC, LUA\somescript.lua]
# - [0x21, LUA\somescript.lua]
# - [0x22, LUA\somescript.lua]
# - [0x7A, LUA\somescript.lua]
#Persist scripts are optional, if you don't know what they are, remove/comment the entire section below.
PersistScripts:
- [RebalanceScript, LUA\rebalance.lua]
- [RebalanceAtchScript, LUA\rebalance_attach.lua]
- [Shotty, LUA\shotgat_physics.lua]
- [ReelNames, LUA\realnames.lua]
PostRequireScripts:
- ['lib/managers/weaponfactorymanager', LUA\postrequire_attach.lua]
