[Doom] God Mode cheat doesn't respect Values def
An element of the god mode cheat (IDDQD or 'god') still appears to set some internal element of the players health to 100, irrespective of what the values def god mode health is set to. Though the cheat still appears to set the players actual health to the amount specified in the god mode health values def field.
I have noticed because I co-incidentally wrote an XG def that activates when the players health is 100 (the player defaults to a health value lower than 100 in my mod) or higher and enabled god mode for testing other things.
Also, on a related note, the 'give h' console command set's the players health to 100, completely ignoring the values def values. It should probably instead set the players health to either the max health or health limit specified in the values defs.
#4 Updated by vermil about 9 years ago
Further testing reveals that this issue isn't that god mode set's the player's health to 100 internally.
Rather than some internal element of the god mode cheat still appears to be reading from the 'max health' field in values, rather than the 'god mode health' field also in values.
Hence this issue is now that the 'god mode health' field appears to have not been fully implemented?
My additional comment regarding the 'give h' console command above has either been fixed since I reported, or was an erroneous comment on my part; the give h console command seems to currently, correctly set the players health to the 'max health'.