Taking Screenshots

Locked
D'Artagnan
Posts: 468
Joined: Sun May 14, 2000 7:00 am

Taking Screenshots

Post 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 !!!
[url=http://powerquebec.forumpro.fr/][color=red][b]Fast and furious_[/b][/color]That's what it's all about...[/url][img]http://pages.infinit.net/oldman/rank14.gif[/img]
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Post by o'dium »

bind f11 "screenshot 4000 3000 16" ;)
D'Artagnan
Posts: 468
Joined: Sun May 14, 2000 7:00 am

Post by D'Artagnan »

o'dium wrote:bind f11 "screenshot 4000 3000 16" ;)
4000 3000 16
whats that for ???
[url=http://powerquebec.forumpro.fr/][color=red][b]Fast and furious_[/b][/color]That's what it's all about...[/url][img]http://pages.infinit.net/oldman/rank14.gif[/img]
User avatar
Survivor
Posts: 4202
Joined: Fri Dec 27, 2002 8:00 am

Post by Survivor »

I'm guessing resolution and colourdepth
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Post 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.
[TJD]Rico
Posts: 109
Joined: Tue Oct 18, 2005 8:19 pm

Post 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. =)
Psyche911
Posts: 1742
Joined: Wed Jan 02, 2002 8:00 am

Post by Psyche911 »

Is there a decent free & quick .tga viewer?
xchaser
Posts: 280
Joined: Sat Dec 04, 1999 8:00 am

Post by xchaser »

|-----|
Psyche911
Posts: 1742
Joined: Wed Jan 02, 2002 8:00 am

Post by Psyche911 »

riddla wrote:Irfanview?
Perfect. Thanks riddla.
Locked