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 !!!
Taking Screenshots
-
- Posts: 468
- Joined: Sun May 14, 2000 7:00 am
Taking Screenshots
[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]
-
- Posts: 468
- Joined: Sun May 14, 2000 7:00 am
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:
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. =)
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