You are on page 1of 3

I had already created the file autoexec.

cfg for all my settings including the on


e for 100% quality jpegs:
jpeg_quality 100
The last line of autoexec.cfg is:
exec userconfig.cfg
My user config is basically a game photography config. Some of the instuction be
low are redundant to the instructions above but I tend to include documentation
in my configs.
----------------------------------------------- userconfig.cfg -----------------
------------------------------------------------
// 4est's Photo Config
// If you don't have an autoexec config, use notepad to create one and place it
in the "cfg" folder.
// C:\Program Files\Steam\SteamApps\name@email.com\half-life 2\hl2\cfg
// Be sure to place the following three commands in your autoexec.cfg
// and remove the first two "//" from each line.
//jpeg_quality 100 // 100% quality screenshots that you take
//sv_cheats 1 // Enables cheats - required by zoom script
//exec userconfig.cfg // Executes the userconfig.cfg file
// If you don't have one already, create a userconfig.cfg file in the "cfg" fold
er, same as above.
//-------- Put the following in your userconfig.cfg --------
// Following is a snapshot toggle which removes the HEV hud and the x-hairs.
// It's good for action shots where you would expect to see a weapon.
alias snapon "cl_drawhud 0; bind mouse3 snapoff"
alias snapoff "cl_drawhud 1; r_drawviewmodel 1; bind mouse3 snapon"
bind mouse3 snapon
// Below is a photography toggle which removes the HEV hud, x-hairs and weapon m
odel.
// It is designed for taking "photos" when no living enemy is around.
alias photo "cl_drawhud 0; r_drawviewmodel 0; bind kp_minus noto"
alias noto "cl_drawhud 1; r_drawviewmodel 1; bind kp_minus photo"
bind kp_minus photo

// This toggle is for Black and White jpegs


alias BWon "mat_hsv 1; bind mouse3 BWoff"
alias BWoff "mat_hsv 0; bind mouse3 BWpon"
bind kp_plus BWon
bind mouse4 jpeg // bind to take the jpegs

// The following is a modified version of "Korons TFC Zoom version 2".


// It is used for some zooming, composition and wide-angle shots.
// Unfortunately, game wide-angle is not the same as a real wide-angle lens.
// It seems HL2 requires "sv_cheats 1" in the autoexec.cfg for this to work.
alias inmore "zoom50"
alias outmore "zoom0"
alias inall "zoom1"
alias outall "zoom0"
alias resetz "alias inmore zoom50;alias outmore outall"
alias sio0 "fov 0;alias sio zoom0;resetz"
alias sio50 "fov 0;alias sio zoom50;resetz"
alias sio40 "fov 0;alias sio zoom40;resetz"
alias sio30 "fov 0;alias sio zoom30;resetz"
alias sio20 "fov 0;alias sio zoom20;resetz"
alias sio10 "fov 0;alias sio zoom10;resetz"
alias sio9 "fov 0;alias sio zoom9;resetz"
alias sio8 "fov 0;alias sio zoom8;resetz"
alias sio7 "fov 0;alias sio zoom7;resetz"
alias sio6 "fov 0;alias sio zoom6;resetz"
alias sio5 "fov 0;alias sio zoom5;resetz"
alias sio4 "fov 0;alias sio zoom4;resetz"
alias sio3 "fov 0;alias sio zoom3;resetz"
alias sio2 "fov 0;alias sio zoom2;resetz"
alias sio1 "fov 0;alias sio zoom1;resetz"
alias zoom0 "alias inmore zoom50;alias outmore outall;fov 0;alias sio sio0"
alias zoom50 "alias inmore zoom40;alias outmore zoom0;fov 130;alias sio sio50"
alias zoom40 "alias inmore zoom30;alias outmore zoom50;fov 120;alias sio sio40"
alias zoom30 "alias inmore zoom20;alias outmore zoom40;fov 110;alias sio sio30"
alias zoom20 "alias inmore zoom10;alias outmore zoom30;fov 100;alias sio sio20"
alias zoom10 "alias inmore zoom9;alias outmore zoom20;fov 90;alias sio sio10"
alias zoom9 "alias inmore zoom8;alias outmore zoom10;fov 80;alias sio sio9"
alias zoom8 "alias inmore zoom7;alias outmore zoom9;fov 70;alias sio sio8"
alias zoom7 "alias inmore zoom6;alias outmore zoom8;fov 60;alias sio sio7"
alias zoom6 "alias inmore zoom5;alias outmore zoom7;fov 50;alias sio sio6"
alias zoom5 "alias inmore zoom4;alias outmore zoom6;fov 40;alias sio sio5"
alias zoom4 "alias inmore zoom3;alias outmore zoom5;fov 30;alias sio sio4"
alias zoom3 "alias inmore zoom2;alias outmore zoom4;fov 20;alias sio sio3"
alias zoom2 "alias inmore zoom1;alias outmore zoom3;fov 10;alias sio sio2"
alias zoom1 "alias inmore inall;alias outmore zoom2;fov 5;alias sio sio1"

// Clicking n zooms all the way out, click again to go to last zoomed position.
// I never really use the buttons, just the mouse wheel.
bind n "sio"
bind m "inall"
bind , "inmore"
bind . "outmore"
bind / "outall"
// This alias toggles the mouse wheel to be used as either a weapon selector or
a zoom
alias zon "bind MWHEELUP inmore; bind MWHEELDOWN outmore; bind kp_enter zoff"
alias zoff "bind MWHEELUP invprev; bind MWHEELDOWN invnext; bind kp_enter zon"
bind "kp_enter" "zon"
// default field of view
bind "kp_ins" "fov 75"
--------------------------------------------------------------------------------
-------------

You might also like