@echo off echo. echo Steven, modify the batch script to fit your settings. The original map name is Meckrainig1, so change it. echo. set WADROOT=F:\HLDev\Goldsource\Hammer\Mecklenburg\Rain\wads echo ################################################### echo # Batch Compiler -MeckVR- # echo ################################################### echo ################################################### echo # MecklenburgV_rain by FUNJOB Batch Compiler V5 # echo ################################################### echo # This toolset is ment for HIGH quality builds # echo ################################################### echo. echo Written At: 6/8/2009 3:22 PM echo BC Version: 3.1.2.0 echo. echo Hey steven, don't give this script away, it's very crucial for compiling the mecklenburg series echo Also, don't give out any of the files like the lights.rad. That's also modded by me. "hlcsg.exe" -wadautodetect -cliptype Precise -chart -estimate -texdata 15000 -lightdata 15000 "Meckraing1" if ERRORLEVEL 1 goto failed "hlbsp.exe" -maxnodesize 8192.0 -chart -estimate -texdata 15000 -lightdata 15000 -wadinclude "Meckraing1" if ERRORLEVEL 1 goto failed "hlvis.exe" -full -chart -estimate -texdata 15000 -lightdata 15000 "Meckraing1" if ERRORLEVEL 1 goto failed "hlrad.exe" -sparse -chart -estimate -texdata 15000 -lightdata 15000 -chop 16 -extra "Meckraing1" if ERRORLEVEL 1 goto failed if ERRORLEVEL 1 goto failed if not exist "Meckraing1.wic" goto nodelwic del "Meckraing1.wic" echo Meckraing1.wic deleted. :nodelwic if not exist "Meckraing1.lin" goto nodellin del "Meckraing1.lin" echo Meckraing1.lin deleted. :nodellin if not exist "Meckraing1.p0" goto nodelp0 del "Meckraing1.p0" echo Meckraing1.p0 deleted. :nodelp0 if not exist "Meckraing1.p1" goto nodelp1 del "Meckraing1.p1" echo Meckraing1.p1 deleted. :nodelp1 if not exist "Meckraing1.p2" goto nodelp2 del "Meckraing1.p2" echo Meckraing1.p2 deleted. :nodelp2 if not exist "Meckraing1.p3" goto nodelp3 del "Meckraing1.p3" echo Meckraing1.p3 deleted. :nodelp3 if not exist "Meckraing1.prt" goto nodelprt del "Meckraing1.prt" echo Meckraing1.prt deleted. :nodelprt if not exist "Meckraing1.err" goto nodelerr del "Meckraing1.err" echo Meckraing1.err deleted. :nodelerr if not exist "Meckraing1.ent.bak" goto nodelentbac del "Meckraing1.ent.bak" echo Meckraing1.ent.bak deleted. :nodelentbac if not exist "Meckraing1.bsp" goto nocopybsp copy "Meckraing1.bsp" "C:\Steam\steamapps\_Funjob_\half-life\ts\maps" echo Meckraing1.bsp copied to C:\Steam\steamapps\_Funjob_\half-life\ts\maps. :nocopybsp if not exist "Meckraing1.res" goto nocopyres copy "Meckraing1.res" "C:\Steam\steamapps\_Funjob_\half-life\ts\maps" echo Meckraing1.res copied to C:\Steam\steamapps\_Funjob_\half-life\ts\maps. :nocopyres if not exist "Meckraing1.pts" goto nocopypts copy "Meckraing1.pts" "C:\Steam\steamapps\_Funjob_\half-life\ts\maps" echo Meckraing1.pts copied to C:\Steam\steamapps\_Funjob_\half-life\ts\maps. :nocopypts goto succeeded :failed echo. echo There was a problem compiling Mecklenburg, check your log file for errors. :succeeded echo. if exist "Meckraing1.log" "%windir%/NOTEPAD.EXE" "Meckraing1.log" echo Congrats, Mecklenburg Rain compiled with no fatal issues!