<I am about to compile the map to get the log a soon as I am finished with this post>
I have created a decent sized map for gmod. It is well within the confines of hammer editor's grid. However, if a door is spawned, garry's mod crashes (CTD style). I've seen this problem on other custom maps, but I have yet to find any solution and barely any mention in google searches. I even searched through about 20 pages worth of facepunch threads and didn't see anything close.
Short story: Spawn a door = CTD
EDIT:
[CODE]** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb"
Valve Software - vbsp.exe (May 19 2009)
3 threads
materialPath: c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod\materials
Loading C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.vmf
Patching WVT material: maps/gm_cheesecake2_leb/dev/dev_blendmeasure_wvt_patch
Patching WVT material: maps/gm_cheesecake2_leb/nature/blenddirtgrass001a_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
writing C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
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) (405162 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 1134 texinfos to 539
Reduced 80 texdatas to 52 (2838 bytes to 1967)
Writing C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
7 seconds elapsed
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" -fast "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb"
Valve Software - vvis.exe (May 19 2009)
fastvis = true
3 threads
reading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
reading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.prt
2389 portalclusters
6450 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (3)
Optimized: 199960 visible clusters (0.00%)
Total clusters visible: 4906243
Average clusters visible: 2053
Building PAS...
Average clusters audible: 2387
visdatasize:1423978 compressed from 1452512
writing c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
5 seconds elapsed
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" -noextra "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb"
Valve Software - vrad.exe SSE (May 19 2009)
Valve Radiosity Simulator
3 threads
Could not find lights.rad in lights.rad.
Trying VRAD BIN directory instead...
Warning: Couldn't open texlight file c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\lights.rad.
Loading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
Setting up ray-trace acceleration structure... Done (1.64 seconds)
14545 faces
14003586 square feet [2016516480.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
14545 patches before subdivision
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
615509 patches after subdivision
sun extent from map=0.000000
2 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (66)
BuildVisLeafs: 0...1
** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp" "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod\maps\gm_cheesecake2_leb.bsp"[/CODE]
There's a few problems. For starters, you're running VIS on fast. Run it on normal for final compiles because running it on fast sometimes causes different in-game errors and skips most of the optimization process.
And for this error: [i]zero area child patch[/i], you probably have invalid brushes in your map. Press ALT + P, and see what comes up in the menu.
[QUOTE=HighdefGE;19714320]There's a few problems. For starters, you're running VIS on fast. Run it on normal for final compiles because running it on fast sometimes causes different in-game errors and skips most of the optimization process.
And for this error: [i]zero area child patch[/i], you probably have invalid brushes in your map. Press ALT + P, and see what comes up in the menu.[/QUOTE]
I've been fixing some overlapping brushes, and I think I have most of em sorted out. However, nothing comes up with the alt-p other than something that went wacko with my last edit (edited after the crash problem), and it's now fixed.
[CODE]zero area child patch
Description:
A solid in your level has a face with no area. My guess is that vrad.exe is trying to create a lightmap for a face that doesn't exist. Maybe you have an invalid brush?
Solution:
First check Hammers problemchecker (alt+p). If that doesn't solve your problems, you can either ignore the error, or try to find it anyway using cordon tools. You would be looking for brushes which might be too complex. I wouldn't recommend the second option.
See also:
Reference: Finding the cause of unknown errors
Generally, this error may be ignored[/CODE]
As I said, Alt+P doesn't show any errors. If this is the reason for the problem, There is not much I could do about it. Otherwise, it's not one of my major concerns.
I had this exact problem a few days ago and adding a light_environment fixed it. Hopefully that should work.
[QUOTE=Joe45359;19728791]I had this exact problem a few days ago and adding a light_environment fixed it. Hopefully that should work.[/QUOTE]
My map is apparently freeeeeeeekin screwed up somewhere else. The light environment... they do nothing. And by nothing, I mean no light is casts from the skybox. thanks for the help anyway though. :)
so you don't have a light_environment? and they do better than full bright
[QUOTE=DanielPinoy;19750448]so you don't have a light_environment? if they do nothing, why was it made?? and they do better than full bright[/QUOTE]
I have a light environment, but it does not have any effect on the lighting of the map.
Probably a leak.
[url]http://developer.valvesoftware.com/wiki/Leak[/url]
[QUOTE=metallics;19759628]Probably a leak.
[url]http://developer.valvesoftware.com/wiki/Leak[/url][/QUOTE]
If it was a leak, then it should say it in the compile log : /
I reckon you should try to use the cordon tool and try and find the source of the error. But thats only what I would do >.>
Yeah, that was a dumb suggestion, I see the problem, you aren't letting VRad finish, that's why no light is showing up.
[CODE]
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb"
Valve Software - vbsp.exe (May 19 2009)
3 threads
materialPath: c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod\materials
Loading C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.vmf
Patching WVT material: maps/gm_cheesecake2_leb/dev/dev_blendmeasure_wvt_patch
Patching WVT material: maps/gm_cheesecake2_leb/nature/blenddirtgrass001a_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
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 (0) (395309 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 861 texinfos to 497
Reduced 60 texdatas to 49 (1709 bytes to 1188)
Writing C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
3 seconds elapsed
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" -fast "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb"
Valve Software - vvis.exe (May 19 2009)
fastvis = true
3 threads
reading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
reading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.prt
2327 portalclusters
6219 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (3)
Optimized: 186186 visible clusters (0.00%)
Total clusters visible: 4646945
Average clusters visible: 1996
Building PAS...
Average clusters audible: 2325
visdatasize:1351427 compressed from 1377584
writing c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
5 seconds elapsed
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb"
Valve Software - vrad.exe SSE (May 19 2009)
Valve Radiosity Simulator
3 threads
Could not find lights.rad in lights.rad.
Trying VRAD BIN directory instead...
Warning: Couldn't open texlight file c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\lights.rad.
Loading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
Setting up ray-trace acceleration structure... Done (1.68 seconds)
14344 faces
13993885 square feet [2015119488.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
14344 patches before subdivision
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
612568 patches after subdivision
sun extent from map=0.087156
2 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (191)
BuildVisLeafs: 0...1.
** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp" "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod\maps\gm_cheesecake2_leb.bsp"
[/CODE]
This is my latest compile log. I am running bsp.normal, vis fast, and rad normal, hdr off.
Valve Radiosity Simulator
3 threads
Could not find lights.rad in lights.rad.
Trying VRAD BIN directory instead...
Warning: Couldn't open texlight file c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\lights.rad.
Loading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\gm_cheesecake2_leb.bsp
It looks like I might have something misplaced or some bad options. I'm looking at em right now. However, I tried making a small test map to try the light environment. It worked like a charm.
[CODE]
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest"
Valve Software - vbsp.exe (May 19 2009)
3 threads
materialPath: c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod\materials
Loading C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.vmf
Patching WVT material: maps/skyboxtest/dev/dev_blendmeasure_wvt_patch
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)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
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 (0) (2709 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 13 texinfos to 6
Reduced 5 texdatas to 4 (131 bytes to 110)
Writing C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.bsp
0 seconds elapsed
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" -fast "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest"
Valve Software - vvis.exe (May 19 2009)
fastvis = true
3 threads
reading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.bsp
reading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.prt
12 portalclusters
20 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)
Optimized: 0 visible clusters (0.00%)
Total clusters visible: 144
Average clusters visible: 12
Building PAS...
Average clusters audible: 12
visdatasize:148 compressed from 192
writing c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.bsp
0 seconds elapsed
** Executing...
** Command: "c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod" "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest"
Valve Software - vrad.exe SSE (May 19 2009)
Valve Radiosity Simulator
3 threads
Could not find lights.rad in lights.rad.
Trying VRAD BIN directory instead...
Warning: Couldn't open texlight file c:\program files\steam\steamapps\bull912000\sourcesdk\bin\orangebox\bin\lights.rad.
Loading c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.bsp
Setting up ray-trace acceleration structure... Done (0.01 seconds)
32 faces
21617 square feet [3112960.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
32 patches before subdivision
920 patches after subdivision
sun extent from map=0.000000
2 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (0)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (0)
transfers 15512, max 92
transfer lists: 0.1 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #1 added RGB(11764, 6542, 2120)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(792, 218, 1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(51, 8, 0)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(4, 0, 0)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #5 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0006 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 (1)
Writing leaf ambient...done
Ready to Finish
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 7/8192 84/98304 ( 0.1%)
brushsides 42/65536 336/524288 ( 0.1%)
planes 50/65536 1000/1310720 ( 0.1%)
vertexes 55/65536 660/786432 ( 0.1%)
nodes 39/65536 1248/2097152 ( 0.1%)
texinfos 6/12288 432/884736 ( 0.0%)
texdata 4/2048 128/65536 ( 0.2%)
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 32/65536 1792/3670016 ( 0.0%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 11/65536 616/3670016 ( 0.0%)
leaves 41/65536 1312/2097152 ( 0.1%)
leaffaces 44/65536 88/131072 ( 0.1%)
leafbrushes 20/65536 40/131072 ( 0.0%)
areas 2/256 16/2048 ( 0.8%)
surfedges 180/512000 720/2048000 ( 0.0%)
edges 105/256000 420/1024000 ( 0.0%)
LDR worldlights 2/8192 176/720896 ( 0.0%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 0/32768 0/327680 ( 0.0%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 0/65536 0/131072 ( 0.0%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 16800/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 148/16777216 ( 0.0%)
entdata [variable] 524/393216 ( 0.1%)
LDR ambient table 41/65536 164/262144 ( 0.1%)
HDR ambient table 41/65536 164/262144 ( 0.1%)
LDR leaf ambient 152/65536 4256/1835008 ( 0.2%)
HDR leaf ambient 41/65536 1148/1835008 ( 0.1%)
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/12 ( 8.3%)
pakfile [variable] 106008/0 ( 0.0%)
physics [variable] 2709/4194304 ( 0.1%)
physics terrain [variable] 2/1048576 ( 0.0%)
Level flags = 0
Total triangle count: 72
Writing c:\program files\steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.bsp
3 seconds elapsed
** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\steamapps\bull912000\sourcesdk_content\planet_devkit\mapsrc\skyboxtest.bsp" "c:\program files\steam\steamapps\bull912000\garrysmod\garrysmod\maps\skyboxtest.bsp"
[/CODE]
I tried making another map that wasn't as small as the skybox test. The light_environment still didn't work after a full compile, so I am pretty sure the problem is with the setup or settings.
Sorry, you need to Log In to post a reply to this thread.