uhhh, ok...

uhhh, ok...

Hammer Mapping — Page [1]
general_zim
Le Tigre

2006 Sep 1 • 549
16 ₧
Yeah, when I exported my map called "Lab" to c:\zhlt

I got this error message in my Lab.bat file


hlbsp: Error: Can't open Lab.p0

Whatsup with it?

Heres the stuff in my lap.bat file.

@echo off
hlcsg -wadinclude zhlt Lab
hlcsg Lab
hlbsp Lab
hlvis Lab
hlrad Lab
copy Lab.bsp "C:\Program Files\Valve\Steam\SteamApps\general_zim\counter-strike\cstrike\maps"
pause
"C:\Steam\Steam.exe" -applaunch 10 -dev +sv_cheats 1 +map Lab




Help!!!
 
 
2006 Sep 25 at 19:51 PDT
SuperJer
Websiteman

2005 Mar 20 • 5785
First, remove the red part:

@echo off
hlcsg -wadinclude zhlt Lab
hlcsg Lab
hlbsp Lab
hlvis Lab
hlrad Lab
copy Lab.bsp "C:\Program Files\Valve\Steam\SteamApps\general_zim\counter-strike\cstrike\maps"
pause
"C:\Steam\Steam.exe" -applaunch 10 -dev +sv_cheats 1 +map Lab


You only want to run each step once, but you can add lots of options to each step.
For example, your hlrad line could look like:

hlrad -bounce 3 -extra -sparse -smooth 89 -chop 24 -texchop 16 Lab

That would be for an extremely high quality lighting compile. Might be a good idea for your final compile on an important map. But it takes FOREVER.

Anyways, check your log file for an earlier error in hlcsg. hlcsg is supposed to create your Lab.p0 file. So since it's not there, hlcsg must have had an error.

It's probably that it couldn't find any hulls to fill. That means you don't have any entities (like info_player_start) inside your map.

A hull is a pocket of open space surrounded by blocks. Kind of like the hull of a ship. hlcsg can only find hulls if you put entities in them.
 
 
2006 Sep 26 at 02:33 PDT
general_zim
Le Tigre

2006 Sep 1 • 549
16 ₧
I did that stuff, heres what I get:

hlcsg: Error: Entity 1 has no visible brushes


hlcsg: Error: No visibile brushes
Description: All brushes are CLIP or ORIGIN (at least one must be normal/visible)
Howto Fix: self explanitory



Uhh, how do I know what entity 1 is? All my entities are is info_player_deathmatch, info_player_start, light_envoirment (for the "outside" spawn zones) and light.
 
 
2006 Sep 26 at 04:54 PDT
SuperJer
Websiteman

2005 Mar 20 • 5785
Entities also include Brush Entities like func_ladder and trigger_'s.

Use Go To Brush Number... (Ctrl+Shift+G) to find a specific entity.
 
 
2006 Sep 26 at 14:29 PDT
Page [1]