No Damage cheat code
Moderator: GZDoom Developers
No Damage cheat code
Something I'd like to see is a NODAMAGE and a corresponding NODAMAGE2 cheat code, named after the actor flag. It's basically a cross between God Mode and Buddha Mode in that your health and armour can't be reduced like in God Mode, but the player will still react to pain (screen flash, pain grunt) as if he didn't have God Mode on; kinda like using an infinite health Action Replay code on those games of old.
- NeuralStunner
-

- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: No Damage cheat code
Unsure how this is an improvement over Buddha mode. Health wouldn't change but that's the only real difference.
(Probably the best analogue is Wolfenstein 3D's initial god mode, which blocks damage but still shows pain flashes.)

(Probably the best analogue is Wolfenstein 3D's initial god mode, which blocks damage but still shows pain flashes.)
What I like are the ones that set your health to max every frame, so anything that does enough damage in a single frame can still kill you.Beed28 wrote:kinda like using an infinite health Action Replay code on those games of old.
Re: No Damage cheat code
Code: Select all
alias infinitehealth "give megasphere; wait; infinitehealth"
infinitehealth
Re: No Damage cheat code
Only problem is that it doesn't keep between levels, not to mention Heretic, Hexen, and Strife have no easy alternatives.Gez wrote:Code: Select all
alias infinitehealth "give megasphere; wait; infinitehealth" infinitehealth
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: No Damage cheat code
Except you can give yourself a Megasphere in any game that ZDoom supports, because the actor exists regardless of the game type.
Re: No Damage cheat code
(facepalm)
How could I forget.
Still, it's sorta hacky and it doesn't keep for each level.
How could I forget.
Still, it's sorta hacky and it doesn't keep for each level.
Re: No Damage cheat code
It also won't protect you from more than 200 points of damage in a single tic, at least if I'm reading this right.
Re: No Damage cheat code
It does what NS said:
Nothing prevents you, however, from using buddha first.
But if you go for the megasphere, you'll need to receive more than 200 damage in a single tic to die, since the blue armor absorbs 50% damage. You'll be instakilled if you get 400+ damage in a single tic.NeuralStunner wrote:What I like are the ones that set your health to max every frame, so anything that does enough damage in a single frame can still kill you.
Nothing prevents you, however, from using buddha first.
- Major Cooke
- Posts: 8215
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
- Contact:
Re: No Damage cheat code
Or whenever you enter the pain state, have the player actor immediately give a megasphere if you have a special token, and assuming you have buddha enabled.Beed28 wrote:Something I'd like to see is a NODAMAGE and a corresponding NODAMAGE2 cheat code, named after the actor flag. It's basically a cross between God Mode and Buddha Mode in that your health and armour can't be reduced like in God Mode, but the player will still react to pain (screen flash, pain grunt) as if he didn't have God Mode on; kinda like using an infinite health Action Replay code on those games of old.
(Also dont forget there's god2 cheat. Just note the only difference between it and god is that telefrag damage amounts won't kill you anymore. True invulnerability there.)
(Also also the buddha2 cheat, same thing with god2: absorbs telefrag damage.)
Re: No Damage cheat code
I see this working:
I'm also only saying what's below if you don't want to use buddha.
Buddha should be used in cases such as these, not to just test the player's pain state, but also how much damage stuff does.
One problem with this is, if you have sv_cheats set to 0, be prepared for console spam.
Plus, a map restart is necessary to stop this cheat, so it's hard to undo.
Fun fact! The most health you can give yourself (via "give health") at one point seems to be 32767.
So I'm gonna go ahead and take what Gez said and some what "enhance" it (or make it worse, however you view it. I find it to do both
)
So, if you want to go down the route of an infinite console command loop, maybe use this:
I've tried it, and letting it go off for a few ticks, I can't even kill myself with the kill command.
You also need to restart the map to stop this one.
Code: Select all
alias nodamage "buddha; nodamageh"
alias nodamageh "give megasphere; wait; nodamageh"
alias nodamage2 "buddha2; nodamage2h"
alias nodamage2h "give megasphere; wait; nodamage2h"
Buddha should be used in cases such as these, not to just test the player's pain state, but also how much damage stuff does.
One problem with this is, if you have sv_cheats set to 0, be prepared for console spam.
Plus, a map restart is necessary to stop this cheat, so it's hard to undo.
Fun fact! The most health you can give yourself (via "give health") at one point seems to be 32767.
So I'm gonna go ahead and take what Gez said and some what "enhance" it (or make it worse, however you view it. I find it to do both
So, if you want to go down the route of an infinite console command loop, maybe use this:
Code: Select all
alias infinitehealth "give health 32767; wait; infinitehealth"
infinitehealthYou also need to restart the map to stop this one.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: No Damage cheat code
Ok, all this discussion hasn't answered the important question yet: What need does this serve that the other cheats do not?
Re: No Damage cheat code
You can stop such looping cheats by redefining them:wtg62 wrote:You also need to restart the map to stop this one.
Code: Select all
alias infinitehealth ""So you can go as far as having commands that redefine them:
Code: Select all
alias setinfinitehealth "alias infinitehealth \"give health 32767; wait; infinitehealth\"; infinitehealth"
alias unsetinfinitehealth "alias infinitehealth \"\""Nothing, IMO.Graf Zahl wrote:Ok, all this discussion hasn't answered the important question yet: What need does this serve that the other cheats do not?
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: No Damage cheat code
OK, then...

