This is archived copy of currently unavailable Nem's Tools website, restored from Web Archive.
Download section now provides links to both Web Archive and to this unofficial Github mirror.
Cliffs II: Texturing Cliffs - NemPosted: Jul 3rd, 2003 - 11:48:43 pm

This tutorial covers some of the basic tools TG provides for texturing your terrain. It is a continuation of the Making Cliffs tutorial and assumes you have a similar terrain to texture.

The terrain we generated in the previous tutorial consists of two basic layers, the cliffs and the paths between the cliffs. This is the perfect setup for the 'Texture Layering Tool'. Let's load it up. From the 'Tools' menu select 'Textures' then 'Set Texture Layers'. Your screen should look like this:

First off we need to set the lower and upper bound for the path layer. For the 'Lower Bound' select something that falls below the 'Min' value, for the 'Upper Bound' select something approximately one third up from the 'Min' value in relation to the 'Max' value. If you're a little confused about what values to use just use something you think will fall around the general range of the height of the path.

Next we need to select what texture we want to use in this layer, since this is the path layer I decided to use a grass texture. To browse through your currently loaded textures press the button with the two dots beside the 'Texture' field. A window will pop up and you can select a texture by double clicking it as shown below:

Next you will need to select a 'Steep Texture' this is the texture that will be used on faces that have a greater incline then that of the 'Steep Angle' i.e. the cliffs. For this I have selected a rock texture. When you are satisfied with the path layer press the 'Add' button. Your screen should look something like:

Next we need to add the cliff layer, for the 'Lower Bound' select the previous layer's 'Upper Bound' and for the 'Upper Bound' use a value greater then the 'Max' value. Once you have the bounds set you need to select a 'Texture' for the layer. For this use the same texture that you used for the previous layer's 'Steep Texture'. Once you are happy with the cliff layer press the 'Add' button to add it to our list of layers. It should all look something like:

Finally press the 'Apply' button to retexture the terrain using your custom texture layers. Your end result should look something like this (if it doesn't you can go back and edit the texture layers you created until you get the desired texturing.):

Now while the 'Layer Texturing Tool' will do most of the texturing for you, you'll still notice that there will be a few quads textured without the correct texture as shown below:

To fix this simply select the 'Paintbrush' tool from the 'Tools' menu and browse to the correct texture using the controls on the left of the form. Once you have the correct texture selected left click and drag your mouse over the terrain you wish to retexture. The end result should look something like:

Now were going to want to increase the scale of the textures to help eliminate that ugly tiling effect. With the 'Paintbrush' tool move your mouse until its selection is over the grass textured quads. Next press 'M' on your keyboard to mark that quad as shown below:

Next head over to the alignment tab on the left and jack the U and V scale up to about 4. This will change the scale of the selected quad as shown below:

This is all very well and good but we want these settings to be applied to all of the grass textured quads. Fortunately for us there is a simple painless way to do this. With the scaled quad still marked select 'Tools' then 'Textures' and finally 'Wrap All From Marked'. Now all the grass textured quads should all be scaled and aligned to the marked quad as shown below:

All that's left now is to repeat this process with the rock textured terrain. When all's said and done your end result should look something like:

Last but not least we're going to export out terrain for use in Hammer. From the 'File'menu select 'Export' then 'Export Options'. This will bring up the 'Terrain Generator Options' form and allow us to customize how the terrain is exported to the .RMF file. Select the below options:

Finally from the 'File' menu select 'Export' and then '.RMF File' and export your terrain to somewhere on your disk (be sure to save it too so you can load it up and edit it later). We are now ready to prepare our terrain for Half-Life. Please continue to the next page.

[ 42321 Views ]

1. omniragePosted: Jul 6th, 2003 - 4:09:39 pm

Nice, finally know how to use the layer feature :)

2. CamboneModified: Jul 12th, 2003 - 9:37:57 pm

Thanks You for this great Application!

3. EdUdEPosted: May 7th, 2004 - 10:35:34 pm

exhausted
is there a way to make it so that there is null textures on the 90 degrees or which ones u cant see for lag reduction?

4. NemPosted: May 8th, 2004 - 11:49:19 am

I'm sure you could use the Texture Layering Tool to accomplish that...

miam

5. NistelrooyPosted: Aug 30th, 2004 - 10:15:00 am

Excellent application!

But i have a question: when i use the raise tool (or
mountain tool), and then create a high textured mountain appears an ugly "texture clamping" effect in the textures. This happens when quads are stretched too much in a high cliffs. So, how can i avoid this? It could be possible to repeat the textures in those quads to eliminate this effect?

6. NemPosted: Aug 30th, 2004 - 10:05:48 pm

There is no automatic system for this; you'd have to manually adjust the texture on each face.

7. sotangModified: Mar 2nd, 2005 - 11:55:07 pm
I have used the "mark" and then U-V up to 4.00. I hit nothing else, and then I go to Tools
->Textures->Wrap All from Marked. I do this and nothing happens. I tried it with the rock wall too, nothing. Is there something else I have to do? I still have the box checked when I'm doing it too. It's just like you showed, but it won't work...exhausted. Lol gettin flustered with this. Oh well, it's an AWESOME program anyway A++++++ good work Nem.

8. NemPosted: Mar 3rd, 2005 - 1:27:34 am
Because of the way the control works in Windows, you can't just type in 4, you have to use the arrows (or type 4 then use the arrows).

9. c0uchm0nsterPosted: Mar 8th, 2005 - 4:56:28 pm
Trying to export to vmf I get:

