| 
	
	
	
	 
   
		
            
             
				Help with SDK d/l ... Compiling brush(tutorial notes listed) - 
            
          
		
		
				
		
				02-21-2003, 05:32 PM
			
			
			
		  
		
	
                
            	
		
		
		I downloaded the sdk installation, to make maps , i went to the brush tutorial and got to learninga bout almost everything on how to start a map, well then i got to the compiling part and im stumped, i have no idea how to play my map, i want to figure all this out..... 
 
Section 4: Compiling and playing 
 
  
 
Compiling is a 3-step process. BSP, VIS, and LIGHT  
 
  
 
Q3map is a command line utility that is used to compile BSP and VIS the map. 
 
  
 
Open a command prompt and run q3map like this 
 
  
 
Q3map –gamedir <base directory of the game> <name of the map> 
 
On a machine with MOHAA installed to c:/mohaa and the map named tutorial.map placed in the c:/mohaa/map_source directory the command would look like this: 
 
  
 
Q3map –gamedir c:/mohaa c:/mohaa/map_source/tutorial 
  
 
This compiles the BSP for the map 
 
Compiling Vis is much the same way but with a –vis command attached like this: 
 
  
 
Q3map –vis –gamedir c:/mohaa c:/mohaa/map_source/tutorial 
  
 
Compiling Light is done with a separate program called mohlight; mohlight is run much the same, like this: 
 
  
 
Mohlight –gamedir c:/mohaa c:/mohaa/map_source/tutorial 
  
 
Now copy the resulting .bsp (in this case tutorial.bsp, should be in the same place as the .map file) to your mohaa/main/maps folder.  
 
  
 
Once the .bsp file is in the maps folder it is ready to run.  You’ll have to load MOH in developer mode so that you can use the special developer mode tools.  Load moh from the run menu or a command line like this. 
 
  
 
mohaa +set developer 1 +set thereisnomonkey 1 +set cheats 1 +set ui_console 1 
		
	
		
		
		
		
		
	
	 |