god - 无敌模式 (server side only)
give - 获取武器 (see the list below)
buddha - 减少自己生命
hurtme # - 损伤其他玩家 (# 数量)
impulse 101- 所有武器
impulse 82 - 获得一辆jeep
notarget - 玩家变为隐藏的NPCs
noclip - 穿墙 (server side only)
maps - 显示地图列表
map - 载入指定地图 (看以下图片)
developer # - 开启开发者模式 on/off/verbose (0-关闭, 1-开启, 2-verbose)
+mlook - 允许鼠标观看
hud_quickhelp/text? 1 - 显示指针
viewmodel_fov # - Sets the size of the weapon youre carrying (54 is default)
Exec - Execute a script file
cl_drawhud 1 - Turns hud display on
cl_enablehud 1 - Turns hud display on
cl_showfps 1 - Shows frames per second in game
npc_create - Creates an NPC (works in worlds that have an NPC entity)
npc_create_aimed - Creates an NPC aiming away from the player.
picker - Toggles picker mode.
setpos - Move player to specified origin (must have sv_cheats 1 enabled).
setang - Snap player eyes to specified pitch yaw (musthave sv_cheats).
sv_gravity # - Set gravity to #
sv_stopspeed # - Set minimum stopping speed when on ground to #
sv_friction # - Sets world friction to #
sv_bounce # - Sets bounce multiplier for physically simulated objects collision
sv_maxvelocity # - Sets the maximum velocity of any moving object to #
sv_waterdist # - Sets vertical view fixup when eyes are near water plane to #
air_density # - Changes the density of air to #
dsp_explosion_effect_duration # - Sets length of confusion/ear-ringing effect to #
prop_debug - Toggle bounding-boxes debug mode on/off (red - ignore damage, white - respond to damage, green -
health)
sv_soundemitter_filecheck - Toggle reporting missing .wav files for sounds
mat_numtextureunits # - Limits the number of texture units to # (0 - let the game decide how many texture units
to use)
mat_yuv 0 - ?
More Cheats
Command-line parameters
Heres the list of other command-line parameters. Note that you can use any of the codes listed above as
command-line parameter... just put " -" in front of it: