Support (Read Only) > Help

Mapping Help

(1/1)

Yellow Killer:
I'm making a large sandbox map called gm_internationalairport and along the way, I am currently experiencing a problem that is not allowing me to continue to finish the map. The error that is avoiding me to continue to finish my map is called: "Bad leaf ambient for leaf #". With the error I have, this is the result of my map:
Spoiler (click to show/hide)Other Details you need to be aware of:Spoiler (click to show/hide)
If I remove these two highlighted brushes, the map compiles properly. I don't want that. I want to compile the map with those two brushes and more brushes without any compiling errors. I tried also compiling with func_detail with them but it still gives me the error.
Full compile log(The errors that I have are highlighted in red)Spoiler (click to show/hide)** Executing...
** Command: "c:\program files (x86)\steam\steamapps\yellowkiller333\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\common\counter-strike source\cstrike" "C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.vmf"

Valve Software - vbsp.exe (Oct 31 2012)
4 threads
materialPath: c:\program files (x86)\steam\steamapps\common\counter-strike source\cstrike\materials
Loading C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.vmf
Can't find surfaceprop asphalt for material FISH/GTAIVTEX/DC_ROADSMOOTH02, using default
Can't find surfaceprop asphalt for material FISH/GTAIVTEX/DC_ROADSMOOTH06, using default
Can't find surfaceprop cloth for material WALLPAPER/TANPANEL01, using default
Can't find surfaceprop sheetrock for material WALLPAPER/BLUE08, using default
Can't find surfaceprop asphalt for material FISH/GTAIVTEX/DC_ROADSMOOTH02B, using default
Can't find surfaceprop asphalt for material FISH/GTAIVTEX/NJ01_FREEWAYBASE, using default
Could not locate gameinfo.txt for Instance Remapping at gameinfo.txt
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 1208 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
writing C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.prt...Building visibility clusters...
done (0)
Can't load skybox file skybox/painted to build the default cubemap!
Can't load skybox file skybox/painted to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (1) (1519329 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Water found with no water_lod_control entity, creating a default one.
Compacting texture/material tables...
Reduced 5232 texinfos to 3797
Reduced 151 texdatas to 141 (3962 bytes to 3427)
Writing C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.bsp
7 seconds elapsed

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\yellowkiller333\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\common\counter-strike source\cstrike" -fast "C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport"

Valve Software - vvis.exe (Oct 31 2012)
fastvis = true
4 threads
reading c:\program files (x86)\steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.bsp
reading c:\program files (x86)\steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.prt
2499 portalclusters
6849 numportals
BasePortalVis:       0...1...2...3...4...5...6...7...8...9...10 (3)
Optimized: 259472 visible clusters (4.95%)
Total clusters visible: 5243895
Average clusters visible: 2098
Building PAS...
Average clusters audible: 2498
visdatasize:1537739  compressed from 1599360
writing c:\program files (x86)\steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.bsp
4 seconds elapsed

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\yellowkiller333\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters:  -game "c:\program files (x86)\steam\steamapps\common\counter-strike source\cstrike" "C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport"

Valve Software - vrad.exe SSE (Oct 31 2012)

      Valve Radiosity Simulator     
4 threads
[Reading texlights from 'lights.rad']
[1 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.bsp
Setting up ray-trace acceleration structure... Done (4.99 seconds)
18835 faces
8694867 square feet [1252060800.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
18835 patches before subdivision
408107 patches after subdivision
289 direct lights
BuildFacelights:     0...1...2...3...4...5...6...7...8...9...10 (325)
BuildVisLeafs:       0...1...2...3...4...5...6...7...8...9...10 (557)
transfers 135629120, max 7487
transfer lists: 1034.8 megs
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #1 added RGB(721990, 684273, 609397)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #2 added RGB(142188, 125854, 102357)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (2)
   Bounce #3 added RGB(36405, 29883, 22733)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #4 added RGB(10720, 8058, 5672)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #5 added RGB(3478, 2406, 1575)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (2)
   Bounce #6 added RGB(1212, 776, 472)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #7 added RGB(445, 267, 151)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #8 added RGB(170, 96, 51)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #9 added RGB(67, 36, 18)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
   Bounce #10 added RGB(27, 14, 6)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (4)
   Bounce #11 added RGB(11, 5, 2)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (4)
   Bounce #12 added RGB(5, 2, 1)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (2)
   Bounce #13 added RGB(2, 1, 0)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (4)
   Bounce #14 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.2665 sec>
FinalLightFace:      0...1...2...3...4...5...6...7...8...9...10 (0)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (0)
Writing leaf ambient...Bad leaf ambient for leaf 6
Bad leaf ambient for leaf 11
Bad leaf ambient for leaf 15
Bad leaf ambient for leaf 20
Bad leaf ambient for leaf 24
Bad leaf ambient for leaf 25
Bad leaf ambient for leaf 26
Bad leaf ambient for leaf 28
Bad leaf ambient for leaf 30
Bad leaf ambient for leaf 31
Bad leaf ambient for leaf 34
Bad leaf ambient for leaf 35
Bad leaf ambient for leaf 37
Bad leaf ambient for leaf 39
Bad leaf ambient for leaf 43
Bad leaf ambient for leaf 46
Bad leaf ambient for leaf 49
Bad leaf ambient for leaf 52
Bad leaf ambient for leaf 54
Bad leaf ambient for leaf 55
Bad leaf ambient for leaf 60
Bad leaf ambient for leaf 62
Bad leaf ambient for leaf 66
Bad leaf ambient for leaf 68
Bad leaf ambient for leaf 69
Bad leaf ambient for leaf 73
Bad leaf ambient for leaf 76
Bad leaf ambient for leaf 79
Bad leaf ambient for leaf 80
*The list goes on and on. - Yellow Killer*
done
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness
------------       ---------------  ---------------  --------
models                 114/1024         5472/49152    (11.1%)
brushes               4294/8192        51528/98304    (52.4%)
brushsides           29570/65536      236560/524288   (45.1%)
planes                8472/65536      169440/1310720  (12.9%)
vertexes             29101/65536      349212/786432   (44.4%)
nodes                 6649/65536      212768/2097152  (10.1%)
texinfos              3797/12288      273384/884736   (30.9%)
texdata                141/2048         4512/65536    ( 6.9%)
dispinfos                0/0               0/0        ( 0.0%)
disp_verts               0/0               0/0        ( 0.0%)
disp_tris                0/0               0/0        ( 0.0%)
disp_lmsamples           0/0               0/0        ( 0.0%)
faces                18835/65536     1054760/3670016  (28.7%)
hdr faces                0/65536           0/3670016  ( 0.0%)
origfaces            10387/65536      581672/3670016  (15.8%)
leaves                6764/65536      216448/2097152  (10.3%)
leaffaces            22020/65536       44040/131072   (33.6%)
leafbrushes           8790/65536       17580/131072   (13.4%)
areas                    2/256            16/2048     ( 0.8%)
surfedges           129399/512000     517596/2048000  (25.3%)
edges                79696/256000     318784/1024000  (31.1%)
LDR worldlights        289/8192        25432/720896   ( 3.5%)
HDR worldlights          0/8192            0/720896   ( 0.0%)
leafwaterdata            1/32768          12/393216   ( 0.0%)
waterstrips           1749/32768       17490/327680   ( 5.3%)
waterverts               0/65536           0/786432   ( 0.0%)
waterindices         31371/65536       62742/131072   (47.9%)
cubemapsamples           0/1024            0/16384    ( 0.0%)
overlays               354/512        124608/180224   (69.1%)
LDR lightdata         [variable]    19691940/0        ( 0.0%)
HDR lightdata         [variable]           0/0        ( 0.0%)
visdata               [variable]     1537739/16777216 ( 9.2%)
entdata               [variable]      167719/393216   (42.7%)
LDR ambient table     6764/65536       27056/262144   (10.3%)
HDR ambient table     6764/65536       27056/262144   (10.3%)
LDR leaf ambient         0/65536           0/1835008  ( 0.0%)
HDR leaf ambient      6764/65536      189392/1835008  (10.3%)
occluders                0/0               0/0        ( 0.0%)
occluder polygons        0/0               0/0        ( 0.0%)
occluder vert ind        0/0               0/0        ( 0.0%)
detail props          [variable]           1/12       ( 8.3%)
static props          [variable]           1/66266    ( 0.0%)
pakfile               [variable]        2919/0        ( 0.0%)
physics               [variable]     1519329/4194304  (36.2%)
physics terrain       [variable]           2/1048576  ( 0.0%)

Level flags = 0

Total triangle count: 50419
Writing c:\program files (x86)\steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.bsp
15 minutes, 16 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\vmf\gm_internationalairport.bsp" "c:\program files (x86)\steam\steamapps\yellowkiller333\garrysmod\garrysmod\maps\gm_internationalairport.bsp"

I don't know if there is an invisible limit that I'm aware of, but I want to get rid of this error. I tried using Interlopers.net but it didn't help that much. If you want to check out the .vmf to find the issue in the map, send me a message on Steam and I'll send you the .vmf.(There will be some missing materials, and models since I'm using custom content in map.)

Loke:
I'm guessing you redid the brushes?

Yellow Killer:

--- Quote from: Loke on July 02, 2013, 08:11:29 PM ---I'm guessing you redid the brushes?


--- End quote ---
I didn't redo any brushes. I don't know if there is a limit i'm aware of though.

Navigation

[0] Message Index

Go to full version