home *** CD-ROM | disk | FTP | other *** search
-
- void main()
- {
- // -------------------------------------------------------------------
- // Keyboard & mouse
- // -------------------------------------------------------------------
- bind "esc", "releaseall; cl_opengamemenu";
- bind "f1", "releaseall; cl_opengamemenu";
-
- bind "f2", "sv_set \"timescale\",\"0.3\"; echo \"Timescale set to 0.3\"";
- bind "ctrl+f2", "sv_set \"timescale\",\"1\"; echo \"Timescale set to 1\"";
- bind "f3", "cl_showobjphys 1; echo \"Showing object physics\"";
- bind "ctrl+f3", "cl_showobjphys 0; echo \"Hiding object physics\"";
- bind "f4", "xr_showbounding 1; echo \"Showing model boundings\"";
- bind "ctrl+f4", "xr_showbounding 0; echo \"Hiding object physics\"";
- bind "shift+f4", "cmd selfsummon";
- bind "f5", "sv_perfgraph 1; echo \"Server performance meters enabled\"";
- bind "shift+f5", "cl_perfgraph 1; echo \"Client performance meters enabled\"";
- bind "ctrl+shift+f5", "xr_showtiming 2; echo \"Model performance meters enabled\"";
- bind "ctrl+f5", "sv_perfgraph 0;cl_perfgraph 0;xr_showtiming 0; echo \"Performance meters disabled\"";
- bind "f6", "xr_flares 0; xr_dlight 1; xr_wallmarks 1; xr_fastlight 0; xr_lodoffset 4000; xr_surfoptions 3; echo \"Medium quality.\"";
- bind "shift+f6", "xr_flares 0; xr_dlight 0; xr_wallmarks 0; xr_fastlight 0; xr_lodoffset 4000; xr_surfoptions 3; echo \"Low quality.\"";
- bind "ctrl+f6", "xr_flares 0; xr_dlight 1; xr_wallmarks 1; xr_fastlight 0; xr_lodoffset 0; xr_surfoptions 0; echo \"High quality.\"";
- bind "f7", "cl_addvbskip -1; echo \"VB-Skip -1\"";
- bind "ctrl+f7", "cl_addvbskip 1; echo \"VB-Skip +1\"";
- bind "f8", "cl_addvbskip -10; echo \"VB-Skip -10\"";
- bind "ctrl+f8", "cl_addvbskip 10; echo \"VB-Skip +10\"";
- bind "f10", "rset(\"env\\\\vid_gamma=1.5\"); echo \"Gamma set to 1.5\"";
- bind "shift+f10", "rset(\"env\\\\vid_gamma=1.0\"); echo \"Gamma set to 1.0\"";
-
- bind "f11", "capturescreen";
- bind "f12", "capturescreen";
-
- bind "0", "cmd noclip";
- bindscan 12, "cmd physlog";
- bindscan 13, "cmd giveall";
- bind "k", "cmd kill";
- bind "n", "cyclecameramode 0, 1";
- bind "m", "cg_menu \"cheatmenu\"";
-
- bind "shift+8", "xr_drawmode 1";
- bind "shift+9", "xr_drawmode 0";
- bind "ctrl+8", "r_enable(R_FLG_WIRE)";
- bind "ctrl+9", "r_disable(R_FLG_WIRE)";
- }
-