Page 1 of 1

taking screenshots

Posted: Tue Dec 31, 2013 12:02
by Kappes Buur
gzdoom-G1.9pre-406-gad88cfc

It used to be that taking 10 screenshots by binding a key, such as
bind h "r_drawplayersprites 0; wait; screenshot; wait; r_drawplayersprites 1;"
and pressing H 10 times, would result in 10 screenshots without showing the weapon sprite.

Not so any more.
Now there will be about half of them still showing the weapon.

Re: taking screenshots

Posted: Thu Jan 02, 2014 17:33
by Kappes Buur
Inserting more waits
bind h "wait; r_drawplayersprites 0; wait; wait; screenshot; wait; wait; r_drawplayersprites 1;"
seems to work.

Re: taking screenshots

Posted: Thu Jan 02, 2014 21:17
by NeuralStunner
There's no need to use multiple waits, you can add a tic count instead:

Code: Select all

wait 2
I was a bit surprised when I found out that this wasn't original to Quake.

Re: taking screenshots

Posted: Fri Jan 03, 2014 2:45
by Kappes Buur
Good to know. Thx for the tip.
Makes it look somewhat neater.
bind h "wait 2; r_drawplayersprites 0; wait 2; screenshot; wait 2; r_drawplayersprites 1;"