Autoexec.cfg : some tricks & codes
Posted: Mon Jun 26, 2006 2:16
These codes must be copied in your autoexec.cfg file (you can assign a path for this file in you config.cfg, or not, if you put it in the same directory than GZDoom).
With the following code, you'll take screenshots with just the map itself (no crosshair, no hud, no sprite for the player):
With this one, you will be able to zoom in & out:
And with this one, I was able to assign 2 different actions to one control:
With the following code, you'll take screenshots with just the map itself (no crosshair, no hud, no sprite for the player):
Code: Select all
alias crosshair_off "crosshair 0"
alias crosshair_on "crosshair -2"
alias bestshots "set_bestshots; wait 1; screenblocks 12; crosshair_off; r_drawplayersprites 0; screenshot; wait 1; crosshair_on; r_drawplayersprites 1; screenblocks 11; wait 1"
alias set_bestshots "bind o bestshots"
bind o bestshots //// screenshot without informations using the key "o"
bind s screenshot //// Choose your key (here: "s")
Code: Select all
alias zoom_in "set_zoom_out; fov 80; wait 1; fov 71; wait 1; fov 62; wait 1; fov 54; wait 1; fov 46; wait 1; fov 39; wait 1; fov 32; wait 1; fov 26; wait 1; fov 20; wait 1; fov 15; wait 1; fov 10"
alias set_zoom_out "bind z zoom_out"
alias zoom_out "set_zoom_in; fov 15; wait 1; fov 20; wait 1; fov 26; wait 1; fov 32; wait 1; fov 39; wait 1; fov 46; wait 1; fov 54; wait 1; fov 62; wait 1; fov 71; wait 1; fov 80; wait 1; fov 90"
alias set_zoom_in "bind z zoom_in"
bind z zoom_in
Code: Select all
alias +usestraf "+use; +strafe"
alias -usestraf "-use; -strafe"
bind mouse2 +usestraf