Invisible Barriers Created 2 months ago2024-02-20 13:12:16 UTC by Names are for unlosers Names are for unlosers

Created 2 months ago2024-02-20 13:12:16 UTC by Names are for unlosers Names are for unlosers

Posted 2 months ago2024-02-20 13:12:16 UTC Post #348592
Hey, this is my first post here. Hi. uh lets just start
So, I'm trying to make my first map, which starts with you outside briefly before going into black mesa or something. But it was weird to just spawn in a random place with no apparent entrance, so I'm making a hole in one of the cliffs that seems to have collapsed after you went through it, with the skybox visible through the rocks. Thing is, there's holes in the rocks. So, I'm trying to make an invisible wall because otherwise you can crawl through into the skybox which is for some reason made of water???

"Aha, I can use the invisible texture! That'll work!"
Turns out the invisible texture turns black when you try playing it. :tired:
So, could someone tell me how to make invisible walls? I tried searching around the internet but closest I found was a wall you can walk through...
User posted image
Posted 2 months ago2024-02-20 14:09:57 UTC Post #348593
Hi and welcome!

First of all it sounds like you're using very old compile tools (as it doesn't automatically add CLIP to the sky), I highly recommending switching to Vluzacn's ZHLT v34.

Secondly to make invisible walls and such it's better to use CLIP texture. It creates a collision mesh in the shape of the brush it's applied to.

As for the reason why the {invisible texture didn't turn invisible, it's because the brush covered in it must be tied to a solid entity such as func_wall with the render mode set to Solid (this render mode removes the masking colour from {-prefixed textures, most of the time this is the blue colour). In most cases it's better to use NULL texture instead (removes the face completely).
You must be logged in to post a response.