This article's documentation is for anything that uses the Source engine. Click here for more information.

noclip

From Valve Developer Community
Jump to navigation Jump to search

noclip is a console command available in all Source Source games. noclip, also known as fly and ghost, is a cheat that disables the effect of gravity and makes the player nonsolid (although still vulnerable to death). This allows the player to glide freely through the world.

Warning.pngWarning:Noclipping absurdly far outside the map causes a crash. This may also occur if sv_noclipspeed is set too high.
Note.pngNote:Floating point inaccuracies on all model vertices will be exaggerated as the player travels farther from the map's origin.
Note.pngNote:In Counter-Strike seriesCounter-Strike series Counter-Strike series and Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series being in noclip mode makes you unkillable, similar to godmode.
Third-party notes Black MesaThe Stanley Parable
Icon-Bug.pngBug:Use doesn't if noclip is enabled in Black Mesa Black Mesa. (not in Black Mesa (mod)).
Warning.pngWarning:In The Stanley Parable The Stanley Parable noclipping can easily crash the game.

Server variables

  • hap_noclip_avatar_scale - [Todo] ?
  • sv_noclipspeed - The maximum speed the player can move during noclip. Default 5.
  • sv_noclipaccelerate - The speed at which the player accelerates to sv_noclipspeed. Default 5.
  • sv_specnoclip - If spectating players are allowed to noclip around to anywhere in a map.
  • sv_noclipduringpause - If set, player can noclip while the game is paused. Bugged in some games.