sebastianyyz wrote: ↑Tue Mar 24, 2020 6:34 pm
Cupter wrote: ↑Tue Mar 24, 2020 11:25 am
god does not work. It just makes me at 20 health and one hit death on my Ultra Violence playthrough. Any other god cheats?
If I'm not mistaken, god mode doesn't work on Ultra Nightmare Mode
Found the reason why:
The function is at
DOOMEternalx64vk.exe+1691030 in the Steam version. Bottom line: "pm_disableNighmareGodMode". Default is 0; think you should make it
1
Then.. if god is ON, then g_permaGodMode is not checked in the idPlayer::GetGodMode function. However, the CVar is checked in other places. So if you don't like typing 'god' in the console after every load/reload, then
g_permaGodMode 1.
Then.. the CALL that you see in the picture above is idGameLocal::GetGameMode, from what I could tell. The difficulty levels are graded starting with 0. Therefore, 0 = "I'M TOO YOUNG TO DIE", 1 = "HURT ME PLENTY", 2 = "ULTRA VIOLENCE", 3 = "NIGHTMARE". Then I'm assuming comes 4 and 5, these being "ULTRA NIGHTMARE" and "EXTRA LIFE MODE". And in the code we see this:
Code: Select all
DOOMEternalx64vk.exe+169104A - 48 8B 0D BF59AA04 - mov rcx,[DOOMEternalx64vk.exe+6136A10]
DOOMEternalx64vk.exe+1691051 - E8 2A654DFF - call DOOMEternalx64vk.exe+B67580
DOOMEternalx64vk.exe+1691056 - 83 F8 04 - cmp eax,04
DOOMEternalx64vk.exe+1691059 - 75 14 - jne DOOMEternalx64vk.exe+169106F // if not Ultra-Nightmare, then exit
DOOMEternalx64vk.exe+169105B - 48 8B 05 7E60B204 - mov rax,[DOOMEternalx64vk.exe+61B70E0] // else
DOOMEternalx64vk.exe+1691062 - 83 78 08 00 - cmp dword ptr [rax+08],00 // if pm_disableNighmareGodMode
DOOMEternalx64vk.exe+1691066 - 75 07 - jne DOOMEternalx64vk.exe+169106F // not 0, then exit
DOOMEternalx64vk.exe+1691068 - 32 C0 - xor al,al // else, good boy
DOOMEternalx64vk.exe+169106A - 48 83 C4 28 - add rsp,28
DOOMEternalx64vk.exe+169106E - C3 - ret
DOOMEternalx64vk.exe+169106F - B0 01 - mov al,1
DOOMEternalx64vk.exe+1691071 - 48 83 C4 28 - add rsp,28
DOOMEternalx64vk.exe+1691075 - C3 - ret
P.S.: Yeah, the developers forgot the "t" in there - "Nighmare"
I have a feeling this was on purpose, to confuse the mass of people who will use this and be like "when I type it, it says 'Unknown command'"
Because they'd put in the "t"
Funny stuff.
EDIT: Yeaps, here's the confirmation for what I said above, about 4: