func_water "WATER brushes not allow Created 7 years ago2016-09-09 05:52:34 UTC by Alberto309 Alberto309

Created 7 years ago2016-09-09 05:52:34 UTC by Alberto309 Alberto309

Posted 7 years ago2016-09-09 05:52:34 UTC Post #331602
Hey folks, it's me again.

I'm having a weird issue with Hammer 3 lately.
I'm trying to make a simple water brush using the func_water entity, but the compiler just stops telling me:

Error: Entity 22, Brush 0: WATER brushes not allowed in detail

Now, I've always made func_water brush entities with no issues.
I've tried texturing the top texture with a "!" (liquid) texture type, and leave all the others as Bevel, Null or the "!" texture as well, but it gives me this error no matter what.
Then if I try to change the other faces as Skip, it compiles fine with no errors but the map in game has no water (can't see the texture nor swim in it), maybe because the Skip texture just gets stripped in game creating no water content, but it's currently the only way I have to compile the map.
But, if I change the top texture to a normal one with no lables, it compiles fine but I don't have the wave effect because there's no "!" texture type on the top face.
This sh*t is driving me nuts.

Am I doing something wrong?

Thanks in advance.
Alberto309 Alberto309weapon_spaghetti
Posted 7 years ago2016-09-09 10:42:17 UTC Post #331607
Does your water entity have zhlt_detaillevel and/or zhlt_clipnodedetaillevel keyvalues?
If so, set both to 0. Those values being > 0 can cause this problem.
Posted 7 years ago2016-09-10 06:24:30 UTC Post #331621
It works!

I've fired up Smart Edit in the func_water entity and both of those values was set to "1".

The main thing is why is this happened? I've always made func_water entities with no issues before. I've never had to set anything to make them work, nor I did edit those values before.

Thanks a lot for the help Solokiller! Much appreciated. :) :hammer:

Now I've made that by default adding these two values in the func_water entity in the FGD:
zhlt_detaillevel(integer) : "Detail level" : 0
zhlt_clipnodedetaillevel(integer) : "Detail level of cliphulls" : 0
So that I can edit the values without entering Smart Edit.

Thank you again! :3
Alberto309 Alberto309weapon_spaghetti
You must be logged in to post a response.