Map Limits
What are the numbers for the max map limits (max_map_nodes, etc)?
Kamikazi!
05-09-2003, 04:02 PM
type -chart in the bsp parm line, and run a hollow box. It reports #'s in a ratio form. IE (787/632906)
alright thanks, it was actually the csg line though for anyone else who needs this
ok its not saying how many nodes we actually have in the map just the number of planes and texinfos
tommy14
05-09-2003, 06:30 PM
here is a list of old limits:
http://www.slackiller.com/tommy14/errors.htm#maxlim
but limits change - zoner's handled more texmem, Merle's handle more others, and now cagey's are increasing other limits. we are in a time of flux!
redfalcon
05-09-2003, 07:10 PM
ok, the chart is telling us the maximum, but not what we have. We need to know what we're at for max_map_nodes so that we know if we're a little over or a lot over.
Kamikazi!
05-09-2003, 08:09 PM
Originally posted by Majestic 12
alright thanks, it was actually the csg line though for anyone else who needs this
Actually its the bsp, csg only has some data while bsp gives more.
CSG -chart from a box map:
bject names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 0/400 0/25600 ( 0.0)
planes 134/32767 2680/655340 ( 0.4)
vertexes 0/65535 0/786420 ( 0.0)
nodes 0/32767 0/786408 ( 0.0)
texinfos 18/32767 720/1310680 ( 0.1)
faces 0/65535 0/1310700 ( 0.0)
clipnodes 0/32767 0/262136 ( 0.0)
leaves 0/8192 0/229376 ( 0.0)
marksurfaces 0/65535 0/131070 ( 0.0)
surfedges 0/512000 0/2048000 ( 0.0)
edges 0/256000 0/1024000 ( 0.0)
texdata [variable] 0/9216000 ( 0.0)
lightdata [variable] 0/4194304 ( 0.0)
visdata [variable] 0/2097152 ( 0.0)
entdata [variable] 0/524288 ( 0.0)
0 textures referenced
=== Total BSP file data space used: 3400 bytes ===
BSP -chart:
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 2/400 128/25600 ( 0.5)
planes 134/32767 2680/655340 ( 0.4)
vertexes 154/65535 1848/786420 ( 0.2)
nodes 27/32767 648/786408 ( 0.1)
texinfos 18/32767 720/1310680 ( 0.1)
faces 125/65535 2500/1310700 ( 0.2)
clipnodes 36/32767 288/262136 ( 0.1)
leaves 12/8192 336/229376 ( 0.1)
marksurfaces 125/65535 250/131070 ( 0.2)
surfedges 602/512000 2408/2048000 ( 0.1)
edges 302/256000 1208/1024000 ( 0.1)
texdata [variable] 180204/9216000 ( 2.0)
lightdata [variable] 0/4194304 ( 0.0)
visdata [variable] 0/2097152 ( 0.0)
entdata [variable] 1510/524288 ( 0.3)
5 textures referenced
=== Total BSP file data space used: 194728 bytes ===
0.03 seconds elapsed
Originally posted by Majestic 12
ok its not saying how many nodes we actually have in the map just the number of planes and texinfos
So if you want to know the limits actually used by your map, read the -chart from bsp line.
Gorbachev
05-31-2003, 09:10 PM
Sorry that this thread may be a little old...but my question does relate to it. I was wondering if there is anywhere that lists what each of the limits IS exactly. Because I have hit the maximum for "lightdata" specifically, but it doesn't give any error message and I haven't been able to find out what the lightdata actually consists of so I can lower it. (I'm at 100.5% of the limit). Any help is appreciated. -Gorbachev
Kamikazi!
05-31-2003, 09:12 PM
Try -sparse in your rad parms.
Gorbachev
05-31-2003, 10:36 PM
I was already using that....the problem comes after it's done compiling, HL just crashes with no special message or anything. I've tried removing lights, but that didn't work...in fact the lightdata is now at 101%...this is a really annoying issue and I would really like to know how to solve it.
Kamikazi!
05-31-2003, 11:22 PM
Post your compile log, ent stats etc, like how many light/light_spots/light_env you have.
Gorbachev
05-31-2003, 11:40 PM
Before hand I just want to say that yes, I know there are a lot of wads in use, but I also know that they are not the cause of any of my problems, I tested the entire thing with my other wad which has all of the used ones included but it didn't affect the outcome....but here's my log.
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: "C:\Program Files\ZHLT\Merl\hlcsg.exe"-wadinclude e_doors.wad -wadinclude gorbachev.wad -wadinclude dod_merderet.wad -wadinclude dod_vicenza.wad -wadinclude dod_heckeniveau.wad -chart -estimate -texdata 7168 "C:\Documents and Settings\Mikael\My Documents\Day of Defeat Projects\dod_innsbruck\dod_innsbruck10_1.map"
Entering C:\Documents and Settings\Mikael\My Documents\Day of Defeat Projects\dod_innsbruck\dod_innsbruck10_1.map
Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 7340032 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]
Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
[e_doors.wad]
[gorbachev.wad]
[dod_merderet.wad]
[dod_vicenza.wad]
[dod_heckeniveau.wad]
77 brushes (totalling 446 sides) discarded from clipping hulls
CreateBrush:
(6.07 seconds)
SetModelCenters:
(0.01 seconds)
CSGBrush:
(6.66 seconds)
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 0/400 0/25600 ( 0.0%)
planes 8800/32767 176000/655340 (26.9%)
vertexes 0/65535 0/786420 ( 0.0%)
nodes 0/32767 0/786408 ( 0.0%)
texinfos 1329/32767 53160/1310680 ( 4.1%)
faces 0/65535 0/1310700 ( 0.0%)
clipnodes 0/32767 0/262136 ( 0.0%)
leaves 0/8192 0/229376 ( 0.0%)
marksurfaces 0/65535 0/131070 ( 0.0%)
surfedges 0/512000 0/2048000 ( 0.0%)
edges 0/256000 0/1024000 ( 0.0%)
texdata [variable] 0/7340032 ( 0.0%)
lightdata [variable] 0/4194304 ( 0.0%)
visdata [variable] 0/2097152 ( 0.0%)
entdata [variable] 0/524288 ( 0.0%)
0 textures referenced
=== Total BSP file data space used: 229160 bytes ===
Including Wadfile: \documents and settings\mikael\my documents\day of defeat projects\wads 1.0\e_doors.wad
- Contains 1 used texture, 1.03 percent of map (31 textures in wad)
Including Wadfile: \documents and settings\mikael\my documents\triforce projects\textures\g_textures\gorbachev.wad
- Contains 1 used texture, 1.03 percent of map (43 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_anzio.wad
- Contains 10 used textures, 10.31 percent of map (133 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_avalanche.wad
- Contains 7 used textures, 7.22 percent of map (110 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_caen.wad
- Contains 3 used textures, 3.09 percent of map (100 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_charlie.wad
- Contains 1 used texture, 1.03 percent of map (50 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_donner.wad
- Contains 7 used textures, 7.22 percent of map (124 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_flash.wad
- Contains 3 used textures, 3.09 percent of map (71 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_forest.wad
- Contains 1 used texture, 1.03 percent of map (71 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_glider.wad
- Contains 8 used textures, 8.25 percent of map (362 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_jagd.wad
- Contains 8 used textures, 8.25 percent of map (111 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_kalt.wad
- Contains 16 used textures, 16.49 percent of map (85 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_kraftstoff.wad
- Contains 4 used textures, 4.12 percent of map (70 textures in wad)
Including Wadfile: \sierra\half-life\dod\dod_merderet.wad
- Contains 3 used textures, 3.09 percent of map (80 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_narby.wad
- Contains 3 used textures, 3.09 percent of map (76 textures in wad)
Including Wadfile: \sierra\half-life\dod\dod_vicenza.wad
- Contains 4 used textures, 4.12 percent of map (110 textures in wad)
Using Wadfile: \sierra\half-life\dod\dod_zalec.wad
- Contains 14 used textures, 14.43 percent of map (75 textures in wad)
Using Wadfile: \sierra\half-life\dod\hlbasics.wad
- Contains 3 used textures, 3.09 percent of map (21 textures in wad)
Warning: More than 8 wadfiles are in use. (18)
This may be harmless, and if no strange side effects are occurring, then
it can safely be ignored. However, if your map starts exhibiting strange
or obscure errors, consider this as suspect.
Texture usage is at 5.30 mb (of 7.00 mb MAX)
13.81 seconds elapsed
----- END hlcsg -----
hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlbsp -----
Command line: "C:\Program Files\ZHLT\Merl\hlbsp.exe"-chart -estimate -texdata 7168 "C:\Documents and Settings\Mikael\My Documents\Day of Defeat Projects\dod_innsbruck\dod_innsbruck10_1.map"
Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 7340032 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
nofill [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 4096)
BSP generation successful, writing portal file 'C:\Documents and Settings\Mikael\My Documents\Day of Defeat Projects\dod_innsbruck\dod_innsbruck10_1.prt'
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 115/400 7360/25600 (28.8%)
planes 8800/32767 176000/655340 (26.9%)
vertexes 10795/65535 129540/786420 (16.5%)
nodes 4006/32767 96144/786408 (12.2%)
texinfos 1329/32767 53160/1310680 ( 4.1%)
faces 8044/65535 160880/1310700 (12.3%)
clipnodes 11929/32767 95432/262136 (36.4%)
leaves 2317/8192 64876/229376 (28.3%)
marksurfaces 9785/65535 19570/131070 (14.9%)
surfedges 38509/512000 154036/2048000 ( 7.5%)
edges 19690/256000 78760/1024000 ( 7.7%)
texdata [variable] 572052/7340032 ( 7.8%)
lightdata [variable] 0/4194304 ( 0.0%)
visdata [variable] 0/2097152 ( 0.0%)
entdata [variable] 34258/524288 ( 6.5%)
97 textures referenced
=== Total BSP file data space used: 1642068 bytes ===
13.56 seconds elapsed
----- END hlbsp -----
hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: "C:\Program Files\ZHLT\Merl\hlvis.exe"-full -chart -estimate -texdata 7168 "C:\Documents and Settings\Mikael\My Documents\Day of Defeat Projects\dod_innsbruck\dod_innsbruck10_1.map"
1268 portalleafs
3373 numportals
-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 7340032 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]
fast vis [ off ] [ off ]
full vis [ on ] [ off ]
BasePortalVis:
(15.00 seconds)
LeafThread:
(43.48 seconds)
average leafs visible: 73
g_visdatasize:39878 compressed from 201612
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 115/400 7360/25600 (28.8%)
planes 8800/32767 176000/655340 (26.9%)
vertexes 10795/65535 129540/786420 (16.5%)
nodes 4006/32767 96144/786408 (12.2%)
texinfos 1329/32767 53160/1310680 ( 4.1%)
faces 8044/65535 160880/1310700 (12.3%)
clipnodes 11929/32767 95432/262136 (36.4%)
leaves 2317/8192 64876/229376 (28.3%)
marksurfaces 9785/65535 19570/131070 (14.9%)
surfedges 38509/512000 154036/2048000 ( 7.5%)
edges 19690/256000 78760/1024000 ( 7.7%)
texdata [variable] 572052/7340032 ( 7.8%)
lightdata [variable] 0/4194304 ( 0.0%)
visdata [variable] 39878/2097152 ( 1.9%)
entdata [variable] 34258/524288 ( 6.5%)
97 textures referenced
=== Total BSP file data space used: 1681946 bytes ===
58.74 seconds elapsed
----- END hlvis -----
hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlrad -----
Command line: "C:\Program Files\ZHLT\Merl\hlrad.exe"-sparse -nopaque -bounce 5 -chart -estimate -texdata 7168 "C:\Documents and Settings\Mikael\My Documents\Day of Defeat Projects\dod_innsbruck\dod_innsbruck10_1.map"
-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ on ] [ off ]
max texture memory [ 7340032 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
vismatrix algorithm [ Sparse ] [ Original ]
oversampling (-extra)[ off ] [ off ]
bounces [ 5 ] [ 1 ]
ambient light [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light [ 255.000 ] [ 256.000 ]
circus mode [ off ] [ off ]
smoothing threshold [ 50.000 ] [ 50.000 ]
direct threshold [ 25.000 ] [ 25.000 ]
direct light scale [ 2.000 ] [ 2.000 ]
coring threshold [ 1.000 ] [ 1.000 ]
patch interpolation [ on ] [ on ]
texscale [ on ] [ on ]
patch subdividing [ on ] [ on ]
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [ 32.000 ]
global fade [ 1.000 ] [ 1.000 ]
global falloff [ 2 ] [ 2 ]
global light scale [ 1.000 1.000 1.000 ] [ 1.000 1.000 1.000 ]
global gamma [ 0.500 0.500 0.500 ] [ 0.500 0.500 0.500 ]
global light scale [ 1.000 ] [ 1.000 ]
global sky diffusion [ 1.000 ] [ 1.000 ]
opaque entities [ off ] [ on ]
sky lighting fix [ on ] [ on ]
incremental [ off ] [ off ]
dump [ off ] [ off ]
colour jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
monochromatic jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
softlight hack [ 0.0 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 0.0 ]
diffuse hack [ on ] [ on ]
spotlight points [ on ] [ on ]
custom shadows with bounce light
[ off ] [ off ]
rgb transfers [ off ] [ off ]
[Reading texlights from 'C:\Program Files\ZHLT\Merl\lights.rad']
[50 texlights parsed from 'C:\Program Files\ZHLT\Merl\lights.rad']
8044 faces
Create Patches : 48544 base patches
0 opaque faces
432649 square feet [62301512.00 square inches]
32 direct lights
BuildFacelights:
(196.13 seconds)
BuildVisLeafs:
(540.17 seconds)
visibility matrix : 9.1 megs
MakeScales:
(502.25 seconds)
SwapTransfers:
(14.92 seconds)
Transfer Lists : 24313824 : 24.31M transfers
Indices : 11152028 : 10.64M bytes
Data : 97255296 : 92.75M bytes
GatherLight:
(6.41 seconds)
GatherLight:
(10.11 seconds)
GatherLight:
(12.14 seconds)
GatherLight:
(12.10 seconds)
GatherLight:
(12.07 seconds)
FinalLightFace:
(14.37 seconds)
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 115/400 7360/25600 (28.8%)
planes 8800/32767 176000/655340 (26.9%)
vertexes 10795/65535 129540/786420 (16.5%)
nodes 4006/32767 96144/786408 (12.2%)
texinfos 1329/32767 53160/1310680 ( 4.1%)
faces 8044/65535 160880/1310700 (12.3%)
clipnodes 11929/32767 95432/262136 (36.4%)
leaves 2317/8192 64876/229376 (28.3%)
marksurfaces 9785/65535 19570/131070 (14.9%)
surfedges 38509/512000 154036/2048000 ( 7.5%)
edges 19690/256000 78760/1024000 ( 7.7%)
texdata [variable] 572052/7340032 ( 7.8%)
lightdata [variable] 4218759/4194304 (100.6%)
visdata [variable] 39878/2097152 ( 1.9%)
entdata [variable] 34258/524288 ( 6.5%)
97 textures referenced
=== Total BSP file data space used: 5900705 bytes ===
1328.41 seconds elapsed [22m 8s]
----- END hlrad -----
tommy14
06-01-2003, 03:29 AM
perhaps this may apply from
Warning: Too many direct light styles on a face (http://www.slackiller.com/tommy14/errors.htm#blackhand): (Recent info from Cagey in the NS forums about how the RAD code works revealed that it looks at EVERY entity with a Style property and counts it in as a light style! This includes entities such as buttons that do not give off light!)
3. So also go thru your entitys with Smartedit off an remove Style stuff, or open up your .map of your level with an editor like notepad and remove the Style values from entitys like buttons that do not give off light really....
this has also been found to pad the lightdata. maybe it can help make you light data smaller.
Gorbachev
06-01-2003, 11:00 AM
as interesting as that is, I only had 2 lights (and entities) with a style property on them. Also I only have 2 different colours of lights and they are all direct copies of each other...so I don't know where there'd be an issue of too many different styles on one face...
Kamikazi!
06-01-2003, 03:17 PM
Try turning off the styles and compile.
Gorbachev
06-01-2003, 04:07 PM
I solved it, but styles wasn't the cause....it appears to have be caused by the sheer amount of skyblock I have (the map is really large) when I cut down certain areas that weren't visible anyway it seemed to be okay. But I'm certain the cause was not too many light styles, the only lights I had anyway were the same.
Day of Defeat Forum Archive created by
Neil Jedrzejewski.
This in an partial archive of the old Day of Defeat forums orignally hosted by
Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.