Jump to content

Home

Max_map_brushes


|GG|Carl

Recommended Posts

I have to many brushes on my map, which gives me the MAX_MAP_BRUSHES error when I compile.

 

The big problem is that I'm absolutely not done with my map!

 

 

Is there some way to attch brushes to eachother or something like that? Or do you have another solution?

(Don't say "delete some brushes", I already know that)

Link to comment
Share on other sites

Originally posted by wedge2211

You can make a set of brushes in a map, and turn it into a misc_model, which you can then attach to movers, use the angle, angles, modelscale, and modelscale_vec keys on! Only the latest q3map2 will do this. rgoer explained the process to me...here goes:

 

Build the structure you want to make into a model in Radiant (in this case, trees). The origin of the map file will be the origin of the model. Build a caulk box around it to prevent leaks, and add an info_player_start. Next, BSP the map with the line <path to q3map2> bsp -v -meta -patchmeta <path to map>. Then, run the following line on the finished BSP file: <path to q3map2> bsp -convert <path to new BSP file>. Look in your maps directory, and you'll find the file mapname.ase. This file can be used as a misc_model in a map! Just enter the path to the .ase file in the model key in the misc_model entity.

 

To have the map model react properly to lightmaps, use the key/value spawnflags 4. To have q3map2 auto-clip the model (make it solid), use spawnflags 2. For both, use spawnflags 6.

 

To sum up:

 

- Make the model out of brushes, save it as modelname.map

- Compile modelname.map to modelname.bsp

- Convert modelname.bsp to modelname.ase

- Load the model in Radiant as a misc_model

Link to comment
Share on other sites

Allright, I've done brush cleanup and some csgmerge.

 

I now have 3589 brushes, but I still get this freaking error! What makes radiant think I have more than 32768 brushes?

 

 

 

 

 

 

EDIT: Here is something interesting info from the compile:

 

2678 total world brushes

218 detail brushes

323 patches

2571 boxbevels

1021 edgebevels

512 entities

7692 planes

18 areaportals

 

if I put all of those numbers together, I get about 14000, which still is under the limit!

 

 

I get the error when its starting to "--- AddEntitySurfaceModels ---", does that mean that this is where the problem is?

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...