Null...WHAT NULL?? Created 19 years ago2004-05-04 12:41:57 UTC by Warrior Warrior

Created 19 years ago2004-05-04 12:41:57 UTC by Warrior Warrior

Posted 19 years ago2004-05-04 12:41:57 UTC Post #25424
What does that "NULL" mean??
I know that it means something like "nothing" but what is null texture or anything referring to "NULL"?? :
Posted 19 years ago2004-05-04 12:48:05 UTC Post #25426
Faces textured with the 'null' texture are not rendered in-game.
Null: a value indicating that a variable contains no valid data. Null is the result of: An explicit assignment of Null to a variable. Any operation between expressions that contain Null.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-05-04 13:28:32 UTC Post #25431
Just put it were the player can never see and save some polys. There lots of tutorials on using the 'null' texture in half-life.
Posted 19 years ago2004-05-04 16:57:53 UTC Post #25474
Yeah, like for the outside of levels that you need noclip on to get to.
m0p m0pIllogical.
Posted 19 years ago2004-05-04 17:44:25 UTC Post #25490
Can you also make one way glass with the null texture?
Posted 19 years ago2004-05-04 18:06:12 UTC Post #25492
I dont think so. I think whenever you use NULL, it makes the face that was deleted a full SKY texture. It may look a bit odd.
Posted 19 years ago2004-05-05 01:31:05 UTC Post #25520
I don't know if {blue is null texture but I made one way glass with it
Posted 19 years ago2004-05-05 01:40:47 UTC Post #25525
The {blue-texture is not a null-texture. Obviously. The null-texture is called 'null', where the {blue-texture is called '{blue'.

Faces with the null-texture are not drawn, but still are solid. You can easily create a HOM-effect when you apply the null-texture to a wall, but that doesn't create a leak.

I use the null-texture to decrease the amount of polygons in a compile. Some faces will never be seen by the player and so don't have to be compiled. In such cases I use the null-texture. But it can be handy in other cases too.
Posted 19 years ago2004-05-05 08:30:40 UTC Post #25575
Also, making all sides non-seeable by players NULL, isnt always helping. Most faces are usually deleted when they are compiled (like the ground pieces and such like that). The only thing NULL is nessecery for, is deleting faces that the player cant see, but are not being obstructed - so arnt deleted by the editor.

(And {blue will turn up black ingame if you dont tie it to an solid entity, with a 255 render proportion)
You must be logged in to post a response.