No Damage cheat code

Moderator: GZDoom Developers

Post Reply
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

No Damage cheat code

Post by Beed28 »

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.
User avatar
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

Post by NeuralStunner »

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.)
Beed28 wrote:kinda like using an infinite health Action Replay code on those games of old.
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. :lol:
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: No Damage cheat code

Post by Gez »

Code: Select all

alias infinitehealth "give megasphere; wait; infinitehealth"
infinitehealth
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

Re: No Damage cheat code

Post by Beed28 »

Gez wrote:

Code: Select all

alias infinitehealth "give megasphere; wait; infinitehealth"
infinitehealth
Only problem is that it doesn't keep between levels, not to mention Heretic, Hexen, and Strife have no easy alternatives.
User avatar
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

Post by wildweasel »

Except you can give yourself a Megasphere in any game that ZDoom supports, because the actor exists regardless of the game type.
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

Re: No Damage cheat code

Post by Beed28 »

(facepalm)

How could I forget.

Still, it's sorta hacky and it doesn't keep for each level.
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: No Damage cheat code

Post by Snarboo »

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.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: No Damage cheat code

Post by Gez »

It does what NS said:
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. :lol:
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.

Nothing prevents you, however, from using buddha first.
User avatar
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

Post by Major Cooke »

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.
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.

(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.)
HeXaGoN
Posts: 161
Joined: Sat Dec 04, 2010 3:07 pm
Location: Texas, United States

Re: No Damage cheat code

Post by HeXaGoN »

I see this working:

Code: Select all

alias nodamage "buddha; nodamageh"
alias nodamageh "give megasphere; wait; nodamageh"

alias nodamage2 "buddha2; nodamage2h"
alias nodamage2h "give megasphere; wait; nodamage2h"
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 :p)
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"
infinitehealth
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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: No Damage cheat code

Post by Graf Zahl »

Ok, all this discussion hasn't answered the important question yet: What need does this serve that the other cheats do not?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: No Damage cheat code

Post by Gez »

wtg62 wrote:You also need to restart the map to stop this one.
You can stop such looping cheats by redefining them:

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 \"\""
Then bind keys to setinfinitehealth and unsetinfinitehealth.
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?
Nothing, IMO.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: No Damage cheat code

Post by Graf Zahl »

OK, then...
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”