Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Max_map_brushes

Page: 1 of 1
 |GG|Carl
01-31-2004, 6:42 PM
#1
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)
 GothiX
01-31-2004, 6:47 PM
#2
Compile some of the area's into models.
 |GG|Carl
01-31-2004, 6:51 PM
#3
Allright... How to do that?

:confused:
 GothiX
01-31-2004, 7:00 PM
#4
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
 |GG|Carl
01-31-2004, 7:09 PM
#5
Shall I make the whole map into a misc_model?

I mean, how to do it with just parts of it?
 GothiX
01-31-2004, 7:12 PM
#6
You copy them to another map file. :)
 Nkenobi
01-31-2004, 7:31 PM
#7
What is the max brush limmit?

cause i'm amking a map, gna be HUGE!
but now that I know theres a brush limmit...
 |GG|Carl
01-31-2004, 7:32 PM
#8
*COUGH!* How to copy? *COUGH!*

Just select the brushes and press Ctrl+C?
 GothiX
01-31-2004, 7:34 PM
#9
Yep, copy'n'paste works in Radiant. :)

Nkenobi, it's somewhere near 32k.
 Nkenobi
02-01-2004, 3:57 AM
#10
I should have asked this before, but I just thought of it.

is there a way I can check how many brushes are in my map?
 GothiX
02-01-2004, 7:50 AM
#11
Press 'M'.
 |GG|Carl
02-01-2004, 8:24 AM
#12
I have 3693 brushes and the limit is 32768, Why do I get this error?
:mad:
 Torchy
02-01-2004, 12:27 PM
#13
hmm something is very ****ed up here. try brush cleanup. failing that try and merge brushes using csg merge (below region and misc menus)
 |GG|Carl
02-02-2004, 2:13 PM
#14
Sorry if I sound stupid, but what does brush cleanup do? It just seems to select some random brushes...
 Torchy
02-02-2004, 2:15 PM
#15
basically it fixes corrupted brushes. when its finished it will select the ones it fixes so you can see what was fixed
 |GG|Carl
02-02-2004, 2:57 PM
#16
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?
 |GG|Carl
02-02-2004, 5:44 PM
#17
Never mind, for some reason it works:D

I'm not sure what I did do, but, it works!
 vas_zag
02-13-2004, 11:55 AM
#18
Originally posted by GothiX


how do you actually get radients to compile in such away?
where do i type these instrustions in
i tryed adding a new bsp menu command but it didnt work
:(
 GothiX
02-13-2004, 12:25 PM
#19
You could use a DOS command prompt, or a GUI interface, like Q3map2Toolz. (http://www.planetquake.com/hro/webs/q3map2toolz.htm) (Be sure to check out its manual (http://www.planetquake.com/hro/q3map2toolz/q3map2toolz.htm) first.)
Page: 1 of 1