Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
agwoodliffe88

GZDoom - Complete List Of Essential Console Commands

Recommended Posts

PART 1: THE ESSENTIAL CODE LIST

 

sv_cheats 1

= enable cheats (usually only necessary on "Nightmare" mode).

sv_infiniteammo 1

= all guns never run out of ammo (no need to keep using "idfa").

sv_infiniteinventory 1

= same as ammo cheat above but with pickup items.

give everything

= gives everything d'uh.

notarget

= monsters ignore you unless you attack them [NOTE: BEST TO ACTIVATE THIS AS SOON AS POSSIBLE - IF MONSTERS NOTICE YOU BEFORE CODE ACTIVATED, THEY WILL STILL ATTACK).

anubis

= monsters who have noticed you will tend to cower away from you rather than attack.

god2

= god mode that provides protection against literally everything, including things that would kill you even if ordinary god-mode ("iddqd") is active.

noclip2

= allows you to walk through walls like a ghost, but unlike the original "noclip" code, allows you to levitate/fly.

mdk

= auto-kills whatever you are aiming at when this code is activated. No monster is safe against this attack.

freeze

= literally freezes all NPC's/monsters whilst you are still free to move around.

kill monsters

= instantly kills all monsters present on the map.

 

 

PART 2: SEMI-USEFUL CODES

 

sv_nomonsters 1

= once you activate this code, if you refresh the map/start a new game, all monsters will disappear completely for the rest of the game. Useful if you want to explore.

monster

= tells you the names of all monsters that are present on the map + their exact location (in: x, y & z coordinates)

idmypos 1

= displays your exact location in coordinates at all times, wherever you go. Useful if you get lost.

warp *x y z*

= [Example: warp 1 1 1] Instantly teleports you to the exact coordinates you specified (in: x, y & z coordinates) -> useful for teleporting near enemies you missed.

invtarget

= fully identifies the name of the enemy that you are pointing at when activating this code -> useful for identifying names of unique monsters in mods/wads.

summonmbf *monstername*

= [Example (vanilla): summonmbf cyberdemon]  [Example 2 ("Ghoul's Forest" wad): summonmbf sjasface]  Summons any monster of your choosing as an ally. Your summoned ally will immediately attack any monsters who are hostile to you.

resurrect

= if you haven't used the "god" or "god2" cheats and have been killed, this code immediately revives you.

nextmap

= immediately skips to next map [NOTE: all codes will be reset to inactive - you'll have to reactivate them if you use this code to skip to next map].

 

 

PART 3: BINDING CONSOLE COMMANDS TO SPECIFIC KEYS TO SIMPLIFY ENTERING THEM FOR EACH GAME

 

bind *key* "*console command*"

 

Example: bind t "notarget"  [NOTE: the console command part MUST be contained within double-quotation marks].

-> now, whenever you press the 't' key, the "notarget" code will automatically be activated. If you press 't' key again, it will be deactivated. And so on.

 

 

PART 3.5: BINDING MULTIPLE CONSOLE COMMANDS TO THE SAME KEY (TO SAVE ROOM)

 

bind *key* "*console command 1*; *console command 2*; *console command 10000*"

 

Example: bind u "notarget; anubis; god2"  [NOTE: after each console command, you must type the ';' symbol followed by a single space before entering the next console command. Enter as many as you want]

-> now, in this example, as soon as you press 'u' key, the "notarget" and "anubis" and "god2" codes will all be activated at the same time. If you press 'u' key again, all will be deactivated. And so on.

Share this post


Link to post

Keep in mind the resurrect command will work only if the player has a body.

In case of death where the body disintegrates (like in ice death) the command will not work.

Share this post


Link to post
Posted (edited)
17 hours ago, LuciferSam86 said:

Keep in mind the resurrect command will work only if the player has a body.

In case of death where the body disintegrates (like in ice death) the command will not work.

Point of pedantry: If the player has their original body. The player must always have a body or the game has to stop, ice death and related death types that call A_SkullPop detach you from your normal body and put you in another one. Your original body may still be there, but as long as your player isn't referencing it you can't be resurrected.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×