Gez
Why don't I have a custom title by now?!
Posts: 9285
Registered: 07-07 |
Taken from the old and defunct Skulltag Expansion Pack (a set of aliases that provided shortcuts for a number of tasks), I have kept this:
code: alias cleansrn "savescrn;hidescrn;wait;screenshot;wait;resetsrn"
alias hidescrn "r_drawplayersprites 0;screenblocks 12;crosshair 0;show_messages 0"
alias savescrn "set ep_screenblocks $screenblocks; set ep_crosshair $crosshair; set ep_show_messages $show_messages"
alias resetsrn "r_drawplayersprites 1;crosshair $ep_crosshair;screenblocks $ep_screenblocks;show_messages $ep_show_messages"
Put this in your ZDoom autoexec.cfg. Then bind a key to cleansrn.
What happens is this: savescrn makes a copy of the values you are using for screenblocks, crosshair, and messages. hidescrn disable player sprites, makes the screen full-size, and hides messages and crosshair. resetsrn shows the player sprites and restores the messages, crosshair and screenblocks values saved by savescrn.
cleansrn takes a clean screenshot by calling savescvrn, then hidescrn, waits one tic to make sure messages disappear, takes a screenshot, waits another tic to make sure the screenshot is finished, and calls resetsrn to restore everything to normal.
|