Terrain Blending Problem


(Smilie) #1

Im trying the q3map2 terrain blending thing and I wrote the shader needed and the bsp

Ok the problem is when I go to run the .bat it says
‘-meta’ is not recognized as an internal or external command
‘-game’ is not recognized as an internal or external command
‘-game’ is not recognized as an internal or external command

Heres the .bat

@ECHO OFF


:PATHS
SET MAP_NAME=omaha
SET GAME_PATH="C:\Program Files\Wolfenstein - Enemy Territory2"
SET MAP_PATH="C:\Program Files\Wolfenstein - Enemy Territory2\etmain\maps"
SET Q3MAP2 PATH="C:\Program Files\Wolfenstein - Enemy Territory2\q3map\q3map2.exe


:BSP
SET BSP_VAR=-meta -leaktest -verboseentities
rem SET BSP_VAR=-meta
rem SET BSP_VAR=-meta -verboseentities
rem SET BSP_VAR=-meta -verboseentities -leaktest
rem SET BSP_VAR=-meta -verboseentities -debugportals
rem SET BSP_VAR=-meta -verboseentities -debugsurfaces
rem SET BSP_VAR=-meta -verboseentities -leaktest -notjunc


:VIS
rem SET VIS_VAR=-vis -saveprt
rem SET VIS_VAR=-vis
rem SET VIS_VAR=-vis -saveprt
rem SET VIS_VAR=-vis -saveprt -hint
rem SET VIS_VAR=-vis -saveprt -nopassage


:LIGHT
rem SET LIGHT_VAR=-light -fast
rem This one is used by SD on their maps: SET LIGHT_VAR=-light -fast -samples 2 -filter -bounce 8 -patchshadows -external -lightmapsoze 256 -approx 8
rem SET LIGHT_VAR=-light -fast -bouncegrid
rem SET LIGHT_VAR=-light -fast -nogrid -thresh 2
rem SET LIGHT_VAR=-light -fast -bouncegrid -border
rem SET LIGHT_VAR=-light -fast -bouncegrid -bounce 3
rem SET LIGHT_VAR=-light -fast -bouncegrid -debugsurfaces
rem SET LIGHT_VAR=-light -fast -bounce 3 -bouncegrid -border
rem SET LIGHT_VAR=-light -fast -bouncegrid -bounce 3 -super 2
rem SET LIGHT_VAR=-light -fast -bouncegrid -super 4 -sadeangle 35 -thresh .5
rem SET LIGHT_VAR=-light -fast -bounce 3 -bouncegrid -super 3 -patchshadows
rem SET LIGHT_VAR=-light -fast -bounce 99 -bouncegrid -patchshadows -shadeangle 35 -super 86 -thresh .45


:OPTIONS
SET GEN_OPTIONS=-game et -fs_basepath %GAME_PATH% -fs_game %MAP_PATH% -v


:ACTION
%Q3MAP2_PATH% %BSP_VAR% %GEN_OPTIONS% %MAP_NAME%
%Q3MAP2_PATH% %VIS_VAR% %GEN_OPTIONS% %MAP_NAME%
%Q3MAP2_PATH% %LIGHT_VAR% %GEN_OPTIONS% %MAP_NAME%
PAUSE

(Lanz) #2

Change “Q3MAP2 PATH” to “Q3MAP2_PATH” on line 8.


(Smilie) #3

Ok did that but now it says

The filename, directory name, or volume label syntex is incorrect.
The filename, directory name, or volume label syntex is incorrect.
The filename, directory name, or volume label syntex is incorrect.
Press any key to continue

I press a key and it closes


(Fracman) #4

You also have to add quotation marks at the end of your string :rolleyes:

SET Q3MAP2_PATH="C:\Program Files\Wolfenstein - Enemy Territory2\q3map\q3map2.exe"