help pls i got an error

help pls i got an error

Hammer Mapping — Page [1]
2008 Jan 10 • 5
look im doing my 3 map well its the first one im proud of it hehe but thers a problem when a copilate it and i have never has it before and i dont why the problem appears if i had remake my map like 5 times (because i was testing them )and it has copilated well in all 5 before but now i got this hlvis: Error: Portal file 'aim_azn.prt' does not exist, cannot vis the map. And i have already read some posted message with the same problem but i got no leak and no entity out i even hollow my map to make sure, well this is the complete error
aim_azn.err "hlvis: Error: Portal file 'aim_azn.prt' does not exist, cannot vis the map"


pls help me i really want people play may map
2008 Jan 10 at 08:59 PST
2008 Jan 10 • 5
ok i think i fix it it doesnt say anymore that prob now i cant play normal but i got this

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 (
----- BEGIN hlrad -----
Command line: hlrad aim_azn

-= Current hlrad Settings =-
Name | Setting | Default
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [
32.000 ]

5638 faces
Create Patches : 68641 base patches
0 opaque faces
1304674 square feet [187873184.00 square inches]
Error: Exceeded MAX_PATCHES
Description: The map has a problem which must be fixed
Howto Fix: Check the file ZHLTProblems.html for a detailed explanation of this problem

----- END hlrad -----

its about the exceeded max_patches wut should i do? and i can play normally but when i move it look like alittle slower but its fine i think
2008 Jan 10 at 09:30 PST

2005 Mar 20 • 6311
MAX_PATCHES means your map has too much surface area to save the lighting for the whole thing.

You can fix the problem by reducing the lighting detail in your map.

In your .bat, on the hlrad line, try adding this yellow part:
hlrad -chop 128 yourmap
2008 Jan 10 at 13:17 PST — Ed. 2008 Jan 10 at 13:17 PST
2008 Jan 10 • 5
oh thx a lot but wut is it for the yellow thing? and in entities by default it appears something call generic_ambient and the env_... wut r theyt for???
thank you a lot everyone!!
2008 Jan 10 at 15:59 PST

2005 Mar 20 • 6311
The yellow part (-chop 128) makes your lighting less complex so it uses less memory. You need to add it to your compile script to get rid of MAX_PATCHES.

ambient_generic is used to play sounds in your map and the env_... entities are for adding environmental effects like sparks, shaking, bubbles, steam, etc.
2008 Jan 11 at 17:06 PST
Page [1]