All pastes #621739 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-16 11:29 UTC
rendered paste body
@echo on
@rem good bouncescale parameters are around 2.6666666667

setlocal

@rem set parameters
set BASEDIR=%1
set MOD=%2
set MAPNAME=%3


set MAPDIR=maps

set MAPQUAKE=e:/backup/games/quake3
set CLEANQUAKE=c:/home/megaman/games/quake3_play
set Q3MAP=%MAPQUAKE%/editing/Q3Map2/q3map_2.5.16_win32_x86/q3map2.exe
set PACKER=E:/backup/Games/quake3/mapacker/mapacker.exe

set BASEPATH=%MAPQUAKE%/%BASEDIR%
set MAPPATH=%BASEPATH%/%MAPDIR%/%MAPNAME% 
 

@rem Q3map2 settings
@rem these are general options that will be applied to all 3 command lines. you don’t need to touch.
set q3mapOptions=-fs_basepath %MAPQUAKE% -fs_game %BASEDIR%
@rem stage options
set bspOptions=-meta -verboseentities -samplesize 8
set visOptions=-saveprt
set lightOptions=-fast -samples 3 -bounce 9999 -scale 1.8125 -bouncescale 1.8125 -gamma 2 -compensate 4 -patchshadows -v  -skyfix -dirty

%Q3MAP% %q3mapOptions% %bspOptions% %MAPPATH%
%Q3MAP% %q3mapOptions% -vis %visOptions% %MAPPATH%
%Q3MAP% %q3mapOptions% -light %lightOptions% %MAPPATH%



%PACKER% -exclude pak?.pk3 -exclude common-spog.pk3 -exclude common-qer.pk3 -exclude textures/radiant/* -exclude textures/base_* -exclude textures/gothic_* -basepath %MAPQUAKE%/%BASEDIR% -out %CLEANQUAKE%/%BASEDIR%/%MAPNAME%.pk3 -overwrite maps/%MAPNAME%.map

start %CLEANQUAKE%/quake3.exe +set fs_basepath %CLEANQUAKE% +set fs_game %MOD% +set com_hunkMegs 16 +set dedicated 1 +exec server.cfg +map %MAPNAME%

start %CLEANQUAKE%/quake3.exe +set fs_basepath %CLEANQUAKE% +set fs_game %MOD% +connect localhost:27960

pause 
rem there are other options, but pause is here so you can examine the output. Press any key to continue . . .

endlocal