Compile Problem


(Cairnzy) #1

hello i need help when i goto BSP and then BSP -meta it doesnt create my .bsp file all it does is create a .bak file and my .map file and then i try -vis and it ses .bsp not found please help me.


(Loffy) #2

Hi!
I use a batch-file, when I compile my maps.

The path to my compiler is:
C:\Program\Wolfenstein - Enemy Territory\q3map_2.5.16_win32_x86/q3map2

The path to my game (ie et.exe) is:
C:/Program/Wolfenstein - Enemy Territory

The path to my .map is this:
C:/Program/Wolfenstein - Enemy Territory/etmain/maps/mymap/maps/mymap.map

Then I create a batch-file: 1) Just start a simple wordprogram, like Wordpad. 2) Type the following on 3 lines:


"C:\Program\Wolfenstein - Enemy Territory\q3map_2.5.16_win32_x86/q3map2" -game et -fs_basepath "C:/Program/Wolfenstein - Enemy Territory/" -v -meta -patchmeta -custinfoparms "C:/Program/Wolfenstein - Enemy Territory/etmain/maps/dom_attack/maps/dom_attack.map"


"C:\Program\Wolfenstein - Enemy Territory\q3map_2.5.16_win32_x86/q3map2" -game et -fs_basepath "C:/Program/Wolfenstein - Enemy Territory/" -v -vis -saveprt "C:/Program/Wolfenstein - Enemy Territory/etmain/maps/dom_attack/maps/dom_attack.map"


"C:\Program\Wolfenstein - Enemy Territory\q3map_2.5.16_win32_x86/q3map2" -game et -fs_basepath "C:/Program/Wolfenstein - Enemy Territory/" -v -light -external "C:/Program/Wolfenstein - Enemy Territory/etmain/maps/dom_attack/maps/dom_attack.map"


  1. Save that word-file as “mycompile.txt”.
  2. Then rename it to “mycompile.bat”. That will turn it into a batch-file.

It should work now. Whenever you want to compile your map, you just have to save the .map file, and then double-click on the mycompile.bat file.

//Loffy


(Detoeni) #3

@Cairnzy: If your not getting a bsp then its likly that your map leaks, use search, this is well covered.
@loffy: ouch, your compile options are intresting, “-patchmeta” will add to compile time and reduce fps unless you are using very few curves. “-custinfoparms” why?(never seen it used befor)
And no “fast” in light is not good(unless you like waiting for your map to compile)
A good start point with compile options for ET:
BSP = -meta -mv 1024 -mi 6144
VIS = -saveprt
LIGHT = -fast -samples 2 -patchshadows -v -external -lightmapsize 256


(Cairnzy) #4

where is Search may i ask?


(Loffy) #5

The search button, ontop of this page.
@Detoeni, thx, I will try these settings for a while to check them out. custinfoparms are custom parms, like the “stop the ball” parms that Lanz’ made for his mod Domination (powerball). What is -mv 1024 -mi 6144?
//Loffy


(Detoeni) #6

custinfoparms: thanks
-mv 1024 -mi 6144: ET has a higher surface/vert count than rtcw and Q3, these keys set the new limit (theres a bit in the LDR on this i think)