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):
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")
Efficiency of the zoom code
On these screenshots, you can notice how powerfull are the new drivers made by Ati for the Radeon: no more pixelized lines, nowhere!!!
You do not have the required permissions to view the files attached to this post.
Location: Programmer's Room, talking to Will Harvey
Postby DoomRater »
I used the old zooming trick for a while, then settled on building my own, using the mouse wheel (and polysyllabic alias commands.) EDIT: I failed to notice you used polysyllabic bindings, but that's an old trick too. Let's see if I can dig the required aliases out of my zdoom.ini... (keep in mind the zoom commands assume you normally keep mouse_sensitivity at 2.5!)
That's pretty cool, effectively.
Thanks for this trick.
But, as far as I have selected the click 3 to jump, I guess that I'll have problem of unwanted zooming if I use this code.
Location: Programmer's Room, talking to Will Harvey
Postby DoomRater »
Not really, since you can bind zoom1 to whatever key you like. I just happen to like it on mouse3 and my jump key elsewhere. (just as you can bind zoom9 to whatever key you want- that's why I made it change aliases and not keybindings!)
IIRC I first ported the Action Quake zooming config script, sounds and graphics to ZDoom back in 2000 (and I'm not even sure whether I was the first to create such a script). The script, plus a bunch of other more or less useful ones (including a "clean" screenshot script similiar to Jive's) I made back in 2000-2004 are still available here. Oh, and here's a shot of the zooming script & graphics in action: