Page 1 of 1

Taking Screenshots

Posted: Sat Oct 22, 2005 12:59 pm
by D'Artagnan
By default, f12 takes screenshots. The screenshots are saved in your quake 4\q4base\screenshots directory. Screenshots are saved as .tga's, to view them you will need a graphics program such as photoshop. To take jpg screenshots, use the 'screenshotJPEG' command.

Here is a clean screenshot script. It binds the f11 key to take screenshots without the gun model and hud.

bind F11 "set ui_showGun 0; set g_showHud 0; screenshot; set g_showHud 1; set ui_showGun 1"

About youre scrip that works N1, i have change only 1 thing its;
bind F11 "set ui_showGun 0; set g_showHud 0; screenshotJPEG; set g_showHud 1; set ui_showGun 1"

I have replace the "screenshot" by "screenshotJPEG"

I dont understand why this script works and weapon script don't !!!

Posted: Sat Oct 22, 2005 1:02 pm
by o'dium
bind f11 "screenshot 4000 3000 16" ;)

Posted: Sat Oct 22, 2005 11:08 pm
by D'Artagnan
o'dium wrote:bind f11 "screenshot 4000 3000 16" ;)
4000 3000 16
whats that for ???

Posted: Sat Oct 22, 2005 11:08 pm
by Survivor
I'm guessing resolution and colourdepth

Posted: Sun Oct 23, 2005 9:26 am
by o'dium
Negative. It take a pic at X Y resolution, and then also jitters the screenshot and blends it so that it creates fake AA only on the shot.

Posted: Sun Oct 23, 2005 10:55 am
by [TJD]Rico
A thing that annoys me about screenshots is that each time you start Q4 it re-sets the counter, so they start from shot00001 again, overwriting previous shots. I wrote a batch file to copy shots to separate date/time-based folders each time I run Q4. Here's a copy in case it's of interest to anyone else:

Code: Select all

@echo off

cd "G:\games\Quake 4"

quake4.exe +set com_allowconsole "1" +disconnect

cd q4base\screenshots

if not exist shot* goto nofiles

FOR /F "tokens=1-3 DELIMS=/ " %%F IN ('date /T') DO (set v_date=%%H-%%G-%%F)
FOR /F "tokens=1-2 DELIMS=:" %%F IN ('time /T') DO (set v_time=%%F%%G)

set dirname=screenshots_%v_date%_%v_time%

mkdir %dirname%
copy shot* %dirname%
del shot*

:nofiles
Just create a file in your Quake 4 directory called "q4.bat" and paste the above in. Edit: obviously, change the directory on line 3 for where you actually have your Q4 installed. =)

Posted: Sun Oct 23, 2005 11:41 pm
by Psyche911
Is there a decent free & quick .tga viewer?

Posted: Mon Oct 24, 2005 12:39 am
by xchaser

Posted: Mon Oct 24, 2005 1:05 am
by Psyche911
riddla wrote:Irfanview?
Perfect. Thanks riddla.