No draw Created 19 years ago2005-02-02 19:39:21 UTC by Snpbond Snpbond

Created 19 years ago2005-02-02 19:39:21 UTC by Snpbond Snpbond

Posted 19 years ago2005-02-02 19:39:21 UTC Post #87840
What does a nodraw texture do and when would you use it?

I looked in one of the maps that comes with hammer because I wanted to know how they made the hev suit holder, I have the model but I dont know how to make the door, I saw they had nodraw textures all over it and wondered what they did and how to help me to make this hev suit holder.
Posted 19 years ago2005-02-02 20:51:29 UTC Post #87852
It is an invisible texture that makes your life a lot easier. It allows you to make models be buttons or whatever. When I say models, it would probably be something like the elevator model whitch has a button textured for you when you place it in your map, but it does not do anything. So what you do is place a nodraw box around the button part of the model and make the nodraw box a func_button, so that it appears that the button model does something, but really the nodraw box does the work.
You would also make the parent of the nodraw box to be the elevator.
Posted 19 years ago2005-02-02 20:53:22 UTC Post #87853
Or from the hev suit thing you were talking about, they have the door models parented to a nodraw box (and the nodraw box is a func_door) with the suit on the other side of the door.
Posted 19 years ago2005-02-02 22:55:56 UTC Post #87868
Ok, thanks, so how do I select the glass panels to parent them? Also what should I use? prop_static prop_physics or prop_physics_overide to make the hev suit holder
Posted 19 years ago2005-02-03 00:02:17 UTC Post #87872
It's not an invisible texture, like a real invisible texture, it's a special engine texture that causes the face to be discarded.

prop_static. The panels need to be entities to be parented with anything.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2005-02-03 05:00:39 UTC Post #87891
prop_static cant be parented try a dynamic_overide
Posted 19 years ago2005-02-03 06:07:23 UTC Post #87897
I use the "nodraw" texture on everything. After I've made a brush I apply "nodraw" to it, and only apply other textures to the sides/polys that are visible from inside the map, maybe this is a bit over the top, but that way I'm sure not to have the engine draw poly?s that can't be seen anyway.
Maybe I'm completely off, but isn?t "nodraw" the replacement for the "bevel" texture from older versions of hammer?
Posted 19 years ago2005-02-03 11:20:59 UTC Post #87936
Ok, ill try the dynamic_overide but How do I select the panels without selecting the whole thing? Sorry if thats a n00b question.
Posted 19 years ago2005-02-03 11:21:47 UTC Post #87938
prop_static was referring to his question about the HEV suit holder.

Nodraw is the replacement for the NULL texture I believe.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2005-02-03 16:15:21 UTC Post #87972
OneEye, that is a bit over the top. VIS discards the faces not on the inside of the hull.
Posted 19 years ago2005-02-03 19:27:07 UTC Post #88026
And I still cant select the pannels...
You must be logged in to post a response.