Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Poly reduction - Null & Bevel - A Tutorial for Counter-Strike 1.6

This tutorial adresses what Null and Bevel textures are, and how they can greatly improve the performance of your map.

### _Overview_ In this series of tutorials I will teach you how to optimize your map to have a smallest polygon count possible, in other words to have the best performance possible in-game. In this tutorial in particular, I will tell you what Null and Bevel textures are, teach you where to find them and finally teach you how to use them. ### _Introduction_ What separates a good mapper from a bad one is how great of a map he can create - it's true, but a great mapper must also know how to make his map have the best performance possible, to allow everyone playing it to have a great lag-free experience. That's why I'm creating this tutorial, In this tutorial you will learn about Null and Bevel textures, a great way to reduce the Poly count in your map (In other words make your map run smoother and give players less lag). ### _What are these Null and Bevel textures?_ They are both very special textures in hammer editor, both with a special code to them. As I implied, they are simply called "Null" and "Bevel" in hammer editor. Just like the AAATrigger and CLIP textures, they have a special function to them and cannot be seen in-game, that's why you might have not heard about them, but they are secretly there in most good maps. Now you may be wondering, what do they do? Or what are they used for? Let me tell you. The Null texture when applied to a face, will completely remove this face from the compilation process, meaning when you launch your map, if you created a box and made one of it's faces have the Null texture, then in it's place there will be nothing, you will see right through it. Now what this does, is not only make the Compiling process faster, but it also removes the Polygons of that face from the compiled map. However the solidity of that face is still there, you cannot walk through it even when a Null texture is applied to it. The Bevel texture is the same as the Null texture, but more advanced. It was created later on in Hammers history, and It does the same thing as Null, except it also removes all Solidity from the face as well. This is good at most times, however if used improperly it can lead to errors where the player can slightly walk inside the solid wall or even walk right through it. So let me explain what's really good about these two textures: They can be applied to any solid object in hammer as a texture, and they remove the Polygons from that face as well as the visible texture (and solidity for bevel only). Polygons are what determines whether your map will lag or not. If your map has 200 polygons in all areas, the player will not lag. But if it is incredibly detailed and has 2000 polygons or more in one area, it will lag. That's why these two textures are so great, they can be applied to any solid face in your map, and remove the polygons from that faces completely, reducing the polygon count and in other words making your map run smoother, and compile faster. ### _How do I use these textures?_ It's quite simple really, all you do is apply them to solid faces that will not be seen in counter-strike, like the outer faces of the walls that surround the map or the bottom faces of all the solids that wont be seen, you name it, anything that won't be required in the game or won't be seen, put a Null or Bevel texture on it, It will greatly increase the performance of your map. Just always remember, These textures are see through, if you apply them in the wrong places, like a face that can be seen in your map and without anything behind it, rather than seeing straight through it, they will create the "hall of mirrors" bug, and more, so do not apply these textures to faces that the player will actually see in the map. Also remember that Bevel faces won't have solidity anymore, they are better than Null because of this, they take less time to compile, but they can cause bugs that let the player slightly walk through them, half-way into a wall sometimes, and sometimes even through it. Less experiences mappers should use Null at first. ### _Where can I find these textures?_ These two textures with many other special function textures will always be located in the ZHLT.wad, this .wad will most likely be in your hammer folder already, and if it isn't check your cstrike folder or download this .wad from the internet. If worst goes to worst you can always make the texture yourself, for it is the name of the texture that matters, not what the texture looks like (NULL and BEVEL are specially coded sentences that will make any texture with the names have this special effect). This is what the two textures should originally look like in hammer, although their appearances may change slightly from .wad to .wad: ![](http://archer.gamebanana.com/img/ss/tuts/_283-.jpg "") NULL and BEVEL Credits to: Skals for tutorial creation and Timmycakes for help.
  • Skals avatar
    Skals Joined 11y ago
    Offline
    2,759 points Ranked 21,029th
    9y
    > **Posted by amman** > well i know this maybe a silly question but im a newbie so please tell me that do i have to add the -wadinclude zhlt.wad parameter before compiling? The textures are coded into the game engine, you don't need to include them into your map as they already are in the game and everyone has them by default. :)
    Another one bites De_Dust.
    URL to post:
  • amman avatar
    amman Joined 9y ago
    Offline
    300 points Ranked 61,456th
    9y
    well i know this maybe a silly question but im a newbie so please tell me that do i have to add the -wadinclude zhlt.wad parameter before compiling?
    ^___^ avatar
    Mantra
    ^___^
    URL to post:
  • Skals avatar
    Skals Joined 11y ago
    Offline
    2,759 points Ranked 21,029th
    10y
    No. This has to be done during the map making process, not after. > **Posted by simppe** > **Notes:** > > - So can you do this on any existing textures like on de_nuke? Like this guy has.http://www.gamebanana.com/cs/textures/3093
    Another one bites De_Dust.
    URL to post:
  • simppe avatar
    simppe Joined 10y ago
    Offline
    10y
    **Notes:** - So can you do this on any existing textures like on de_nuke? Like this guy has.http://www.gamebanana.com/cs/textures/3093
    Bananite
    URL to post:
  • Takatalvi avatar
    Takatalvi username pic Joined 10y ago
    I'm not here
    3,616 points Ranked 3,047th
    24 medals 1 legendary 4 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • Received thanks 50 times Medal icon
    • Thanked 50 submitters Medal icon
    • GameBanana’s Christmas Giveaway 2016 Day Ten Winner! Medal icon
    • 6 years a member Medal icon
    • Tutorial Contest Entrant Medal icon
    10y
    Also the SKY texture can work like NULL if you apply it to a face.
    Jed's HLMV is cancer. avatar
    Mantra
    Jed's HLMV is cancer.
    URL to post:
  • Skals avatar
    Skals Joined 11y ago
    Offline
    2,759 points Ranked 21,029th
    10y
    > **Posted by Mariutoo-kun** > well, this will be very useful ahead! tnxs :D +2 No problem!
    Another one bites De_Dust.
    URL to post:
  • well, this will be very useful ahead! tnxs :D +2
    Mapper
    URL to post:
  • Skals avatar
    Skals Joined 11y ago
    Offline
    2,759 points Ranked 21,029th
    10y
    > **Posted by athid** > and where can I find the polycount of a map ? You go into console, and type "r_speeds 1" Then you type "developer 1" to show the console content on top left of your screen. You will see w_poly and e_poly counts there, as well as fps.
    Another one bites De_Dust.
    URL to post:
  • Skals avatar
    Skals Joined 11y ago
    Offline
    2,759 points Ranked 21,029th
    10y
    that's a good point. > **Posted by timmycakes** > good tut, one thing to add is if u do not have these u can just make them urself, the name of the texture is whats important, not the image. so as long as u name it "null" or "bevel" u have these textures (same with clip, sky, origin, aaatrigger, skip, hint, and uhh any other tool textures im missing)
    Another one bites De_Dust.
    URL to post:
  • timmycakes avatar
    timmycakes Joined 13y ago
    Offline
    48,982 points Ranked 91st
    28 medals 2 legendary 5 rare
    • 10 years a member Medal icon
    • Returned 5000 times Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Submitted 15 Mods Medal icon
    10y
    good tut, one thing to add is if u do not have these u can just make them urself, the name of the texture is whats important, not the image. so as long as u name it "null" or "bevel" u have these textures (same with clip, sky, origin, aaatrigger, skip, hint, and uhh any other tool textures im missing)
    Bananite
    URL to post: