• Portal Map Fullbright?
    3 replies, posted
I decompiled a Half-Life: Source map with bspsrc and edited a few things with Hammer Editor. I am using the Hammer Editor that comes with Portal. I have all of the textures working fine, but for some reason, there are no lights. Before editing the map in Hammer it was fine in Portal, but after editing it in Hammer, it is stuck in fullbright. Here are some things I have already tried: mat_fullbright 0 mat_hdr_level 2 (and 0) HDR mode when compiling Compile log (ignore when it says "Material not found"): [CODE] ** Executing... ** Command: "E:\Steam\steamapps\common\Portal\bin\vbsp.exe" ** Parameters: -game "E:\Steam\steamapps\common\Portal\portal" "C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d.vmf" Valve Software - vbsp.exe (Aug 30 2013) 2 threads materialPath: E:\Steam\steamapps\common\Portal\portal\materials Loading C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d.vmf material "halflife/c2a4e_w1b" not found. Material not found!: HALFLIFE/C2A4E_W1B ConVarRef mat_reduceparticles doesn't point to an existing ConVar material "halflife/-0c2a4e_w1" not found. Material not found!: HALFLIFE/-0C2A4E_W1 material "halflife/c1a0_w1d2" not found. Material not found!: HALFLIFE/C1A0_W1D2 material "halflife/c1a0_labflre" not found. Material not found!: HALFLIFE/C1A0_LABFLRE material "halflife/tnnl_flr1a" not found. Material not found!: HALFLIFE/TNNL_FLR1A material "halflife/~lab1_cmp2000" not found. Material not found!: HALFLIFE/~LAB1_CMP2000 material "halflife/lab1_comp3d" not found. Material not found!: HALFLIFE/LAB1_COMP3D material "halflife/c1a0_labw4" not found. Material not found!: HALFLIFE/C1A0_LABW4 material "halflife/c1a0_labglu" not found. Material not found!: HALFLIFE/C1A0_LABGLU material "halflife/c1a1_flr2a" not found. Material not found!: HALFLIFE/C1A1_FLR2A material "halflife/c1a0_labw6" not found. Material not found!: HALFLIFE/C1A0_LABW6 material "halflife/~lab1_comp3f" not found. Material not found!: HALFLIFE/~LAB1_COMP3F material "halflife/~lab1_comp8b" not found. Material not found!: HALFLIFE/~LAB1_COMP8B material "halflife/lab1_comp3a" not found. Material not found!: HALFLIFE/LAB1_COMP3A material "halflife/~lab1_cmp1000" not found. Material not found!: HALFLIFE/~LAB1_CMP1000 material "halflife/c1a0_labw5" not found. Material not found!: HALFLIFE/C1A0_LABW5 material "halflife/lab1_comp7" not found. Material not found!: HALFLIFE/LAB1_COMP7 material "halflife/lab1_comp10f" not found. Material not found!: HALFLIFE/LAB1_COMP10F material "halflife/~light3c" not found. Material not found!: HALFLIFE/~LIGHT3C material "halflife/generic015v" not found. Material not found!: HALFLIFE/GENERIC015V material "halflife/duct_vnt" not found. Material not found!: HALFLIFE/DUCT_VNT material "halflife/fifties_mon1b" not found. Material not found!: HALFLIFE/FIFTIES_MON1B material "halflife/~lab_crt9c" not found. Material not found!: HALFLIFE/~LAB_CRT9C material "halflife/~lab_crt9b" not found. Material not found!: HALFLIFE/~LAB_CRT9B material "halflife/~lab_crt9a" not found. Material not found!: HALFLIFE/~LAB_CRT9A material "halflife/drkmtlt_bord11" not found. Material not found!: HALFLIFE/DRKMTLT_BORD11 material "halflife/~c2a4_wav000" not found. Material not found!: HALFLIFE/~C2A4_WAV000 material "halflife/generic028" not found. Material not found!: HALFLIFE/GENERIC028 material "halflife/c1a0_w1d5" not found. Material not found!: HALFLIFE/C1A0_W1D5 material "halflife/c1a1_flr2b" not found. Material not found!: HALFLIFE/C1A1_FLR2B material "halflife/lab1_c4d2" not found. Material not found!: HALFLIFE/LAB1_C4D2 material "halflife/c1a0_wx" not found. Material not found!: HALFLIFE/C1A0_WX material "halflife/c1a1_flr2c" not found. Material not found!: HALFLIFE/C1A1_FLR2C material "halflife/lab1_panel2" not found. Material not found!: HALFLIFE/LAB1_PANEL2 material "halflife/fifties_cmp3b" not found. Material not found!: HALFLIFE/FIFTIES_CMP3B material "halflife/+a~generic85" not found. Material not found!: HALFLIFE/+A~GENERIC85 material "halflife/+0~generic85" not found. Material not found!: HALFLIFE/+0~GENERIC85 material "halflife/litepanel1" not found. Material not found!: HALFLIFE/LITEPANEL1 material "halflife/+0~fifts_lght01" not found. Material not found!: HALFLIFE/+0~FIFTS_LGHT01 material "halflife/generic46" not found. Material not found!: HALFLIFE/GENERIC46 material "halflife/generic69" not found. Material not found!: HALFLIFE/GENERIC69 material "halflife/c1a0_w1d1" not found. Material not found!: HALFLIFE/C1A0_W1D1 material "halflife/generic108a" not found. Material not found!: HALFLIFE/GENERIC108A material "halflife/+a~light3a" not found. Material not found!: HALFLIFE/+A~LIGHT3A material "halflife/table3" not found. Material not found!: HALFLIFE/TABLE3 material "halflife/pfab_bks1b" not found. Material not found!: HALFLIFE/PFAB_BKS1B material "halflife/pfab_bks1a" not found. Material not found!: HALFLIFE/PFAB_BKS1A material "halflife/flatbed_bumper" not found. Material not found!: HALFLIFE/FLATBED_BUMPER material "halflife/c1a1_flr1" not found. Material not found!: HALFLIFE/C1A1_FLR1 material "halflife/generic015v2" not found. Material not found!: HALFLIFE/GENERIC015V2 material "halflife/+a~lab1_sw1" not found. Material not found!: HALFLIFE/+A~LAB1_SW1 material "halflife/ca1x_monside" not found. Material not found!: HALFLIFE/CA1X_MONSIDE material "halflife/drkmtl_scrn3" not found. Material not found!: HALFLIFE/DRKMTL_SCRN3 material "halflife/lab1_b4" not found. Material not found!: HALFLIFE/LAB1_B4 material "halflife/out_dmplid" not found. Material not found!: HALFLIFE/OUT_DMPLID material "halflife/lab1_flr10" not found. Material not found!: HALFLIFE/LAB1_FLR10 material "halflife/c1a1sign3" not found. Material not found!: HALFLIFE/C1A1SIGN3 material "halflife/c1a0_labw7" not found. Material not found!: HALFLIFE/C1A0_LABW7 material "halflife/c1a0_c1" not found. Material not found!: HALFLIFE/C1A0_C1 material "halflife/~spotblue" not found. Material not found!: HALFLIFE/~SPOTBLUE material "halflife/c2a4x_c1" not found. Material not found!: HALFLIFE/C2A4X_C1 material "halflife/~spotyellow" not found. Material not found!: HALFLIFE/~SPOTYELLOW material "halflife/c1a0_labw8" not found. Material not found!: HALFLIFE/C1A0_LABW8 material "halflife/c1a0_labflrd" not found. Material not found!: HALFLIFE/C1A0_LABFLRD material "halflife/c1a0b_dr4" not found. Material not found!: HALFLIFE/C1A0B_DR4 material "halflife/fifties_dr4b" not found. Material not found!: HALFLIFE/FIFTIES_DR4B material "halflife/c1a0b_dr3" not found. Material not found!: HALFLIFE/C1A0B_DR3 material "halflife/lab5_c2b" not found. Material not found!: HALFLIFE/LAB5_C2B material "halflife/+a~fifts_lght01" not found. Material not found!: HALFLIFE/+A~FIFTS_LGHT01 material "halflife/+a~fifties_lgt2" not found. Material not found!: HALFLIFE/+A~FIFTIES_LGT2 material "halflife/-1c2a4e_w1" not found. Material not found!: HALFLIFE/-1C2A4E_W1 material "halflife/lab1_comp10a" not found. Material not found!: HALFLIFE/LAB1_COMP10A material "halflife/+0lab1_comp10c" not found. Material not found!: HALFLIFE/+0LAB1_COMP10C material "halflife/+0lab1_comp10b" not found. Material not found!: HALFLIFE/+0LAB1_COMP10B material "halflife/c2a4x_c3" not found. Material not found!: HALFLIFE/C2A4X_C3 material "halflife/drkmtlt_bord16" not found. Material not found!: HALFLIFE/DRKMTLT_BORD16 material "halflife/babtech_ceil01" not found. Material not found!: HALFLIFE/BABTECH_CEIL01 material "halflife/c1a1sign2a" not found. Material not found!: HALFLIFE/C1A1SIGN2A material "halflife/lab1_map1" not found. Material not found!: HALFLIFE/LAB1_MAP1 material "halflife/c1a1sign2b" not found. Material not found!: HALFLIFE/C1A1SIGN2B material "halflife/lab1_map2" not found. Material not found!: HALFLIFE/LAB1_MAP2 material "halflife/+0~fifties_lgt3" not found. Material not found!: HALFLIFE/+0~FIFTIES_LGT3 material "halflife/drkmtl_scrn000" not found. Material not found!: HALFLIFE/DRKMTL_SCRN000 material "halflife/~lab_crt8000" not found. Material not found!: HALFLIFE/~LAB_CRT8000 material "halflife/duct_wall02" not found. Material not found!: HALFLIFE/DUCT_WALL02 material "halflife/+0~fifts_lght4" not found. Material not found!: HALFLIFE/+0~FIFTS_LGHT4 material "halflife/c1a0_wdsign" not found. Material not found!: HALFLIFE/C1A0_WDSIGN material "halflife/signc1a1_1" not found. Material not found!: HALFLIFE/SIGNC1A1_1 material "halflife/c2a4c2" not found. Material not found!: HALFLIFE/C2A4C2 material "halflife/c2a4_w1a" not found. Material not found!: HALFLIFE/C2A4_W1A material "halflife/fifties_wall12d" not found. Material not found!: HALFLIFE/FIFTIES_WALL12D material "halflife/fiftsfile1" not found. Material not found!: HALFLIFE/FIFTSFILE1 material "halflife/paper1" not found. Material not found!: HALFLIFE/PAPER1 material "halflife/paper8" not found. Material not found!: HALFLIFE/PAPER8 material "halflife/lab1_w1" not found. Material not found!: HALFLIFE/LAB1_W1 material "halflife/lab1_w3" not found. Material not found!: HALFLIFE/LAB1_W3 material "halflife/generic86" not found. Material not found!: HALFLIFE/GENERIC86 material "halflife/+0~metalstch2" not found. Material not found!: HALFLIFE/+0~METALSTCH2 material "halflife/+0~light5a" not found. Material not found!: HALFLIFE/+0~LIGHT5A material "halflife/lab1_slot1b" not found. Material not found!: HALFLIFE/LAB1_SLOT1B material "halflife/lab1_gdpnl5b" not found. Material not found!: HALFLIFE/LAB1_GDPNL5B material "halflife/lab1_slot4c" not found. Material not found!: HALFLIFE/LAB1_SLOT4C material "halflife/generic67" not found. Material not found!: HALFLIFE/GENERIC67 material "halflife/lab1_door2a" not found. Material not found!: HALFLIFE/LAB1_DOOR2A material "halflife/c1a1dooredge" not found. Material not found!: HALFLIFE/C1A1DOOREDGE material "halflife/~lab_crt2000" not found. Material not found!: HALFLIFE/~LAB_CRT2000 material "halflife/medkitedge1" not found. Material not found!: HALFLIFE/MEDKITEDGE1 material "halflife/+0medkit" not found. Material not found!: HALFLIFE/+0MEDKIT material "halflife/lab1_gear3" not found. Material not found!: HALFLIFE/LAB1_GEAR3 material "halflife/lab1_gear2" not found. Material not found!: HALFLIFE/LAB1_GEAR2 material "halflife/c1a0b_dr4a" not found. Material not found!: HALFLIFE/C1A0B_DR4A material "halflife/c1a0b_dr4b" not found. Material not found!: HALFLIFE/C1A0B_DR4B material "halflife/c1a0b_dr3a" not found. Material not found!: HALFLIFE/C1A0B_DR3A material "halflife/glass_med" not found. Material not found!: HALFLIFE/GLASS_MED material "halflife/{gratestep2" not found. Material not found!: HALFLIFE/{GRATESTEP2 material "halflife/prefab_pot1" not found. Material not found!: HALFLIFE/PREFAB_POT1 material "halflife/+a~fifts_lght4" not found. Material not found!: HALFLIFE/+A~FIFTS_LGHT4 material "halflife/+afiftsstch4" not found. Material not found!: HALFLIFE/+AFIFTSSTCH4 material "halflife/+0fiftsstch4" not found. Material not found!: HALFLIFE/+0FIFTSSTCH4 material "halflife/glassblue1" not found. Material not found!: HALFLIFE/GLASSBLUE1 material "halflife/poster12" not found. Material not found!: HALFLIFE/POSTER12 material "halflife/poster13" not found. Material not found!: HALFLIFE/POSTER13 material "halflife/poster15" not found. Material not found!: HALFLIFE/POSTER15 material "halflife/picture4" not found. Material not found!: HALFLIFE/PICTURE4 material "halflife/picture5" not found. Material not found!: HALFLIFE/PICTURE5 Could not locate 'GameData' key in e:\steam\steamapps\common\portal\portal\gameinfo.txt 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 (0) Processing areas...done (0) Building Faces...done (0) Chop Details...done (0) Find Visible Detail Sides...done (0) Merging details...done (0) FixTjuncs... PruneNodes... WriteBSP... done (0) writing C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d.prt...Building visibility clusters... done (0) material "skybox/morningrt" not found. Can't load skybox file skybox/morning to build the default cubemap! Can't load skybox file skybox/morning 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) (360051 bytes) Placing detail props : 0...1...2...3...4...5...6...7...8...9...10 Compacting texture/material tables... Reduced 1461 texinfos to 937 Reduced 141 texdatas to 136 (2880 bytes to 2778) Writing C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d.bsp 6 seconds elapsed ** Executing... ** Command: "E:\Steam\steamapps\common\Portal\bin\vvis.exe" ** Parameters: -game "E:\Steam\steamapps\common\Portal\portal" "C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d" Valve Software - vvis.exe (Sep 2 2013) 2 threads reading c:\users\bam\desktop\bspsrc_1.3.21\sds\c1a0_d.bsp reading c:\users\bam\desktop\bspsrc_1.3.21\sds\c1a0_d.prt 808 portalclusters 2704 numportals BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (1) PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (81) Optimized: 473 visible clusters (0.41%) Total clusters visible: 116166 Average clusters visible: 143 Building PAS... Average clusters audible: 309 visdatasize:78219 compressed from 168064 writing c:\users\bam\desktop\bspsrc_1.3.21\sds\c1a0_d.bsp 1 minute, 23 seconds elapsed ** Executing... ** Command: "E:\Steam\steamapps\common\Portal\bin\vrad.exe" ** Parameters: -game "E:\Steam\steamapps\common\Portal\portal" "C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d" Valve Software - vrad.exe SSE (Aug 29 2013) Valve Radiosity Simulator 2 threads [Reading texlights from 'lights.rad'] [53 texlights parsed from 'lights.rad'] Loading c:\users\bam\desktop\bspsrc_1.3.21\sds\c1a0_d.bsp Setting up ray-trace acceleration structure... Done (1.08 seconds) 3512 faces 88607 square feet [12759449.00 square inches] 0 Displacements 0 Square Feet [0.00 Square Inches] 3512 patches before subdivision 3760 patches after subdivision 27 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 (10) transfers 371615, max 347 transfer lists: 2.8 megs GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0) Bounce #1 added RGB(3, 5, 34) GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0) Bounce #2 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 (1) 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 (10) Writing leaf ambient...done Ready to Finish Object names Objects/Maxobjs Memory / Maxmem Fullness ------------ --------------- --------------- -------- models 67/1024 3216/49152 ( 6.5%) brushes 948/8192 11376/98304 (11.6%) brushsides 6731/65536 53848/524288 (10.3%) planes 4064/65536 81280/1310720 ( 6.2%) vertexes 5788/65536 69456/786432 ( 8.8%) nodes 2170/65536 69440/2097152 ( 3.3%) texinfos 937/12288 67464/884736 ( 7.6%) texdata 136/2048 4352/65536 ( 6.6%) 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 3512/65536 196672/3670016 ( 5.4%) hdr faces 0/65536 0/3670016 ( 0.0%) origfaces 2565/65536 143640/3670016 ( 3.9%) leaves 2238/65536 71616/2097152 ( 3.4%) leaffaces 4210/65536 8420/131072 ( 6.4%) leafbrushes 1641/65536 3282/131072 ( 2.5%) areas 2/256 16/2048 ( 0.8%) surfedges 26999/512000 107996/2048000 ( 5.3%) edges 15212/256000 60848/1024000 ( 5.9%) LDR worldlights 27/8192 2376/720896 ( 0.3%) HDR worldlights 0/8192 0/720896 ( 0.0%) leafwaterdata 0/32768 0/393216 ( 0.0%) waterstrips 228/32768 2280/327680 ( 0.7%) waterverts 0/65536 0/786432 ( 0.0%) waterindices 4242/65536 8484/131072 ( 6.5%) cubemapsamples 4/1024 64/16384 ( 0.4%) overlays 0/512 0/180224 ( 0.0%) LDR lightdata [variable] 13260/0 ( 0.0%) HDR lightdata [variable] 0/0 ( 0.0%) visdata [variable] 78219/16777216 ( 0.5%) entdata [variable] 54426/393216 (13.8%) LDR ambient table 2238/65536 8952/262144 ( 3.4%) HDR ambient table 2238/65536 8952/262144 ( 3.4%) LDR leaf ambient 1700/65536 47600/1835008 ( 2.6%) HDR leaf ambient 2238/65536 62664/1835008 ( 3.4%) 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] 54/0 ( 0.0%) physics [variable] 360051/4194304 ( 8.6%) physics terrain [variable] 2/1048576 ( 0.0%) Level flags = 0 Total triangle count: 9554 Writing c:\users\bam\desktop\bspsrc_1.3.21\sds\c1a0_d.bsp 22 seconds elapsed ** Executing... ** Command: Copy File ** Parameters: "C:\Users\bam\Desktop\bspsrc_1.3.21\sds\c1a0_d.bsp" "E:\Steam\steamapps\common\Portal\portal\maps\c1a0_d.bsp" ** Executing... ** Command: "E:\Steam\steamapps\common\Portal\hl2.exe" ** Parameters: -game "E:\Steam\steamapps\common\Portal\portal" +map "c1a0_d" -steam [/CODE] Any help is requested. Thank you.
Well i know you said ignore the textures, however if hammer doesn't know what to bake the lighting into, it will be fullbright on those textures.
I don't see how I didn't notice that. Thanks, but I am now getting another lighting issue. The floors and walls are VERY shiny and reflect a strange image. Here is a screenshot: [url]http://imgur.com/NleCIo9[/url] It's even worse in the dark: [url]http://i.imgur.com/UZH0usJ.png[/url] Hopefully there will be a solution to this.
Try rebuilding the cube maps
Sorry, you need to Log In to post a reply to this thread.