Constructable Ladder... problem.


(Binky) #1

First off I want to thank everyone here for the endless amounts of help they have been able to provide, as I wouldn’t have been able to come this far without it.

My current problem is that of a constructable ladder, and its functionality. I have it working to the point where the proper things are hidden and shown (ladder brushes, construction crates) but the ladder doesn’t work. I do have a brush with the Ladder texture (from the common textures), but if I include it in the func_constructable when the ladder is built, it dosen’t work. If I have it on it’s own, that enables the player to climb up thin air, so to stop this I tried adding to the script…

setstate ladder_ability invisible //when ladder is destroyed
and
setstate ladder_ability default //when ladder is built

But this doen’t work, leaving the player with the ability to scale thin air no matter what state the constructable ladder is.

So my question is this… is someone able to explain to me how the brushes have to be set-up (eg. grouped) to have this work? Or perhaps I was mistaken with my scripting?


(nUllSkillZ) #2

You have to make a brush in front of the ladder and you have to texture this brush with the ladder texture.
Then you have to choose all the brushes that you want to be a constructible and make them to a “func_constructible”-entity.


(Binky) #3

thanks Null,

I found my problem to be that my clip brush had been over lapping my ladder brush, meaning that the player could never actually touch the ladder brush. Sorry about posting over such a silly mistake… but chalk it up to still being a maping newbie.
Good mapping everyone!