From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search

Quake II's cheats are enabled and disabled via the developer console, a prompt accessed by pressing the tilde ( ~ ) key. The console grants access to hundreds of commands besides and including cheats that can simply be typed into the window. For example, typing in "+attack" without quotes causes the player character to shoot endlessly while "-attack" stops it. Typing in "god" toggles invulnerability. Console commands are case insensitive; "kill" is the same as "Kill" or "kIlL." Finally, console commands may be strung together with semicolons to make a longer statement. For example, "notarget; god; noclip" executes all three of those commands and has the same effect as typing each command one by one followed by enter.

Cheat Description
dmflags bit field Dmflags is a number that indicates which options are turned on or off in the current game. For example, dmflags can indicate that infinite ammo (8192) is turned on or no falling damage (8) or both (8200).
give item The "give" cheat immediately gives players the item specified. The admissible inputs to "give" can be found in the item commands appendix.
god Toggles invulnerability. While invulnerable, the player character's health will not go down except in edge cases such as being telefragged.
kill Instantly kills the player.
noclip This cheat allows the player character to walk and fly through walls, even outside of the map. Note that it is possible to trap the player if noclip is disabled while inside a wall or outside of the map. Noclip would need to be used again to free the player.
notarget Toggles notarget status. While notarget is turned on, enemies will completely ignore the player character. Notarget has two caveats. First, enemies that have already seen the player will continue to see them while unaware enemies will remain unaware. For example, the player cannot use notarget to make an enemy forget them. Second, if an enemy is shot at while notarget is turned on, they will see the player as if notarget is turned off.
map map name The map cheat changes the current level to map name. Any valid map may be entered, even if it is a multiplayer only map. For a list of valid maps, see here.
skill 0-3 Changes the difficulty of the current game. Valid values range from 0-3. The skill cheat is only applied once the map is changed either via a cheat or exiting the level.
sv_gravity number Sets gravity to number. The default gravity is 800.

Maps[edit]

Level name BSP name
Unit 1: Base
Outer Base base1
Installation base2
Comm Center base3
Lost Station train
Unit 2: Bunker
Ammo Depot bunk1
Supply Station ware1
Warehouse ware2
Unit 3: Jail
Main Gate jail1
Detention Center jail2
Security Complex jail3
Torture Chambers jail4
Guard House jail5
Grid Control security
Unit 4: Mines
Mine Entrance mintro
Upper Mines mine1
Borehole mine2
Drilling Area mine3
Lower Mines mine4
Unit 5: Factory
Receiving Center fact1
Sudden Death fact3
Processing Plant fact2
Level name BSP name
Unit 6: Power Plant
Power Plant power1
The Reactor power2
Cooling Facility cool1
Toxic Waste Dump waste1
Pumping Station 1 waste2
Pumping Station 2 waste3
Unit 7: Big Gun
Big Gun biggun
Unit 8: Hanger
Outer Hangar hangar1
Comm Satellite space
Research Lab lab
Inner Hangar hangar2
Launch Command command
Outlands strike
Unit 9: Palace
Outer Courts city1
Lower Palace city2
Upper Palace city3
Unit 10: Final Showdown
Inner Chamber boss1
Final Showdown boss2
Level name BSP name
Multiplayer maps
The Edge Q2DM1
Tokay's Towers Q2DM2
The Frag Pipe Q2DM3
Lost Hallways Q2DM4
The Pits Q2DM5
Lava Tomb Q2DM6
The Slimy Place Q2DM7
Warehouse Q2DM8

Commands[edit]

Give Commands Description
give all Gives the player everything which includes weapons, items, key items, ammo, et cetera.
give health number (optional) Sets the player health to 100 or gives the number specified.
give weapons Gives all weapons sans ammo.
give armor Gives 200 armor.
give body armor Gives the body armor item.
give jacket armor Gives the jacket armor item.
give blaster Gives the blaster weapon.
give shotgun Gives the shotgun weapon.
give super shotgun Gives the super shotgun weapon.
give machinegun Gives the machinegun weapon.
give chaingun Gives the chaingun weapon.
give grenade launcher Gives the grenade launcher weapon.
give rocket launcher Gives the rocket launcher weapon.
give railgun Gives the railgun weapon.
give bfg10k Gives the BFG10K weapon.
give shells number (optional) Gives 10 shells or amount specified.
give bullets number (optional) Gives 50 bullets or amount specified.
give cells number (optional) Gives 50 cells or amount specified.
give grenades number (optional) Gives 5 grenades or amount specified.
give rockets number (optional) Gives 5 rockets or amount specified.
give slugs number (optional) Gives 5 slugs or amount specified.
Give Commands Description
give quad damage Gives the quad damage item.
give invulnerability Gives the invulnerability item.
give silencer Gives the silencer item.
give rebreather Gives the rebreather item.
give environment suit Gives the environment suit.
give ancient head Gives one ancient head powerup.
give adrenaline Gives one adrenaline powerup.
give bandolier Gives a bandolier powerup.
give ammo pack Gives one ammo pack.
give data cd Gives the Data CD key item.
give power cube Gives the Power Cube key item.
give pyramid key Gives the Pyramid Key key item.
give data spinner Gives the Data Spinner key item.
give commander's head Gives the Commander's Head key item.
give red key Gives the Red Key key item.
give security pass Gives the Security Pass key item.

DMflags[edit]

Dmflags (Deathmatch Flags) are typically reserved for servers. Server hosts can set dmflags on their server to allow for infinite ammo, or to prevent the map from changing, or ensuring items "stay" when picked up by other players. The single player game has certain dmflags set by default but players are not allowed to change them except via cheating. Many of these flags lack immediate use in single player games, but they are provided for completion.

Flag Description
1 No health items spawn.
2 Powerups do not spawn.
4 Weapons stay when picked up. In other words, two players can pick up the same spawned weapon rather than the weapon disappearing when the first person touches it.
8 Falling damage is disabled.
16 Powerups are used immediately on pickup. Normally, they are stored in your inventory to use later.
32 The map does not change after the game ends or the level is exited.
64 Players are set into teams by skin.
128 Players are set into teams by model.
256 Disables friendly fire.
512 Players spawn at the furthest spawn points from other players when possible.
1024 Force respawn. In multiplayer games, this disables the ability for players to respawn when they wish. Players instantly respawn on death.
2048 Armor does not spawn.
4096 No exit. Maps cannot be exited; players are killed if they try.
8192 Infinite ammo.
16384 Quad damage drops on death. Usually, the powerup disappears if a player dies with it enabled.
32768 Fixed F.O.V.