If you have DOOM 2016 on Steam installed, head to %UserProfile%\Saved Games\id Software\DOOM\base. Once there, create an empty file called DOOMConfig.cfg (I think you can change the name of this file to whatever the fuck you want, considering DOOM needs the file name to load it ) and put this in:
Code: Select all
configVersion 7 //======================================== ai_death_FadeDelay 10000 g_infiniteAmmo 1
Reopen your .cfg file in Notepad++ or whatever and now change ai_death_FadeDelay to 30000 and g_infiniteAmmo to 0. Save file.
Download the table below:
Open CE, target DOOMx64.exe (sorry, I really can't be arsed to also do it for your Vulkan version), load the table and enable the "LoadDOOMCfg_Thread" script. Head back in-game and press Numpad Del one time. If all goes well and you don't crash.. in the console re-type g_infiniteAmmo [TAB] - value is now 0; ai_death_FadeDelay [TAB] - value is now 30000
So there you have it. You can now bulk set a shitload of commands/CVars with the run of a script.
Now to port it to Eternal. Will see if I really need to patch the exec flags like emoose does or the "Unrestrict Console Commands/CVars & Bind" is sufficient.