terrain size not divisible by displacement subdivision size
terrain size should be a multiple of 4, 8 or 16 (and the appropriate displacement power selected)

I've tried subdivision size 2, 3, and 4. Terrain size is 30, 30, 256

X range: 7680
Y range: 7680
Z range: 1838
multiply them is divisible by 4, 8, AND 16

So I've tried every option and still get the error on export - any suggestions? Thanks

10. NemPosted: Mar 8th, 2005 - 5:22:16 pm
Sorry, to clarify, the amount of triangles on each axis should be divisible by 4, 8 or 16 (preferably one of the latter two), not the physical dimensions. For example, 32, 32, and 256 would work for all three.

11. c0uchm0nsterPosted: Mar 8th, 2005 - 5:26:37 pm
ah, thanks - you might want to change that in your tutorial on page 1 of the cliffs stuff, as it suggests 30 30 256
guess i've gotta start over sad

12. NemPosted: Mar 8th, 2005 - 5:43:56 pm
Well, keep in mind that this tutorial was designed for Half-Life, not Half-Life 2. For Half-Life 2 I would suggest something more like 160, 160, 96. This will give you a very large detailed terrain.

13. BTRY B 529th FA BNPosted: Apr 14th, 2005 - 7:30:19 pm
I see under 'Texture Browser' in pic 2 there are a few folders to choose textures under 'WAD Files/terrain' like 'grass' 'dirt' etc etc. I am extremely new at this so I have to ask this question. Where or how do i get texture folders like that? Do i need some sort of .wad viewer to sort through textures and put them into a folder? or.... please help


14. HomerModified: Apr 14th, 2005 - 10:12:39 pm
How do you set the Background image or SKY Image?
I would like to use an outside/myown background if that possable?

By the way this is a great tool.
happy

15. NemPosted: Apr 16th, 2005 - 1:15:04 pm
The texture grouping is done by <wadname>.wdl files located in your ...\Terrain Generator\config\wads folder. These are simple text files that are used to tell Terrain Generator how to group textures, but are not necessary for viewing them.

The background is set in the Options form under the Textures tab. There are six dialogs that allow you to select each of the six faces in your skybox. Terrain Generator expects the textures to be in the standard Half-Life format. They have no effect on the outcome of your terrain.

16. th3 funkPosted: Mar 29th, 2006 - 6:52:22 pm
yelling at my monitor

umm...i dont know if this is needed....do i have to load textues into the browser...when i browse them it shows nothing

yeahbaby

17. GoatFetusPosted: Jun 29th, 2006 - 8:51:12 am
I didnt know where else to put this question, but after i build the terrain in the terrain generator and put it in hammer and test the map, i always get black lines where all of the different displacement surfaces' edges touch. I cant find anywhere how to fix this either. How could I fix this to where the lines aren't there?

18. schoftPosted: Aug 1st, 2006 - 6:02:14 pm
hey how can i add textures to the program. The tools-> Textures feauture is disabled ;/

19. huskyPosted: Jan 14th, 2008 - 12:42:39 am
well i know now how add jpg files but i cant add the wads folder where the tfc.wdl cant load half life.wdl cant load btw if you explain something than explain it correctly. i need now help cant load the textures. why help !alarmed

20. huskyPosted: Jan 14th, 2008 - 1:46:47 am
hellO? i cant find the terrain folder with grass1 grass2 etc -.- plz answer my questions i need that terrain editor .. this editor little complicated shit but its the only editor who save .vmf files i need the textures and you all time telling me that i need load the files in terrain generator/config/wads <-- this cannot load he opne it and the folder is empty he show it me in editor and dunno how add TEXTURES like yours in valve i cant find the textures from hammer editor this is really shit ! -.- please help<---

21. huskyPosted: Jan 14th, 2008 - 1:47:57 am
i can only add some own pictures like .jpg but i need the textures from hammer editor plz !

22. SgtPosted: Mar 26th, 2008 - 12:17:05 pm
When i click on the texture in the menu everything is greyed out so i can't use it. what do I need to do?

23. MBakkePosted: May 2nd, 2008 - 12:40:17 pm
Why is the Textures/Set texture.
By the way, it would be nice to answer these questions..watermelon

24. NemPosted: May 8th, 2008 - 12:41:14 pm
To set your textures:
  • Start a new terrain.
  • Select Options from the Tools menu.
  • Go to the packages tab.
  • Press Add Packages for each .wad you want to load.
  • Press Add Folder for each directory of textures you want to load.

25. FrostyfrogPosted: Jun 14th, 2008 - 8:19:53 pm
Nem:
To set your textures:
  • Start a new terrain.
  • Select Options from the Tools menu.
  • Go to the packages tab.
  • Press Add Packages for each .wad you want to load.
  • Press Add Folder for each directory of textures you want to load.
I have a question... is it possible to load vtf files? I'm thinking of using this with the HL2 ep2 engine, but I can't visually see what it looks like becuase this program dislikes vmt files and only want wad files. sad

26. lilryry2121Posted: Feb 22nd, 2010 - 6:52:36 am
Ok, i have imported a large (5000sX5000s) sattelite image as a texture, how (once imported) to I use the alignment tools ont his for they are disabled and i need to correct the location of the texture. This image is a JPG if it helps.

Thanks! Ryan

27. LeBugsBunnyPosted: Jan 30th, 2020 - 5:31:46 am
Hi, why is my set texture layout greyed out?

Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.07963s; Queries: 14.