One of my batch files with parameters from sock (I think from the LDR).
The batch file is placed in the maps directory.
Just drag a map and drop it on the batch and the map will be compiled.
Adjust the path’s to match your system::
set QUAKE_PATH="c:/Programme/Wolfenstein - Enemy Territory/mapping"
set Q3MAP_PATH="c:/q3map_2.5.16_win32_x86/q3map2.exe"
And here are the options:
set LIGHT_VAR=-light -fast -samples 2
set VIS_VAR=-vis
set BSP_VAR=-meta
Whole batch file:
@echo off
rem edit to taste for each compile.
rem note: -v (verbose) is preset in general options, and is applied globally.
set LIGHT_VAR=-light -fast -samples 2
set VIS_VAR=-vis
set BSP_VAR=-meta
rem edit this if you change your mod. this is the name of your mod’s subdirectory.
rem q3f2 for q3f 2.0 (beta), wfa for Weapons Factory Arena, q3ut2 for Urban Terror…
set MOD_DIR=etmain
rem edit once. note the use of / slashes, and the lack of a trailing / at the end of the path.
rem c:/progra~1/quakei~1 = “c:/program files/quake iii arena�
set QUAKE_PATH="c:/Programme/Wolfenstein - Enemy Territory/mapping"
set Q3MAP_PATH="c:/q3map_2.5.16_win32_x86/q3map2.exe"
rem these are general options that will be applied to all 3 command lines. you don’t need to touch.
set GEN_OPTIONS=-fs_basepath %QUAKE_PATH% -fs_game %MOD_DIR% -v -game et
rem this is the “program�. don’t touch.
set MAP_PATH=%1
%Q3MAP_PATH% %BSP_VAR% %GEN_OPTIONS% %MAP_PATH%
%Q3MAP_PATH% %VIS_VAR% %GEN_OPTIONS% %MAP_PATH%
%Q3MAP_PATH% %LIGHT_VAR% %GEN_OPTIONS% %MAP_PATH%
pause
rem there are other options, but pause is here so you can examine the output. Press any key to continue . . .
Edit:
set QUAKE_PATH="c:/Programme/Wolfenstein - Enemy Territory/mapping"
is the path to your ET.EXE