Compile error Brush type not allowed-Sky-Help me please


07-24-2003, 05:45 AM
Hi,
I have the following problem whe I try to compile what could be my first ever dod map.
Here it is:

----- BEGIN hlcsg -----
Command line: C:\Sierra\HALF-L~1\DoD\compile\hlcsg.exe C:\Sierra\Half-Life\DoD\maps\cementery
Entering C:\Sierra\Half-Life\DoD\maps\cementery.map
Error: Entity 144, Brush 58: SKY brushes not allowed in entity
Error: Brush type not allowed in entity
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 hlcsg -----

Fact is that I found one explanation for this problem in
(http://www.slackiller.com/tommy14/errors.htm#sprites)
Entity xxx, Brush x: SKY brushes not allowed in entity
Just what it says - you made one or more faces SKY in a brush that was tied to an entity. SKY texture cannot be in an entity. Either change the texture, or return the brush "to world". Do not just delete the brush entity - you will end up with an empty brush error. Use the entity and brush number with a goto to find the problem.


How to solve it, returning it to world and then to func-wall. There were a couple of entiti brushes which had the sky brush by mistake, so I changed then,. ok.

But, I accidently erased one of them. In this case, there is the solution to: EMPTY BRUSH

You made a brush and tied it to an entity, but somehow deleted the brush without deleting the entity. An entity and brush number may be given, but it is still hard to find the problem - and sometimes the wrong brush is shown. The best way to find the problem is to use the goto of the map entity report, and goto each entity of that type. When the goto ends in a nowhere, showing no brush, that is probably the problem entity you can delete. But continue the check just in case there are more.


What is the problem? Well, when I press CONTROL+HIFT+G I CANNOT find the entity 144 (which I pressume was erased by me). So I go to:
Map
Entity Report...


Then I have to look for the entity 144, one by one and it is actually, how could I define it?, a pain in the neck!
Is there a quick way to look for this entity in the report by typing the number or something else?

Thanks in advance

07-24-2003, 05:52 AM
when you type the entity 144 in and search for it, does valve hammer editor say: That entity number does not exist or is there no brush selected in vhe?

when there´s only no brush selected, press the delete button, my map worked after pressing delete! ;)

07-24-2003, 07:01 AM
Well,
it just says there is no entity brush number fff. So what I have done is the following:
1 selected everything (the complete map)
2 turned into the null texture to avoid sky texture on an entity brush

3. Started putting some simple textures to see something, but

I still found always the same error
"Error: Entity 141, Brush 58: SKY brushes not allowed in entity
Error: Brush type not allowed in entity"

I do not understand this,
is it maybe because on some entities funcwall there is still the null texture which I have to turn into a normal texture?

I have to select something in the process woorld brush---->func-wall entity. Right now the selection I have is:
Render X normal
Render mode normal
FX amount 0
light flags normal



It seems that everytime the compile process expells one entity brush erro, I modify the brush number to world and then back to a new entity func-wall and I do it again and again and again.
What should I do, delete everything and start again?
thanks again

07-24-2003, 12:04 PM
If there is I'd love to know about it. I've always just had to do it the slow way where you keep moving down the list until you hit an entity that doesn't really exist.

Tip: Never delete brush entities until you first use the move to world on them. Then you don't have this issue often. =)

CptMuppet
07-24-2003, 02:03 PM
Be very careful about how you use the SKY texture.

As a golden rule, I always use the AAAtrigger texture for all invisible brush entities.

I can' think why you'd want to use a sky texture for an entity anyway.

SKY brush IN an entity? That means either an entity is in a SKY texture, or a small SKY brush is in an entity.

Click replace textures> click browse > Click on the sky texture (don't double click though) > then click MARK. All the SKY textures in the map will now be highlighted.

07-25-2003, 02:00 AM
I have turned everything into world brush
Then I have selected everything and textured null. Is it the same to do it then with the AAAtriger texture?
What I will do is first texture the map and then turn into func-wall step by step compiling in between and see if I can make it or not.
I hope I will release it someday :)
Thanks again

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.